Bug#951957: reprounzip: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.8 3.7" returned exit code 13
Lucas Nussbaum
lucas at debian.org
Sun Feb 23 06:48:52 GMT 2020
Source: reprounzip
Version: 1.0.10-1
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:217: python3.8 setup.py config
> running config
> I: pybuild base:217: python3.7 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3.8 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip
> copying reprounzip/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip
> copying reprounzip/parameters.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip
> copying reprounzip/pack_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip
> copying reprounzip/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip
> copying reprounzip/main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip
> copying reprounzip/signals.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip
> copying reprounzip/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip
> copying reprounzip/orderedset.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip/unpackers
> copying reprounzip/unpackers/default.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip/unpackers
> copying reprounzip/unpackers/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip/unpackers
> copying reprounzip/unpackers/graph.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip/unpackers
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip/unpackers/common
> copying reprounzip/unpackers/common/x11.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip/unpackers/common
> copying reprounzip/unpackers/common/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip/unpackers/common
> copying reprounzip/unpackers/common/misc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip/unpackers/common
> copying reprounzip/unpackers/common/packages.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip/unpackers/common
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip/plugins
> copying reprounzip/plugins/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip/plugins
> I: pybuild base:217: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip
> copying reprounzip/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip
> copying reprounzip/parameters.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip
> copying reprounzip/pack_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip
> copying reprounzip/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip
> copying reprounzip/main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip
> copying reprounzip/signals.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip
> copying reprounzip/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip
> copying reprounzip/orderedset.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip/unpackers
> copying reprounzip/unpackers/default.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip/unpackers
> copying reprounzip/unpackers/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip/unpackers
> copying reprounzip/unpackers/graph.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip/unpackers
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip/unpackers/common
> copying reprounzip/unpackers/common/x11.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip/unpackers/common
> copying reprounzip/unpackers/common/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip/unpackers/common
> copying reprounzip/unpackers/common/misc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip/unpackers/common
> copying reprounzip/unpackers/common/packages.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip/unpackers/common
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip/plugins
> copying reprounzip/plugins/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_reprounzip/build/reprounzip/plugins
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build; python3.8 -m unittest discover -v
> reprounzip.unpackers.common (unittest.loader._FailedTest) ... ERROR
>
> ======================================================================
> ERROR: reprounzip.unpackers.common (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: reprounzip.unpackers.common
> Traceback (most recent call last):
> File "/usr/lib/python3.8/unittest/loader.py", line 470, in _find_test_path
> package = self._get_module_from_name(name)
> File "/usr/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip/unpackers/common/__init__.py", line 22, in <module>
> from reprounzip.unpackers.common.packages import THIS_DISTRIBUTION, \
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build/reprounzip/unpackers/common/packages.py", line 18, in <module>
> THIS_DISTRIBUTION = platform.linux_distribution()[0].lower()
> AttributeError: module 'platform' has no attribute 'linux_distribution'
>
>
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
>
> FAILED (errors=1)
> E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_reprounzip/build; python3.8 -m unittest discover -v
> dh_auto_test: error: pybuild --test -i python{version} -p "3.8 3.7" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2020/02/22/reprounzip_1.0.10-1_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