[Python-modules-team] Bug#1002185: python-pex: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Dec 21 16:00:22 GMT 2021


Source: python-pex
Version: 1.1.14-3.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

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,sphinxdoc --buildsystem=pybuild
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> dh_auto_configure: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> 	pybuild --configure -i python{version} -p "3.10 3.9"
> I: pybuild base:237: python3.10 setup.py config 
> running config
> I: pybuild base:237: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> 	pybuild --build -i python{version} -p "3.10 3.9"
> I: pybuild base:237: /usr/bin/python3.10 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/iterator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/package.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/pex.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/installer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/pex_builder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/platforms.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/resolver.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/interpreter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/resolver_options.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/http.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/sorter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/orderedset.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/variables.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/translator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/environment.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/archiver.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/pep425.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/pex_bootstrapper.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/fetcher.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/crawler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/compiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/compatibility.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/tracer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/requirements.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/resolvable.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/link.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/testing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/executor.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/finders.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> copying pex/pex_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex/bin
> copying pex/bin/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex/bin
> copying pex/bin/pex.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex/bin
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex/commands
> copying pex/commands/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex/commands
> copying pex/commands/bdist_pex.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex/commands
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/iterator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/package.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/pex.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/installer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/pex_builder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/platforms.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/resolver.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/util.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/interpreter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/resolver_options.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/http.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/sorter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/orderedset.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/variables.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/translator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/environment.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/archiver.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/pep425.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/pex_bootstrapper.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/fetcher.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/crawler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/compiler.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/compatibility.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/tracer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/requirements.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/resolvable.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/link.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/testing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/executor.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/finders.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> copying pex/pex_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex/bin
> copying pex/bin/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex/bin
> copying pex/bin/pex.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex/bin
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex/commands
> copying pex/commands/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex/commands
> copying pex/commands/bdist_pex.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build/pex/commands
>    dh_auto_test -O--buildsystem=pybuild
> dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> 	pybuild --test -i python{version} -p "3.10 3.9"
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build; python3.10 -m unittest discover -v 
> pex.testing (unittest.loader._FailedTest) ... ERROR
> 
> ======================================================================
> ERROR: pex.testing (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: pex.testing
> Traceback (most recent call last):
>   File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex/testing.py", line 13, in <module>
>     from .bin.pex import log, main
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex/bin/pex.py", line 19, in <module>
>     from pex.base import maybe_requirement
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build/pex/base.py", line 6, in <module>
>     from collections import Iterable
> ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pex/build; python3.10 -m unittest discover -v 
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pex/build; python3.9 -m unittest discover -v 
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
> 
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.9" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/python-pex_1.1.14-3.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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Python-modules-team mailing list