Package: src:python-pyghmi
Version: 1.5.70-2
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
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
+ 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 ]
+ [ -x /usr/bin/python3-stestr ]
+ STESTR=stestr
+ rm -rf .stestr
+ PYTHON=python3.12 stestr run --parallel --subunit
+ subunit2pyunit
=========================
Failures during discovery
=========================
--- import errors ---
Failed to import test module: pyghmi.tests.unit.ipmi.test_sdr
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>>/pyghmi/tests/unit/ipmi/test_sdr.py", line 16, in
<module>
from pyghmi.ipmi import sdr
File "/<<PKGBUILDDIR>>/pyghmi/ipmi/sdr.py", line 39, in <module>
import six
ModuleNotFoundError: No module named 'six'
================================================================================
The above traceback was encountered during test discovery which imports all the
found test modules in the specified test_path.
----------------------------------------------------------------------
Ran 0 tests in 0.187s
NO TESTS RAN
+ stestr 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.