[Debian-astro-maintainers] Bug#1020115: reproject: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sun Sep 18 07:40:24 BST 2022


Source: reproject
Version: 0.9-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220917 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 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.10 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
>   warnings.warn(msg, warning_class)
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
>   warnings.warn(msg, warning_class)
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject
> copying reproject/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject
> copying reproject/array_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject
> copying reproject/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject
> copying reproject/wcs_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject
> copying reproject/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject
> copying reproject/_astropy_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject
> copying reproject/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/adaptive
> copying reproject/adaptive/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/adaptive
> copying reproject/adaptive/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/adaptive
> copying reproject/adaptive/high_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/adaptive
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/healpix
> copying reproject/healpix/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/healpix
> copying reproject/healpix/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/healpix
> copying reproject/healpix/high_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/healpix
> copying reproject/healpix/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/healpix
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect
> copying reproject/spherical_intersect/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect
> copying reproject/spherical_intersect/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect
> copying reproject/spherical_intersect/overlap.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect
> copying reproject/spherical_intersect/high_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect
> copying reproject/spherical_intersect/setup_package.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking
> copying reproject/mosaicking/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking
> copying reproject/mosaicking/subset_array.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking
> copying reproject/mosaicking/coadd.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking
> copying reproject/mosaicking/background.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking
> copying reproject/mosaicking/wcs_helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/interpolation
> copying reproject/interpolation/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/interpolation
> copying reproject/interpolation/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/interpolation
> copying reproject/interpolation/high_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/interpolation
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests
> copying reproject/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests
> copying reproject/tests/test_high_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests
> copying reproject/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests
> copying reproject/tests/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/adaptive/tests
> copying reproject/adaptive/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/adaptive/tests
> copying reproject/adaptive/tests/test_core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/adaptive/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/healpix/tests
> copying reproject/healpix/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/healpix/tests
> copying reproject/healpix/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/healpix/tests
> copying reproject/healpix/tests/test_healpix.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/healpix/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect/tests
> copying reproject/spherical_intersect/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect/tests
> copying reproject/spherical_intersect/tests/test_high_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect/tests
> copying reproject/spherical_intersect/tests/test_overlap.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect/tests
> copying reproject/spherical_intersect/tests/test_reproject.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking/tests
> copying reproject/mosaicking/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking/tests
> copying reproject/mosaicking/tests/test_subset_array.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking/tests
> copying reproject/mosaicking/tests/test_wcs_helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking/tests
> copying reproject/mosaicking/tests/test_coadd.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking/tests
> copying reproject/mosaicking/tests/test_background.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/interpolation/tests
> copying reproject/interpolation/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/interpolation/tests
> copying reproject/interpolation/tests/test_core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/interpolation/tests
> copying reproject/spherical_intersect/overlapArea.h -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect
> copying reproject/spherical_intersect/reproject_slice_c.h -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect
> copying reproject/spherical_intersect/mNaN.h -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests/data
> copying reproject/tests/data/secchi_l0_a.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests/data
> copying reproject/tests/data/gc_eq.hdr -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests/data
> copying reproject/tests/data/aia_171_level1.asdf -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests/data
> copying reproject/tests/data/gc_ga.hdr -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests/data
> copying reproject/tests/data/secchi_l0_b.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests/data
> copying reproject/tests/data/mwpan2_RGB_3600.hdr -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests/data
> copying reproject/tests/data/galactic_2d.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests/data
> copying reproject/tests/data/aia_171_level1.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests/data
> copying reproject/tests/data/equatorial_3d.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests/data
> copying reproject/tests/data/cube.hdr -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/tests/data
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/adaptive/tests/reference
> copying reproject/adaptive/tests/reference/test_reproject_adaptive_2d.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/adaptive/tests/reference
> copying reproject/adaptive/tests/reference/test_reproject_adaptive_uncentered_jacobian.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/adaptive/tests/reference
> copying reproject/adaptive/tests/reference/test_reproject_adaptive_2d_rotated.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/adaptive/tests/reference
> copying reproject/adaptive/tests/reference/test_reproject_adaptive_roundtrip.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/adaptive/tests/reference
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/healpix/tests/data
> copying reproject/healpix/tests/data/bayestar.fits.gz -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/healpix/tests/data
> copying reproject/healpix/tests/data/reference_result.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/healpix/tests/data
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking/tests/reference
> copying reproject/mosaicking/tests/reference/test_coadd_solar_map.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/mosaicking/tests/reference
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/interpolation/tests/reference
> copying reproject/interpolation/tests/reference/test_reproject_celestial_3d_equ2gal.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/interpolation/tests/reference
> copying reproject/interpolation/tests/reference/test_reproject_roundtrip.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/interpolation/tests/reference
> copying reproject/interpolation/tests/reference/test_reproject_celestial_2d_gal2equ.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/interpolation/tests/reference
> copying reproject/interpolation/tests/reference/test_small_cutout.fits -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build/reproject/interpolation/tests/reference
> running build_ext
> cythoning reproject/spherical_intersect/_overlap.pyx to reproject/spherical_intersect/_overlap.c
> INFO: Disabling color, you really want to install colorlog.
> Disabling color, you really want to install colorlog.
> /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>>/reproject/spherical_intersect/_overlap.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
> /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>>/reproject/adaptive/deforest.pyx
>   tree = Parsing.p_module(s, pxd, full_module_name)
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build; python3.10 -m pytest 
> ============================= test session starts ==============================
> platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack
> Running tests in .pybuild/cpython3_3.10_reproject/build.
> 
> Date: 2022-09-17T19:49:32
> 
> Platform: Linux-5.10.0-9-cloud-amd64-x86_64-with-glibc2.34
> 
> Executable: /usr/bin/python3.10
> 
> Full Python Version: 
> 3.10.7 (main, Sep  8 2022, 14:34:29) [GCC 12.2.0]
> 
> encodings: sys: utf-8, locale: UTF-8, filesystem: utf-8
> byteorder: little
> float info: dig: 15, mant_dig: 15
> 
> Package versions: 
> Numpy: 1.21.5
> Scipy: 1.8.1
> Matplotlib: not available
> h5py: not available
> Pandas: not available
> 
> Using Astropy options: remote_data: none.
> 
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: astropy-header-0.2.2, mock-3.8.2, hypothesis-6.36.0, filter-subpackage-0.1.1, arraydiff-0.5.0, astropy-0.10.0, doctestplus-0.12.0, openfiles-0.5.0, cov-3.0.0, remotedata-0.3.3
> collected 970 items / 1 error
> 
> ==================================== ERRORS ====================================
> _ ERROR collecting .pybuild/cpython3_3.10_reproject/build/reproject/spherical_intersect/setup_package.py _
> reproject/spherical_intersect/setup_package.py:2: in <module>
>     from setuptools import Extension
> /usr/lib/python3/dist-packages/setuptools/__init__.py:8: in <module>
>     import _distutils_hack.override  # noqa: F401
> /usr/lib/python3/dist-packages/_distutils_hack/override.py:1: in <module>
>     __import__('_distutils_hack').do_override()
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:76: in do_override
>     warn_distutils_present()
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:18: in warn_distutils_present
>     warnings.warn(
> E   UserWarning: Distutils was imported before Setuptools, but importing Setuptools also replaces the `distutils` module in `sys.modules`. This may lead to undesirable behaviors or errors. To avoid these issues, avoid using distutils directly, ensure that setuptools is installed in the traditional way (e.g. not an editable install), and/or make sure that setuptools is always imported before distutils.
> =========================== short test summary info ============================
> ERROR reproject/spherical_intersect/setup_package.py - UserWarning: Distutils...
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.71s ===============================
> E: pybuild pybuild:379: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_reproject/build; python3.10 -m pytest 
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/reproject_0.9-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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-astro-maintainers mailing list