Source: distro-info
Version: 1.7
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240115 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ./test-debian-distro-info
> cd perl && ./test.pl
> testAlias
> py3versions: no X-Python3-Version in control file, using supported versions
> cd python && python3.12 setup.py test
> 1..35
> testAll
> ok 1 - unique: Matching lists
> ok 2 - symmetric_difference: Matching lists
> ok 3 - unique: 1 Unique Item
> ok 4 - unique: 1 Unique Item in the haystack
> ok 5 - symmetric_difference: 1 Unique Item
> ok 6 - Debian all
> ok 7 - Debian devel
> ok 8 - Debian oldstable
> ok 9 - Debian stable
> ok 10 - Debian testing
> ok 11 - Debian valid
> ok 12 - Debian valid
> ok 13 - Debian invalid
> ok 14 - Debian supported
> ok 15 - Debian LTS
> ok 16 - Debian ELTS
> ok 17 - Debian unsupported
> ok 18 - Debian codename, invalid
> ok 19 - Debian codename
> ok 20 - Debian version, invalid
> ok 21 - Debian version
> ok 22 - Ubuntu all
> ok 23 - Ubuntu version
> ok 24 - Ubuntu LTS version
> ok 25 - Ubuntu devel
> ok 26 - Ubuntu LTS
> ok 27 - Ubuntu stable
> ok 28 - Ubuntu valid
> ok 29 - Ubuntu invalid
> ok 30 - Ubuntu is_lts
> ok 31 - Ubuntu !is_lts
> ok 32 - Ubuntu !is_lts
> ok 33 - Ubuntu supported
> ok 34 - Ubuntu ESM
> ok 35 - Ubuntu unsupported
> testDevel
> testOldstable
> testStable
> testSupported
> testLTS
> testELTS
> testUnsupported
> testTesting
> testFullname
> 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.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _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`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _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`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _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`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> creating distro_info.egg-info
> writing distro_info.egg-info/PKG-INFO
> writing dependency_links to distro_info.egg-info/dependency_links.txt
> writing top-level names to distro_info.egg-info/top_level.txt
> writing manifest file 'distro_info.egg-info/SOURCES.txt'
> reading manifest file 'distro_info.egg-info/SOURCES.txt'
> writing manifest file 'distro_info.egg-info/SOURCES.txt'
> running build_ext
> test_all (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_all)
> Test: List all known Debian distributions. ... ok
> test_codename 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_codename)
> Test: Codename decoding ... ok
> test_codename_result 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_codename_result)
> Test: Check result set to codename. ... ok
> test_devel 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_devel)
> Test: Get latest development Debian distribution. ... ok
> test_elts_supported 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_elts_supported)
> Test: List all ELTS supported Debian distribution. ... ok
> test_fullname 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_fullname)
> Test: Check result set to fullname. ... ok
> test_lts_supported 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_lts_supported)
> Test: List all LTS supported Debian distribution. ... ok
> test_old (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_old)
> Test: Get old (stable) Debian distribution. ... ok
> test_release 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_release)
> Test: Check result set to release. ... ok
> test_stable 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_stable)
> Test: Get latest stable Debian distribution. ... ok
> test_supported 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_supported)
> Test: List all supported Debian distribution. ... ok
> test_testing 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_testing)
> Test: Get latest testing Debian distribution. ... ok
> test_unsupported 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_unsupported)
> Test: List all unsupported Debian distribution. ... ok
> test_valid 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_valid)
> Test: Check for valid Debian distribution. ... ok
> test_version 
> (distro_info_test.test_distro_info.DebianDistroInfoTestCase.test_version)
> Test: Version decoding ... ok
> test_all (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_all)
> Test: List all known Ubuntu distributions. ... ok
> test_codename 
> (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_codename)
> Test: Check result set to codename. ... ok
> test_current_unsupported 
> (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_current_unsupported)
> Test: List all unsupported Ubuntu distributions today. ... ok
> test_devel 
> (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_devel)
> Test: Get latest development Ubuntu distribution. ... ok
> test_fullname 
> (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_fullname)
> Test: Check result set to fullname. ... ok
> test_is_lts 
> (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_is_lts)
> Test: Check if Ubuntu distribution is an LTS. ... ok
> test_lts (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_lts)
> Test: Get latest long term support (LTS) Ubuntu distribution. ... ok
> test_release 
> (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_release)
> Test: Check result set to release. ... ok
> test_stable 
> (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_stable)
> Test: Get latest stable Ubuntu distribution. ... ok
> test_supported 
> (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_supported)
> Test: List all supported Ubuntu distribution. ... ok
> test_unsupported 
> (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_unsupported)
> Test: List all unsupported Ubuntu distributions. ... ok
> test_valid 
> (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_valid)
> Test: Check for valid Ubuntu distribution. ... ok
> test_version 
> (distro_info_test.test_distro_info.UbuntuDistroInfoTestCase.test_version)
> Test: Check result set to version. ... ok
> test_black (distro_info_test.test_black.BlackTestCase.test_black)
> Test: Run black code formatter on Python source code. ... Running following 
> command:
> black --check --diff -l 99 debian-distro-info ubuntu-distro-info 
> distro_info_test distro_info.py setup.py
> testRelease
> testSeries
> testCombinedShortform
> testReleaseDate
> testHelp
> testExactlyOne
> ok
> test_flake8 (distro_info_test.test_flake8.Flake8TestCase.test_flake8)
> Test: Run flake8 on Python source code. ... Running following command:
> /usr/bin/python3.12 -m flake8 --max-line-length=99 debian-distro-info 
> ubuntu-distro-info distro_info_test distro_info.py setup.py
> testUnrecognizedOption
> testUnrecognizedArguments
> testMissingArgumentAlias
> testMissingArgumentDate
> testMissingArgumentSeries
> testInvalidAlias
> testInvalidDate
> testInvalidSeries
> testMultipleAlias
> ok
> test_isort (distro_info_test.test_isort.IsortTestCase.test_isort)
> Test: Run isort on Python source code. ... Running following command:
> isort --check-only --diff -l 99 debian-distro-info ubuntu-distro-info 
> distro_info_test distro_info.py setup.py
> testMultipleDates
> testMultipleSeries
> testUnknownSeries
> testSourceDateEpoch
> testDays
> ok
> test_mypy (distro_info_test.test_mypy.MypyTestCase.test_mypy)
> Test: Run mypy on Python source code. ... Running following command:
> mypy --ignore-missing-imports --strict distro_info_test distro_info.py 
> setup.py
> 
> Ran 31 tests.
> 
> OK
> ./test-ubuntu-distro-info
> testAll
> testDevel
> testLatest
> testLTS
> testStable
> testSupported
> testUnsupported
> testFullname
> testRelease
> ok
> test_make_pep440_compliant_debian_backport 
> (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_debian_backport)
> Test make_pep440_compliant() with Debian backport version. ... ok
> test_make_pep440_compliant_debian_stable 
> (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_debian_stable)
> Test make_pep440_compliant() with Debian stable update. ... ok
> test_make_pep440_compliant_debian_stable_backport 
> (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_debian_stable_backport)
> Test make_pep440_compliant() with Debian stable backport. ... ok
> test_make_pep440_compliant_tilde 
> (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_tilde)
> Test make_pep440_compliant() with tilde in Debian version. ... ok
> test_make_pep440_compliant_ubuntu 
> (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_ubuntu)
> Test make_pep440_compliant() with Ubuntu version. ... ok
> test_make_pep440_compliant_ubuntu_backport 
> (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_ubuntu_backport)
> Test make_pep440_compliant() with Ubuntu backport version. ... ok
> test_make_pep440_compliant_ubuntu_security 
> (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_ubuntu_security)
> Test make_pep440_compliant() with Ubuntu security update. ... ok
> test_make_pep440_compliant_unchanged 
> (distro_info_test.test_setup.SetupTestCase.test_make_pep440_compliant_unchanged)
> Test make_pep440_compliant() with already correct version. ... ok
> test_pylint (distro_info_test.test_pylint.PylintTestCase.test_pylint)
> Test: Run pylint on Python source code. ... Running following command:
> pylint --rcfile=/<<PKGBUILDDIR>>/python/distro_info_test/pylint.conf 
> debian-distro-info ubuntu-distro-info distro_info_test distro_info.py setup.py
> testSeries
> testCombinedShortform
> testReleaseDate
> testHelp
> testExactlyOne
> testUnrecognizedOption
> FAIL
> 
> ======================================================================
> FAIL: test_pylint (distro_info_test.test_pylint.PylintTestCase.test_pylint)
> Test: Run pylint on Python source code.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/python/distro_info_test/test_pylint.py", line 70, in 
> test_pylint
>     self.fail("\n".join(msgs))
> AssertionError: pylint exited with code 1 and has unexpected output on stderr:
> Traceback (most recent call last):
>   File "/usr/bin/pylint", line 8, in <module>
>     sys.exit(run_pylint())
>              ^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/pylint/__init__.py", line 36, in 
> run_pylint
>     PylintRun(argv or sys.argv[1:])
>   File "/usr/lib/python3/dist-packages/pylint/lint/run.py", line 157, in 
> __init__
>     linter.load_default_plugins()
>   File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 369, in 
> load_default_plugins
>     checkers.initialize(self)
>   File "/usr/lib/python3/dist-packages/pylint/checkers/__init__.py", line 
> 136, in initialize
>     register_plugins(linter, __path__[0])
>   File "/usr/lib/python3/dist-packages/pylint/utils/utils.py", line 204, in 
> register_plugins
>     module = modutils.load_module_from_file(
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 235, in 
> load_module_from_file
>     return load_module_from_modpath(modpath)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 220, in 
> load_module_from_modpath
>     return load_module_from_name(".".join(parts))
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 194, in 
> load_module_from_name
>     module = importlib.import_module(dotted_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
>   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
>   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
>   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
>   File 
> "/usr/lib/python3/dist-packages/pylint/checkers/refactoring/__init__.py", 
> line 16, in <module>
>     from pylint.checkers.refactoring.refactoring_checker import 
> RefactoringChecker
>   File 
> "/usr/lib/python3/dist-packages/pylint/checkers/refactoring/refactoring_checker.py",
>  line 36, in <module>
>     nodes.TryExcept, nodes.TryFinally, nodes.While, nodes.For, nodes.If
>     ^^^^^^^^^^^^^^^
> AttributeError: module 'astroid.nodes' has no attribute 'TryExcept'
> 
> ----------------------------------------------------------------------
> Ran 41 tests in 3.368s
> 
> FAILED (failures=1)
> Test failed: <unittest.runner.TextTestResult run=41 errors=0 failures=1>
> error: Test failed: <unittest.runner.TextTestResult run=41 errors=0 
> failures=1>
> testUnrecognizedArguments
> make[1]: *** [Makefile:39: test-python] Error 1
> make[1]: *** Waiting for unfinished jobs....
> testMissingArgumentDate
> testMissingArgumentSeries
> testDistributionDataOutdated
> testInvalidDate
> testInvalidSeries
> testMultipleDates
> testMultipleSeries
> testUnknownSeries
> testSourceDateEpoch
> testDays
> 
> Ran 26 tests.
> 
> OK
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j8 test returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2024/01/15/distro-info_1.7_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&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 mark 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.

Reply via email to