Package: src:python-distutils-extra
Version: 3.0
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 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:311: python3.12 setup.py config
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/DistUtilsExtra
copying DistUtilsExtra/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/DistUtilsExtra
copying DistUtilsExtra/auto.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/DistUtilsExtra
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/DistUtilsExtra/command
copying DistUtilsExtra/command/build_icons.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/DistUtilsExtra/command
copying DistUtilsExtra/command/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/DistUtilsExtra/command
copying DistUtilsExtra/command/pylint.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/DistUtilsExtra/command
copying DistUtilsExtra/command/build_help.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/DistUtilsExtra/command
copying DistUtilsExtra/command/build_extra.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/DistUtilsExtra/command
copying DistUtilsExtra/command/build_i18n.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/DistUtilsExtra/command
copying DistUtilsExtra/command/clean_i18n.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/DistUtilsExtra/command
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# run tests with all supported python 2 and 3 versions
set -e; for python in `py3versions -s`; do \
  echo "-- Running tests with $python ----------------"; \
  LC_ALL=C LANGUAGE= LANG=C PYTHONPATH=. $python test/auto.py -v; \
done
-- Running tests with python3.12 ----------------
test_apport_hook (__main__.T.test_apport_hook)
Apport hooks ... ok
test_binary_files (__main__.T.test_binary_files)
Binary files are ignored ... ok
test_data (__main__.T.test_data)
Auxiliary files in data/ ... ok
test_dbus (__main__.T.test_dbus)
D-BUS configuration and service files ... ok
test_desktop (__main__.T.test_desktop)
*.desktop.in files ... ok
test_empty (__main__.T.test_empty)
empty source tree (just setup.py) ... ok
test_etc (__main__.T.test_etc)
etc/* ... ok
test_gsettings (__main__.T.test_gsettings)
GSettings schema files ... ok
test_help_docbook (__main__.T.test_help_docbook)
Docbook XML help ... ok
test_help_mallard (__main__.T.test_help_mallard)
Mallard XML help ... ok
test_icons (__main__.T.test_icons)
data/icons/ ... ok
test_manpages (__main__.T.test_manpages)
manpages ... ok
test_modules (__main__.T.test_modules)
Python modules ... ok
test_packages (__main__.T.test_packages)
Python packages ... ok
test_po (__main__.T.test_po)
gettext *.po files ... ok
test_policykit (__main__.T.test_policykit)
*.policy.in PolicyKit files ... ok
test_pot_auto (__main__.T.test_pot_auto)
PO template creation with automatic POTFILES.in ... ok
test_pot_auto_explicit (__main__.T.test_pot_auto_explicit)
PO template creation with automatic POTFILES.in and explicit scripts ... ok
test_pot_manual (__main__.T.test_pot_manual)
PO template creation with manual POTFILES.in ... ok
test_requires_provides (__main__.T.test_requires_provides)
automatic requires/provides ... /<<PKGBUILDDIR>>/test/auto.py:841: 
DeprecationWarning: pkg_resources is deprecated as an API. See 
https://setuptools.pypa.io/en/latest/pkg_resources.html
  __import__(needed_pkg)
FAIL
test_scripts (__main__.T.test_scripts)
scripts ... ok
test_sdist (__main__.T.test_sdist)
default MANIFEST ... ok
test_standard_files (__main__.T.test_standard_files)
Standard files (MANIFEST.in, COPYING, etc.) ... ok
test_ui (__main__.T.test_ui)
GtkBuilder/Qt *.ui ... ok
test_utf8_filenames (__main__.T.test_utf8_filenames)
UTF-8 file names ... ok
test_vcs (__main__.T.test_vcs)
Ignores revision control files ... ok

======================================================================
FAIL: test_requires_provides (__main__.T.test_requires_provides)
automatic requires/provides
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/test/auto.py", line 900, in test_requires_provides
    self.assertEqual(e, "ERROR: Python module unknown not found\n")
AssertionError: 'ERROR: Python module setuptools.command.register not 
found\nER[34 chars]nd\n' != 'ERROR: Python module unknown not found\n'
- ERROR: Python module setuptools.command.register not found
  ERROR: Python module unknown not found


----------------------------------------------------------------------
Ran 26 tests in 13.117s

FAILED (failures=1)
make[1]: *** [debian/rules:9: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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 could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to