Skip to content
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

Closed
kif opened this issue Apr 8, 2016 · 4 comments
Labels

Comments

@kif
Copy link
Member

kif commented Apr 8, 2016

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 ...

@kif
Copy link
Member Author

kif commented Apr 11, 2016

I backported h5py 2.6 for debian8: it provides a dbg package and allows tests while packaging.
one needs to ensure a new version of h5py is available on build computer (which can be the case at ESRF)

@vasole
Copy link
Member

vasole commented May 9, 2016

It should be closed by #57

@vasole vasole closed this as completed May 9, 2016
@t20100
Copy link
Member

t20100 commented May 10, 2016

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.

@t20100 t20100 reopened this May 10, 2016
@vasole vasole added this to the 0.2 milestone Jun 15, 2016
@vasole vasole removed this from the 0.2 milestone Jul 6, 2016
@vasole vasole added the wontfix label Sep 28, 2016
@vasole
Copy link
Member

vasole commented Sep 28, 2016

One needs a back-ported package to make the packaging -> won't fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants