Package: src:python-sphinx-feature-classification
Version: 1.1.0-3
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules build
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh build --buildsystem=python_distutils --with python3,sphinxdoc
   dh_update_autotools_config -O--buildsystem=python_distutils
   dh_autoreconf -O--buildsystem=python_distutils
   dh_auto_configure -O--buildsystem=python_distutils
dh_auto_configure: warning: Please use the third-party "pybuild" build system 
instead of python-distutils
dh_auto_configure: warning: This feature will be removed in compat 12.
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
echo "Do nothing..."
Do nothing...
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
pkgos-dh_auto_test --no-py2 'sphinx_feature_classification\.tests.*'
+ PKGOS_TEST_PARALLEL=yes
+ PKGOS_TEST_SERIAL=no
+ PYTHONS=disabled
+ PYTHON3S=disabled
+ TEST_PARALLEL_OPT=--parallel
+ TEST_SERIAL_OPT=
+ echo WARNING: --no-py2 is deprecated, and always on.
WARNING: --no-py2 is deprecated, and always on.
+ shift
+ py3versions -vr
+ PYTHON3S=3.12
+ [ yes = no ]
+ [ no = yes ]
+ [ 3.12 = disabled ]
+ echo 3.12
+ cut -d. -f1
+ PYMAJOR=3
+ echo ===> Testing with python (python3)
===> Testing with python (python3)
+ pwd
+ [ -d /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages ]
+ [ -e .stestr.conf ]
+ [ -e .testr.conf ]
+ [ -x /usr/bin/testr-python3 ]
+ TESTR=testr
+ rm -rf .testrepository
+ testr init
+ mktemp -t
+ TEMP_REZ=/tmp/tmp.6fz0FCAM8f
+ PYTHON=python3.12 testr run --parallel --subunit 
sphinx_feature_classification\.tests.*
+ subunit2pyunit
+ tee /tmp/tmp.6fz0FCAM8f
runNon-zero exit code (2) from test listing.
ning=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ . --list
--- import errors ---
Failed to import test module: 
sphinx_feature_classification.tests.test_sphinx_feature_classification
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
  File 
"/<<PKGBUILDDIR>>/sphinx_feature_classification/tests/test_sphinx_feature_classification.py",
 line 25, in <module>
    import six
ModuleNotFoundError: No module named 'six'

----------------------------------------------------------------------
Ran 0 tests in 0.214s

NO TESTS RAN
+ cat /tmp/tmp.6fz0FCAM8f
+ subunit-stats
+ subunit-filter -s --no-passthrough
Total tests:       0
Passed tests:      0
Failed tests:      0
Skipped tests:     0
Seen tags:
+ rm -f /tmp/tmp.6fz0FCAM8f
+ testr slowest
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 3
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build] Error 2
dpkg-buildpackage: error: debian/rules build 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