Package: distro-info
Version: 1.7
Severity: serious
Tags: ftbfs
Justification: FTBFS
User: [email protected]
Usertags: setup.py-test
Dear maintainer,
During a test rebuild for packages affected by setuptools 72, distro-info
failed to rebuild.
FWIW: I think these bugs were all caused by setuptools v72 dropping
support for the "test" command, so dh-python has fallen back to
distutils / other test plugins.
If you're trying to figure out how to fix the bug, look at the
implementation of test_suite in setup.py to see what magic it does for
test setup.
-------------------------------------------------------------------------------
[...]
dh_auto_test
make -j8 test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./test-debian-distro-info
cd perl && ./test.pl
testAlias
1..35
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
py3versions: no X-Python3-Version in control file, using supported versions
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
cd python && python3.12 setup.py test
testAll
testDevel
testOldstable
testStable
testSupported
testLTS
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning:
Unknown distribution option: 'test_suite'
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'test'
testELTS
make[1]: *** [Makefile:39: test-python] Error 1
make[1]: *** Waiting for unfinished jobs....
testUnsupported
testTesting
testFullname
testRelease
testSeries
testCombinedShortform
testReleaseDate
testHelp
testExactlyOne
testUnrecognizedOption
testUnrecognizedArguments
testMissingArgumentAlias
testMissingArgumentDate
testMissingArgumentSeries
testInvalidAlias
testInvalidDate
testInvalidSeries
testMultipleAlias
testMultipleDates
testMultipleSeries
testUnknownSeries
testSourceDateEpoch
testDays
Ran [1;36m31[0m tests.
[1;32mOK[0m
./test-ubuntu-distro-info
testAll
testDevel
testLatest
testLTS
testStable
testSupported
testUnsupported
testFullname
testRelease
testSeries
testCombinedShortform
testReleaseDate
testHelp
testExactlyOne
testUnrecognizedOption
testUnrecognizedArguments
testMissingArgumentDate
testMissingArgumentSeries
testDistributionDataOutdated
testInvalidDate
testInvalidSeries
testMultipleDates
testMultipleSeries
testUnknownSeries
testSourceDateEpoch
testDays
Ran [1;36m26[0m tests.
[1;32mOK[0m
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j8 test returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-08-28T00:08:37Z
-------------------------------------------------------------------------------
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://debusine.debian.net/artifact/552534/
About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.
You can find the build task here:
https://debusine.debian.net/work-request/9652/
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,
Stefano