Source: conda-package-handling Version: 1.6.0-2 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200620 ftbfs-bullseye
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 > 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 > /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) > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:217: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling > copying src/conda_package_handling/interface.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling > copying src/conda_package_handling/validate.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling > copying src/conda_package_handling/cli.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling > copying src/conda_package_handling/api.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling > copying src/conda_package_handling/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling > copying src/conda_package_handling/__main__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling > copying src/conda_package_handling/tarball.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling > copying src/conda_package_handling/_version.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling > copying src/conda_package_handling/exceptions.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling > copying src/conda_package_handling/conda_fmt.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling > copying src/conda_package_handling/archive_utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling > copying src/conda_package_handling/utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling > UPDATING > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling/_version.py > set > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling/_version.py > to '1.6.0' > running build_ext > building 'conda_package_handling.archive_utils_cy' extension > creating build > creating build/temp.linux-x86_64-3.8 > creating build/temp.linux-x86_64-3.8/src > creating build/temp.linux-x86_64-3.8/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 > -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.8 -c > src/conda_package_handling/archive_utils_cy.c -o > build/temp.linux-x86_64-3.8/src/conda_package_handling/archive_utils_cy.o > In file included from src/conda_package_handling/archive_utils_cy.c:617: > src/conda_package_handling/archive_utils_c.c: In function ‘extract_file_c’: > src/conda_package_handling/archive_utils_c.c:145:16: warning: returning ‘void > *’ from a function with return type ‘int’ makes integer from pointer without > a cast [-Wint-conversion] > 145 | return NULL; > | ^~~~ > x86_64-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-x86_64-3.8/src/conda_package_handling/archive_utils_cy.o > -larchive -o > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/conda_package_handling/archive_utils_cy.cpython-38-x86_64-linux-gnu.so > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; > python3.8 -m pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.8.3, pytest-4.6.11, py-1.8.1, 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.8/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.8/build/junit.xml - > ========================== slowest 20 test durations > =========================== > 0.55s call > .pybuild/cpython3_3.8/build/tests/test_api.py::test_api_transmute_tarball_to_conda_v2 > 0.09s setup > .pybuild/cpython3_3.8/build/tests/test_api.py::test_api_extract_tarball_implicit_path > 0.06s call > .pybuild/cpython3_3.8/build/tests/test_api.py::test_api_transmute_conda_v2_to_tarball > 0.04s call > .pybuild/cpython3_3.8/build/tests/test_api.py::test_api_extract_tarball_with_libarchive_import_error > 0.02s call > .pybuild/cpython3_3.8/build/tests/test_api.py::test_api_extract_tarball_implicit_path > 0.02s call > .pybuild/cpython3_3.8/build/tests/test_api.py::test_api_extract_tarball_explicit_path > 0.01s call > .pybuild/cpython3_3.8/build/tests/test_api.py::test_api_extract_conda_v2_explicit_path_prefix > 0.01s call > .pybuild/cpython3_3.8/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.91 seconds > ====================== > E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; python3.8 -m pytest tests > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 > returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2020/06/20/conda-package-handling_1.6.0-2_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.