[Debian-astro-maintainers] Bug#1120231: astropy-healpix: FTBFS: __main__.py: error: unrecognized arguments: --doctest-rst

Santiago Vila sanvila at debian.org
Thu Nov 6 11:58:26 GMT 2025


Package: src:astropy-healpix
Version: 1.1.2-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202511/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:astropy-healpix, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
    section = defn.get("tool", {})[tool_name]
              ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
py3versions: no X-Python3-Version in control file, using supported versions
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
    section = defn.get("tool", {})[tool_name]
              ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
    section = defn.get("tool", {})[tool_name]
              ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: BSD License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix
copying astropy_healpix/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix
copying astropy_healpix/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix
copying astropy_healpix/bench.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix
copying astropy_healpix/core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix
copying astropy_healpix/high_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix
copying astropy_healpix/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix
copying astropy_healpix/healpy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix
copying astropy_healpix/setup_package.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix
copying astropy_healpix/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix/tests
copying astropy_healpix/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix/tests
copying astropy_healpix/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix/tests
copying astropy_healpix/tests/test_healpy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix/tests
copying astropy_healpix/tests/test_core.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix/tests
copying astropy_healpix/tests/test_high_level.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix/tests
copying astropy_healpix/tests/test_bench.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix/tests
running build_ext
building 'astropy_healpix._core' extension
creating build/temp.linux-x86_64-cpython-313/astropy_healpix
creating build/temp.linux-x86_64-cpython-313/cextern/astrometry.net
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_LIMITED_API=50987008 -DNPY_TARGET_VERSION=NPY_1_19_API_VERSION -DNPY_NO_DEPRECATED_API=NPY_1_19_API_VERSION -DPy_LIMITED_API=0x030A0000 -I/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -Icextern/astrometry.net -Iastropy_healpix -Icextern/numpy -I/usr/include/python3.13 -c astropy_healpix/_core.c -o build/temp.linux-x86_64-cpython-313/astropy_healpix/_core.o -O2
<command-line>: warning: ‘Py_LIMITED_API’ redefined
<command-line>: note: this is the location of the previous definition
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_LIMITED_API=50987008 -DNPY_TARGET_VERSION=NPY_1_19_API_VERSION -DNPY_NO_DEPRECATED_API=NPY_1_19_API_VERSION -DPy_LIMITED_API=0x030A0000 -I/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -Icextern/astrometry.net -Iastropy_healpix -Icextern/numpy -I/usr/include/python3.13 -c astropy_healpix/interpolation.c -o build/temp.linux-x86_64-cpython-313/astropy_healpix/interpolation.o -O2
<command-line>: warning: ‘Py_LIMITED_API’ redefined
<command-line>: note: this is the location of the previous definition
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_LIMITED_API=50987008 -DNPY_TARGET_VERSION=NPY_1_19_API_VERSION -DNPY_NO_DEPRECATED_API=NPY_1_19_API_VERSION -DPy_LIMITED_API=0x030A0000 -I/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -Icextern/astrometry.net -Iastropy_healpix -Icextern/numpy -I/usr/include/python3.13 -c cextern/astrometry.net/bl.c -o build/temp.linux-x86_64-cpython-313/cextern/astrometry.net/bl.o -O2
<command-line>: warning: ‘Py_LIMITED_API’ redefined
<command-line>: note: this is the location of the previous definition
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_LIMITED_API=50987008 -DNPY_TARGET_VERSION=NPY_1_19_API_VERSION -DNPY_NO_DEPRECATED_API=NPY_1_19_API_VERSION -DPy_LIMITED_API=0x030A0000 -I/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -Icextern/astrometry.net -Iastropy_healpix -Icextern/numpy -I/usr/include/python3.13 -c cextern/astrometry.net/healpix-utils.c -o build/temp.linux-x86_64-cpython-313/cextern/astrometry.net/healpix-utils.o -O2
<command-line>: warning: ‘Py_LIMITED_API’ redefined
<command-line>: note: this is the location of the previous definition
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_LIMITED_API=50987008 -DNPY_TARGET_VERSION=NPY_1_19_API_VERSION -DNPY_NO_DEPRECATED_API=NPY_1_19_API_VERSION -DPy_LIMITED_API=0x030A0000 -I/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -Icextern/astrometry.net -Iastropy_healpix -Icextern/numpy -I/usr/include/python3.13 -c cextern/astrometry.net/healpix.c -o build/temp.linux-x86_64-cpython-313/cextern/astrometry.net/healpix.o -O2
<command-line>: warning: ‘Py_LIMITED_API’ redefined
<command-line>: note: this is the location of the previous definition
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_LIMITED_API=50987008 -DNPY_TARGET_VERSION=NPY_1_19_API_VERSION -DNPY_NO_DEPRECATED_API=NPY_1_19_API_VERSION -DPy_LIMITED_API=0x030A0000 -I/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -Icextern/astrometry.net -Iastropy_healpix -Icextern/numpy -I/usr/include/python3.13 -c cextern/astrometry.net/mathutil.c -o build/temp.linux-x86_64-cpython-313/cextern/astrometry.net/mathutil.o -O2
<command-line>: warning: ‘Py_LIMITED_API’ redefined
<command-line>: note: this is the location of the previous definition
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_LIMITED_API=50987008 -DNPY_TARGET_VERSION=NPY_1_19_API_VERSION -DNPY_NO_DEPRECATED_API=NPY_1_19_API_VERSION -DPy_LIMITED_API=0x030A0000 -I/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -Icextern/astrometry.net -Iastropy_healpix -Icextern/numpy -I/usr/include/python3.13 -c cextern/astrometry.net/permutedsort.c -o build/temp.linux-x86_64-cpython-313/cextern/astrometry.net/permutedsort.o -O2
<command-line>: warning: ‘Py_LIMITED_API’ redefined
<command-line>: note: this is the location of the previous definition
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_LIMITED_API=50987008 -DNPY_TARGET_VERSION=NPY_1_19_API_VERSION -DNPY_NO_DEPRECATED_API=NPY_1_19_API_VERSION -DPy_LIMITED_API=0x030A0000 -I/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -Icextern/astrometry.net -Iastropy_healpix -Icextern/numpy -I/usr/include/python3.13 -c cextern/astrometry.net/qsort_reentrant.c -o build/temp.linux-x86_64-cpython-313/cextern/astrometry.net/qsort_reentrant.o -O2
<command-line>: warning: ‘Py_LIMITED_API’ redefined
<command-line>: note: this is the location of the previous definition
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_LIMITED_API=50987008 -DNPY_TARGET_VERSION=NPY_1_19_API_VERSION -DNPY_NO_DEPRECATED_API=NPY_1_19_API_VERSION -DPy_LIMITED_API=0x030A0000 -I/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include -Icextern/astrometry.net -Iastropy_healpix -Icextern/numpy -I/usr/include/python3.13 -c cextern/astrometry.net/starutil.c -o build/temp.linux-x86_64-cpython-313/cextern/astrometry.net/starutil.o -O2
<command-line>: warning: ‘Py_LIMITED_API’ redefined
<command-line>: note: this is the location of the previous definition
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-function [too-long-redacted] d/astropy_healpix/_core.abi3.so
building 'astropy_healpix.compiler_version' extension
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPy_LIMITED_API=0x030A0000 -I/usr/include/python3.13 -c astropy_healpix/_compiler.c -o build/temp.linux-x86_64-cpython-313/astropy_healpix/_compiler.o
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-313/astropy_healpix/_compiler.o -L/usr/lib/x86_64-linux-gnu -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build/astropy_healpix/compiler_version.abi3.so
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build; python3.13 -m pytest 
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: --doctest-rst
  inifile: /<<PKGBUILDDIR>>/setup.cfg
  rootdir: /<<PKGBUILDDIR>>

E: pybuild pybuild:389: test: plugin distutils failed with: exit code=4: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astropy-healpix/build; python3.13 -m pytest 
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13
make: *** [debian/rules:18: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Debian-astro-maintainers mailing list