-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FBFS: As python-h5py-dbg is missing in deb8, the automatic test during packaging fails. #40
Comments
I backported h5py 2.6 for debian8: it provides a dbg package and allows tests while packaging. |
It should be closed by #57 |
Even if h5py and by the way PyQt and matplotlib are not install dependencies of the setup.py, I would keep them as dependencies of the debian package, so that when silx is installed on debian, it is full featured, as opposed to installation through setup.py and pip. Reopen for discussion and if OK to keep in mind to update debian packaging dbg package. |
One needs a back-ported package to make the packaging -> won't fix. |
This cannot go through in Debian as it would be considered "FBFS" (failed to build from scratch)
WARNING:run_tests:Patched sys.path, added: '/home/kieffer/workspace/silx/package/silx-0.0.1a3/.pybuild/pythonX.Y-dbg_2.7/build'
WARNING:run_tests:Test silx 0.0.1-dev3 from /home/kieffer/workspace/silx/package/silx-0.0.1a3/.pybuild/pythonX.Y-dbg_2.7/build/silx
INFO:run_tests:Import silx.test
WARNING:silx.io.test.test_specfile:de_DE.utf8 locale not installed on your system. An important i18n test will be skipped.
Traceback (most recent call last):
File "run_tests.py", line 296, in
test_module = importlib.import_module(test_module_name)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/kieffer/workspace/silx/package/silx-0.0.1a3/.pybuild/pythonX.Y-dbg_2.7/build/silx/test/init.py", line 46, in
from ..io.test import suite as test_io_suite
File "/home/kieffer/workspace/silx/package/silx-0.0.1a3/.pybuild/pythonX.Y-dbg_2.7/build/silx/io/test/init.py", line 32, in
from .test_dicttoh5 import suite as test_dicttoh5_suite
File "/home/kieffer/workspace/silx/package/silx-0.0.1a3/.pybuild/pythonX.Y-dbg_2.7/build/silx/io/test/test_dicttoh5.py", line 30, in
import h5py
File "/usr/lib/python2.7/dist-packages/h5py/init.py", line 13, in
from . import _errors
ImportError: /usr/lib/python2.7/dist-packages/h5py/_errors.x86_64-linux-gnu.so: undefined symbol: Py_InitModule4_64
[92317 refs]
E: pybuild pybuild:256: test: plugin custom failed with: exit code=1: env PYTHONPATH=/home/kieffer/workspace/silx/package/silx-0.0.1a3/.pybuild/pythonX.Y-dbg_2.7/build python2.7-dbg run_tests.py -i
dh_auto_test: pybuild --test -i python{version}-dbg -p 2.7 -s custom --test-args=env PYTHONPATH={build_dir} {interpreter} run_tests.py -i --dir . returned exit code 13
debian/rules:34: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 13
make[1]: Leaving directory '/home/kieffer/workspace/silx/package/silx-0.0.1a3'
debian/rules:13: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build failed, please investigate ...
The text was updated successfully, but these errors were encountered: