Bug#841600: pyfai: FTBFS: Tests failures

Lucas Nussbaum lucas at debian.org
Fri Oct 21 13:23:21 UTC 2016


Source: pyfai
Version: 0.12.0+dfsg-5
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161021 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>   File "/<<BUILDDIR>>/pyfai-0.12.0+dfsg/.pybuild/pythonX.Y-dbg_3.5/build/pyFAI/__init__.py", line 48, in <module>
>     from .detectors import Detector
>   File "/<<BUILDDIR>>/pyfai-0.12.0+dfsg/.pybuild/pythonX.Y-dbg_3.5/build/pyFAI/detectors.py", line 41, in <module>
>     from . import io
>   File "/<<BUILDDIR>>/pyfai-0.12.0+dfsg/.pybuild/pythonX.Y-dbg_3.5/build/pyFAI/io.py", line 60, in <module>
>     from .utils import StringTypes
>   File "/<<BUILDDIR>>/pyfai-0.12.0+dfsg/.pybuild/pythonX.Y-dbg_3.5/build/pyFAI/utils.py", line 51, in <module>
>     from scipy import ndimage
>   File "/usr/lib/python3/dist-packages/scipy/ndimage/__init__.py", line 161, in <module>
>     from .filters import *
>   File "/usr/lib/python3/dist-packages/scipy/ndimage/filters.py", line 36, in <module>
>     from . import _nd_image
> ImportError: cannot import name '_nd_image'
> E: pybuild pybuild:276: test: plugin custom failed with: exit code=1: PYTHONPATH=/<<BUILDDIR>>/pyfai-0.12.0+dfsg/.pybuild/pythonX.Y-dbg_3.5/build PYFAI_TESTIMAGES=testimages PYFAI_DATA=/<<BUILDDIR>>/pyfai-0.12.0+dfsg python3.5-dbg ./run_tests.py
> dh_auto_test: pybuild --test -i python{version}-dbg -p 3.5 returned exit code 13
> debian/rules:20: recipe for target 'override_dh_auto_test' failed

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:
   http://aws-logs.debian.net/2016/10/21/pyfai_0.12.0+dfsg-5_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list