Source: versiontools Version: 1.9.1-4 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220917 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules build > dh build --buildsystem=pybuild --with python3 > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:240: python3.10 setup.py config > /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:18: UserWarning: > Distutils was imported before Setuptools, but importing Setuptools also > replaces the `distutils` module in `sys.modules`. This may lead to > undesirable behaviors or errors. To avoid these issues, avoid using distutils > directly, ensure that setuptools is installed in the traditional way (e.g. > not an editable install), and/or make sure that setuptools is always imported > before distutils. > warnings.warn( > /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:33: UserWarning: > Setuptools is replacing distutils. > warnings.warn("Setuptools is replacing distutils.") > /usr/lib/python3/dist-packages/setuptools/dist.py:771: UserWarning: Usage of > dash-separated 'upload-dir' will not be supported in future versions. Please > use the underscore name 'upload_dir' instead > warnings.warn( > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:240: /usr/bin/python3 setup.py build > /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:18: UserWarning: > Distutils was imported before Setuptools, but importing Setuptools also > replaces the `distutils` module in `sys.modules`. This may lead to > undesirable behaviors or errors. To avoid these issues, avoid using distutils > directly, ensure that setuptools is installed in the traditional way (e.g. > not an editable install), and/or make sure that setuptools is always imported > before distutils. > warnings.warn( > /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:33: UserWarning: > Setuptools is replacing distutils. > warnings.warn("Setuptools is replacing distutils.") > /usr/lib/python3/dist-packages/setuptools/dist.py:771: UserWarning: Usage of > dash-separated 'upload-dir' will not be supported in future versions. Please > use the underscore name 'upload_dir' instead > warnings.warn( > running build > running build_py > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_versiontools/build/versiontools > copying versiontools/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_versiontools/build/versiontools > copying versiontools/tests.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_versiontools/build/versiontools > copying versiontools/versiontools_support.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_versiontools/build/versiontools > copying versiontools/git_support.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_versiontools/build/versiontools > copying versiontools/bzr_support.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_versiontools/build/versiontools > copying versiontools/setuptools_hooks.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_versiontools/build/versiontools > copying versiontools/hg_support.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_versiontools/build/versiontools > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:240: python3.10 setup.py test > /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:18: UserWarning: > Distutils was imported before Setuptools, but importing Setuptools also > replaces the `distutils` module in `sys.modules`. This may lead to > undesirable behaviors or errors. To avoid these issues, avoid using distutils > directly, ensure that setuptools is installed in the traditional way (e.g. > not an editable install), and/or make sure that setuptools is always imported > before distutils. > warnings.warn( > /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:33: UserWarning: > Setuptools is replacing distutils. > warnings.warn("Setuptools is replacing distutils.") > /usr/lib/python3/dist-packages/setuptools/dist.py:771: UserWarning: Usage of > dash-separated 'upload-dir' will not be supported in future versions. Please > use the underscore name 'upload_dir' instead > warnings.warn( > running test > WARNING: Testing via this command is deprecated and will be removed in a > future version. Users looking for a generic test entry point independent of > test runner are encouraged to use tox. > running egg_info > writing versiontools.egg-info/PKG-INFO > writing dependency_links to versiontools.egg-info/dependency_links.txt > writing entry points to versiontools.egg-info/entry_points.txt > writing top-level names to versiontools.egg-info/top_level.txt > reading manifest file 'versiontools.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > writing manifest file 'versiontools.egg-info/SOURCES.txt' > running build_ext > test_cant_import (versiontools.tests.HandleVersionTests) ... FAIL > test_not_found (versiontools.tests.HandleVersionTests) ... FAIL > test_accessors (versiontools.tests.VersionFormattingTests) ... ok > test_defaults (versiontools.tests.VersionFormattingTests) ... ok > test_formatting_nonzero_micro_retained > (versiontools.tests.VersionFormattingTests) ... ok > test_formatting_serial_not_used_for_development > (versiontools.tests.VersionFormattingTests) ... ok > test_formatting_serial_not_used_for_final > (versiontools.tests.VersionFormattingTests) ... ok > test_formatting_serial_used_for_alpha_beta_and_candidate > (versiontools.tests.VersionFormattingTests) ... ok > test_formatting_zero_micro_discarded > (versiontools.tests.VersionFormattingTests) ... ok > test_positional_accessors (versiontools.tests.VersionFormattingTests) ... ok > test_releaselevel_values (versiontools.tests.VersionFormattingTests) ... ok > test_serial_can_be_zero_for_certain_releaselevel > (versiontools.tests.VersionFormattingTests) ... ok > test_serial_cannot_be_zero_for_certain_releaselevel > (versiontools.tests.VersionFormattingTests) ... ok > test_formatting_no_dev_suffix_for_alpha_beta_and_candidate > (versiontools.tests.VersionFormattingTestsWithMockedVCS) ... ok > test_formatting_with_vcs_and_revno > (versiontools.tests.VersionFormattingTestsWithMockedVCS) ... ok > test_formatting_without_vcs > (versiontools.tests.VersionFormattingTestsWithMockedVCS) ... ok > > ====================================================================== > FAIL: test_cant_import (versiontools.tests.HandleVersionTests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/versiontools/__init__.py", line 234, in > from_expression > obj = __import__(module_or_package, globals(), locals(), ['']) > ModuleNotFoundError: No module named 'nonexisting' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/versiontools/setuptools_hooks.py", line 64, in > version > version = Version.from_expression(value) > File "/<<PKGBUILDDIR>>/versiontools/__init__.py", line 237, in > from_expression > raise ValueError( > ValueError: Unable to import 'nonexisting': No module named 'nonexisting' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/versiontools/tests.py", line 133, in test_cant_import > handle_version(self.dist, None, version) > File "/<<PKGBUILDDIR>>/versiontools/setuptools_hooks.py", line 71, in > version > raise DistutilsSetupError(message) > distutils.errors.DistutilsSetupError: Unable to import 'nonexisting': No > module named 'nonexisting' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/versiontools/tests.py", line 136, in test_cant_import > self.assertTrue(isinstance(e, DistutilsSetupError)) > AssertionError: False is not true > > ====================================================================== > FAIL: test_not_found (versiontools.tests.HandleVersionTests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/versiontools/__init__.py", line 241, in > from_expression > version = getattr(obj, identifier) > AttributeError: module 'versiontools' has no attribute '__nonexisting__' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/versiontools/setuptools_hooks.py", line 64, in > version > version = Version.from_expression(value) > File "/<<PKGBUILDDIR>>/versiontools/__init__.py", line 244, in > from_expression > raise ValueError( > ValueError: Unable to access '__nonexisting__' in 'versiontools': module > 'versiontools' has no attribute '__nonexisting__' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/versiontools/tests.py", line 147, in test_not_found > handle_version(self.dist, None, version) > File "/<<PKGBUILDDIR>>/versiontools/setuptools_hooks.py", line 71, in > version > raise DistutilsSetupError(message) > distutils.errors.DistutilsSetupError: Unable to access '__nonexisting__' in > 'versiontools': module 'versiontools' has no attribute '__nonexisting__' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/versiontools/tests.py", line 150, in test_not_found > self.assertTrue(isinstance(e, DistutilsSetupError)) > AssertionError: False is not true > > ---------------------------------------------------------------------- > Ran 16 tests in 0.028s > > FAILED (failures=2) > Test failed: <unittest.runner.TextTestResult run=16 errors=0 failures=2> > error: Test failed: <unittest.runner.TextTestResult run=16 errors=0 > failures=2> > E: pybuild pybuild:379: test: plugin distutils failed with: exit code=1: > python3.10 setup.py test > dh_auto_test: error: pybuild --test -i python{version} -p 3.10 returned exit > code 13 The full build log is available from: http://qa-logs.debian.net/2022/09/17/versiontools_1.9.1-4_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.