[Debian-med-packaging] Bug#976506: conda-package-handling: FTBFS on arm64: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13
Lucas Nussbaum
lucas at debian.org
Sat Dec 5 12:44:09 GMT 2020
Source: conda-package-handling
Version: 1.7.2-1
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).
Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
>
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package conda-package-handling
> dpkg-buildpackage: info: source version 1.7.2-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Nilesh Patra <npatra974 at gmail.com>
> dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture arm64
> debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
> dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:232: python3.9 setup.py clean
> /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 clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build' (and everything under it)
> 'build/bdist.linux-arm64' does not exist -- can't clean it
> 'build/scripts-3.9' does not exist -- can't clean it
> dh_autoreconf_clean -O--buildsystem=pybuild
> dh_clean -O--buildsystem=pybuild
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building conda-package-handling using existing ./conda-package-handling_1.7.2.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building conda-package-handling in conda-package-handling_1.7.2-1.debian.tar.xz
> dpkg-source: info: building conda-package-handling in conda-package-handling_1.7.2-1.dsc
> 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:232: 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:232: /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/tarball.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
> copying src/conda_package_handling/api.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/__init__.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/cli.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/interface.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/validate.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
> 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.2'
> running build_ext
> building 'conda_package_handling.archive_utils_cy' extension
> creating build
> creating build/temp.linux-arm64-3.9
> creating build/temp.linux-arm64-3.9/src
> creating build/temp.linux-arm64-3.9/src/conda_package_handling
> aarch64-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 -fdebug-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-arm64-3.9/src/conda_package_handling/archive_utils_cy.o
> aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-arm64-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-aarch64-linux-gnu.so
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.9.1rc1, pytest-4.6.11, py-1.9.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg
> plugins: mock-1.10.4
> collected 22 items
>
> tests/test_api.py ..............F. [ 72%]
> tests/test_utils.py ...... [100%]
>
> =================================== FAILURES ===================================
> ___________________ test_secure_refusal_to_extract_abs_paths ___________________
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/test_api.py", line 193, in test_secure_refusal_to_extract_abs_paths
> api.extract('pinkie.tar.bz2')
> File "/usr/lib/python3/dist-packages/_pytest/python_api.py", line 736, in __exit__
> fail(self.message)
> File "/usr/lib/python3/dist-packages/_pytest/outcomes.py", line 119, in fail
> raise Failed(msg=msg, pytrace=pytrace)
> Failed: DID NOT RAISE <class 'conda_package_handling.exceptions.InvalidArchiveError'>
> - generated xml file: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/junit.xml -
> ========================== slowest 20 test durations ===========================
> 0.43s call .pybuild/cpython3_3.9/build/tests/test_api.py::test_api_transmute_tarball_to_conda_v2
> 0.07s call .pybuild/cpython3_3.9/build/tests/test_api.py::test_api_transmute_conda_v2_to_tarball
> 0.04s call .pybuild/cpython3_3.9/build/tests/test_api.py::test_api_extract_tarball_with_libarchive_import_error
> 0.02s call .pybuild/cpython3_3.9/build/tests/test_api.py::test_api_extract_tarball_implicit_path
> 0.02s call .pybuild/cpython3_3.9/build/tests/test_api.py::test_api_extract_tarball_explicit_path
> 0.02s setup .pybuild/cpython3_3.9/build/tests/test_api.py::test_api_extract_tarball_with_libarchive_import_error
> 0.01s call .pybuild/cpython3_3.9/build/tests/test_api.py::test_api_extract_conda_v2_explicit_path_prefix
> 0.01s call .pybuild/cpython3_3.9/build/tests/test_api.py::test_api_extract_conda_v2_implicit_path
>
> (0.00 durations hidden. Use -vv to show these durations.)
> ===================== 1 failed, 21 passed in 0.75 seconds ======================
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: 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/2020/12/05/conda-package-handling_1.7.2-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 me
so that we can identify if something relevant changed in the meantime.
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-med-packaging
mailing list