[Debian-med-packaging] Bug#1002236: conda-package-handling: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Dec 21 16:31:33 GMT 2021


Source: conda-package-handling
Version: 1.7.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 binary
> dh binary --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:237: python3.9 setup.py config 
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /<<PKGBUILDDIR>>/src/conda_package_handling/archive_utils_cy.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> Compiling src/conda_package_handling/archive_utils_cy.pyx because it changed.
> [1/1] Cythonizing src/conda_package_handling/archive_utils_cy.pyx
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling
> copying src/conda_package_handling/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling
> copying src/conda_package_handling/archive_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling
> copying src/conda_package_handling/tarball.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling
> copying src/conda_package_handling/cli.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling
> copying src/conda_package_handling/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling
> copying src/conda_package_handling/api.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling
> copying src/conda_package_handling/interface.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling
> copying src/conda_package_handling/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling
> copying src/conda_package_handling/conda_fmt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling
> copying src/conda_package_handling/validate.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling
> copying src/conda_package_handling/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling
> copying src/conda_package_handling/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling
> UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling/_version.py
> set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling/_version.py to '1.7.3'
> running build_ext
> building 'conda_package_handling.archive_utils_cy' extension
> creating build
> creating build/temp.linux-x86_64-3.9
> creating build/temp.linux-x86_64-3.9/src
> creating build/temp.linux-x86_64-3.9/src/conda_package_handling
> x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc/conda_package_handling -I/usr/include/python3.9 -c src/conda_package_handling/archive_utils_cy.c -o build/temp.linux-x86_64-3.9/src/conda_package_handling/archive_utils_cy.o
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.9/src/conda_package_handling/archive_utils_cy.o -larchive -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/conda_package_handling/archive_utils_cy.cpython-39-x86_64-linux-gnu.so
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: mock-3.6.1
> collected 0 items / 2 errors
> 
> ==================================== ERRORS ====================================
> ________ ERROR collecting .pybuild/cpython3_3.9/build/tests/test_api.py ________
> ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/test_api.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.9/importlib/__init__.py:127: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_api.py:9: in <module>
>     from conda_package_handling import api
> conda_package_handling/api.py:6: in <module>
>     from six import string_types as _string_types
> E   ModuleNotFoundError: No module named 'six'
> _______ ERROR collecting .pybuild/cpython3_3.9/build/tests/test_utils.py _______
> ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/test_utils.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.9/importlib/__init__.py:127: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_utils.py:7: in <module>
>     from conda_package_handling import utils
> conda_package_handling/utils.py:19: in <module>
>     from six import string_types
> E   ModuleNotFoundError: No module named 'six'
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1183
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1183: PytestDeprecationWarning: The --strict option is deprecated, use --strict-markers instead.
>     self.issue_config_time_warning(
> 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1233
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1233: PytestConfigWarning: Unknown config option: env
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> - generated xml file: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/junit.xml -
> =========================== short test summary info ============================
> ERROR tests/test_api.py
> ERROR tests/test_utils.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
> ======================== 2 warnings, 2 errors in 0.10s =========================
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/conda-package-handling_1.7.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 Debian-med-packaging mailing list