Package: src:distro-info
Version: 1.9
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g 
-O2 -std=gnu99 -Wl,-z,relro -Wl,-z,now -o debian-distro-info debian-distro-info.c
cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wextra -g 
-O2 -std=gnu99 -Wl,-z,relro -Wl,-z,now -o ubuntu-distro-info ubuntu-distro-info.c
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
        make -j2 test
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
testAll
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
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
cd python && python3.12 -m unittest discover
testOldstable
testStable
testSupported
testLTS
testELTS
testUnsupported
testTesting
testFullname
.............................testRelease
testSeries
testCombinedShortform
testReleaseDate
testHelp
testExactlyOne
testUnrecognizedOption
testUnrecognizedArguments
testMissingArgumentAlias
testMissingArgumentDate
testMissingArgumentSeries
testInvalidAlias
testInvalidDate
testInvalidSeries
testMultipleAlias
testMultipleDates
testMultipleSeries
testUnknownSeries
testSourceDateEpoch
testDays
.
Ran 31 tests.

OK
./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 26 tests.

OK
F........
======================================================================
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 found issues:
************* Module distro_info
distro_info.py:58:4: R0917: Too many positional arguments (11/5) 
(too-many-positional-arguments)

----------------------------------------------------------------------
Ran 39 tests in 4.748s

FAILED (failures=1)
make[1]: *** [Makefile:39: test-python] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test returned exit code 2
make: *** [debian/rules:6: binary] Error 25
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/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.

Reply via email to