Package: src:python-scciclient Version: 0.16.0-3 Severity: serious Tags: ftbfs trixie sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules clean make: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh clean --buildsystem=pybuild --with python3,sphinxdoc debian/rules override_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' make[1]: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions rm -rf build .stestr *.egg-info find . -iname '*.pyc' -delete for i in $(find . -type d -iname __pycache__) ; do rm -rf $i ; done make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_autoreconf_clean -O--buildsystem=pybuild debian/rules override_dh_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' make[1]: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh_clean -O--buildsystem=pybuild rm -rf build make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules binary make: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh binary --buildsystem=pybuild --with python3,sphinxdoc 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 /usr/lib/python3/dist-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3/dist-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3/dist-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /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) /usr/lib/python3/dist-packages/setuptools/command/develop.py:41: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:79: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /usr/lib/python3/dist-packages/pbr/core.py:140: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/lib/python3/dist-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3/dist-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3/dist-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) running config I: pybuild base:311: python3.13 setup.py config /usr/lib/python3/dist-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3/dist-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3/dist-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /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) /usr/lib/python3/dist-packages/setuptools/command/develop.py:41: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:79: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /usr/lib/python3/dist-packages/pbr/core.py:140: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/lib/python3/dist-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3/dist-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3/dist-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) running config 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 'scciclient\.tests\.irmc\.(?!(.*test_scci\.SCCITestCase\.test_get_report_ok.*))' + 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 3.13 + [ 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 scciclient\.tests\.irmc\.(?!(.*test_scci\.SCCITestCase\.test_get_report_ok.*)) + subunit2pyunit ========================= Failures during discovery ========================= --- import errors --- Failed to import test module: scciclient.tests.irmc.test_elcm 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>>/scciclient/tests/irmc/test_elcm.py", line 26, in <module> from scciclient.irmc import elcm File "/<<PKGBUILDDIR>>/scciclient/irmc/__init__.py", line 15, in <module> from . import elcm # noqa ^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/scciclient/irmc/elcm.py", line 26, in <module> from scciclient.irmc import scci File "/<<PKGBUILDDIR>>/scciclient/irmc/scci.py", line 28, in <module> from scciclient.irmc import snmp File "/<<PKGBUILDDIR>>/scciclient/irmc/snmp.py", line 16, in <module> from pysnmp import hlapi as snmp File "/usr/lib/python3/dist-packages/pysnmp/hlapi/__init__.py", line 7, in <module> from pysnmp.proto.rfc1902 import * File "/usr/lib/python3/dist-packages/pysnmp/proto/rfc1902.py", line 9, in <module> from pysnmp.proto import rfc1155, error File "/usr/lib/python3/dist-packages/pysnmp/proto/rfc1155.py", line 10, in <module> from pysnmp.proto import error File "/usr/lib/python3/dist-packages/pysnmp/proto/error.py", line 9, in <module> from pysnmp import debug File "/usr/lib/python3/dist-packages/pysnmp/debug.py", line 8, in <module> from pyasn1.compat.octets import octs2ints ModuleNotFoundError: No module named 'pyasn1.compat.octets' Failed to import test module: scciclient.tests.irmc.test_ipmi 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>>/scciclient/tests/irmc/test_ipmi.py", line 24, in <module> from scciclient.irmc import ipmi File "/<<PKGBUILDDIR>>/scciclient/irmc/__init__.py", line 15, in <module> from . import elcm # noqa ^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/scciclient/irmc/elcm.py", line 26, in <module> from scciclient.irmc import scci File "/<<PKGBUILDDIR>>/scciclient/irmc/scci.py", line 28, in <module> from scciclient.irmc import snmp File "/<<PKGBUILDDIR>>/scciclient/irmc/snmp.py", line 16, in <module> from pysnmp import hlapi as snmp File "/usr/lib/python3/dist-packages/pysnmp/hlapi/__init__.py", line 7, in <module> from pysnmp.proto.rfc1902 import * File "/usr/lib/python3/dist-packages/pysnmp/proto/rfc1902.py", line 9, in <module> from pysnmp.proto import rfc1155, error File "/usr/lib/python3/dist-packages/pysnmp/proto/rfc1155.py", line 10, in <module> from pysnmp.proto import error File "/usr/lib/python3/dist-packages/pysnmp/proto/error.py", line 9, in <module> from pysnmp import debug File "/usr/lib/python3/dist-packages/pysnmp/debug.py", line 8, in <module> from pyasn1.compat.octets import octs2ints ModuleNotFoundError: No module named 'pyasn1.compat.octets' Failed to import test module: scciclient.tests.irmc.test_scci 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>>/scciclient/tests/irmc/test_scci.py", line 29, in <module> from scciclient.irmc import ipmi File "/<<PKGBUILDDIR>>/scciclient/irmc/__init__.py", line 15, in <module> from . import elcm # noqa ^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/scciclient/irmc/elcm.py", line 26, in <module> from scciclient.irmc import scci File "/<<PKGBUILDDIR>>/scciclient/irmc/scci.py", line 28, in <module> from scciclient.irmc import snmp File "/<<PKGBUILDDIR>>/scciclient/irmc/snmp.py", line 16, in <module> from pysnmp import hlapi as snmp File "/usr/lib/python3/dist-packages/pysnmp/hlapi/__init__.py", line 7, in <module> from pysnmp.proto.rfc1902 import * File "/usr/lib/python3/dist-packages/pysnmp/proto/rfc1902.py", line 9, in <module> from pysnmp.proto import rfc1155, error File "/usr/lib/python3/dist-packages/pysnmp/proto/rfc1155.py", line 10, in <module> from pysnmp.proto import error File "/usr/lib/python3/dist-packages/pysnmp/proto/error.py", line 9, in <module> from pysnmp import debug File "/usr/lib/python3/dist-packages/pysnmp/debug.py", line 8, in <module> from pyasn1.compat.octets import octs2ints ModuleNotFoundError: No module named 'pyasn1.compat.octets' Failed to import test module: scciclient.tests.irmc.test_snmp 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>>/scciclient/tests/irmc/test_snmp.py", line 21, in <module> from pysnmp import hlapi as pysnmp File "/usr/lib/python3/dist-packages/pysnmp/hlapi/__init__.py", line 7, in <module> from pysnmp.proto.rfc1902 import * File "/usr/lib/python3/dist-packages/pysnmp/proto/rfc1902.py", line 9, in <module> from pysnmp.proto import rfc1155, error File "/usr/lib/python3/dist-packages/pysnmp/proto/rfc1155.py", line 10, in <module> from pysnmp.proto import error File "/usr/lib/python3/dist-packages/pysnmp/proto/error.py", line 9, in <module> from pysnmp import debug File "/usr/lib/python3/dist-packages/pysnmp/debug.py", line 8, in <module> from pyasn1.compat.octets import octs2ints ModuleNotFoundError: No module named 'pyasn1.compat.octets' Failed to import test module: scciclient.tests.irmc.viom.test_client 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>>/scciclient/tests/irmc/viom/test_client.py", line 19, in <module> from scciclient.irmc import scci File "/<<PKGBUILDDIR>>/scciclient/irmc/__init__.py", line 15, in <module> from . import elcm # noqa ^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/scciclient/irmc/elcm.py", line 26, in <module> from scciclient.irmc import scci File "/<<PKGBUILDDIR>>/scciclient/irmc/scci.py", line 28, in <module> from scciclient.irmc import snmp File "/<<PKGBUILDDIR>>/scciclient/irmc/snmp.py", line 16, in <module> from pysnmp import hlapi as snmp File "/usr/lib/python3/dist-packages/pysnmp/hlapi/__init__.py", line 7, in <module> from pysnmp.proto.rfc1902 import * File "/usr/lib/python3/dist-packages/pysnmp/proto/rfc1902.py", line 9, in <module> from pysnmp.proto import rfc1155, error File "/usr/lib/python3/dist-packages/pysnmp/proto/rfc1155.py", line 10, in <module> from pysnmp.proto import error File "/usr/lib/python3/dist-packages/pysnmp/proto/error.py", line 9, in <module> from pysnmp import debug File "/usr/lib/python3/dist-packages/pysnmp/debug.py", line 8, in <module> from pyasn1.compat.octets import octs2ints ModuleNotFoundError: No module named 'pyasn1.compat.octets' Failed to import test module: scciclient.tests.irmc.viom.test_elcm 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>>/scciclient/tests/irmc/viom/test_elcm.py", line 24, in <module> from scciclient.irmc import elcm File "/<<PKGBUILDDIR>>/scciclient/irmc/__init__.py", line 15, in <module> from . import elcm # noqa ^^^^^^^^^^^^^^^^^^ File "/<<PKGBUILDDIR>>/scciclient/irmc/elcm.py", line 26, in <module> from scciclient.irmc import scci File "/<<PKGBUILDDIR>>/scciclient/irmc/scci.py", line 28, in <module> from scciclient.irmc import snmp File "/<<PKGBUILDDIR>>/scciclient/irmc/snmp.py", line 16, in <module> from pysnmp import hlapi as snmp File "/usr/lib/python3/dist-packages/pysnmp/hlapi/__init__.py", line 7, in <module> from pysnmp.proto.rfc1902 import * File "/usr/lib/python3/dist-packages/pysnmp/proto/rfc1902.py", line 9, in <module> from pysnmp.proto import rfc1155, error File "/usr/lib/python3/dist-packages/pysnmp/proto/rfc1155.py", line 10, in <module> from pysnmp.proto import error File "/usr/lib/python3/dist-packages/pysnmp/proto/error.py", line 9, in <module> from pysnmp import debug File "/usr/lib/python3/dist-packages/pysnmp/debug.py", line 8, in <module> from pyasn1.compat.octets import octs2ints ModuleNotFoundError: No module named 'pyasn1.compat.octets' ================================================================================ 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.382s 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: 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/202502/ 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 add an affects on src:python-scciclient, so that this is still visible in the BTS web page for this package. Thanks.