[Pkg-rpm-devel] Bug#844421: rpmlint: FTBFS (failing tests)

Santiago Vila sanvila at debian.org
Tue Nov 15 15:12:11 UTC 2016


Package: src:rpmlint
Version: 1.9-4
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python2
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f __version__.py
rm -f __isocodes__.py
ISO_3166_1_URL="file:///usr/share/iso-codes/json/iso_3166-1.json" \
ISO_639_3_URL="file:///usr/share/iso-codes/json/iso_639-3.json" \
dh_auto_build
	make -j1

[... snipped ...]

test/test_scl.py::TestSCLBinary::test_scl_name_screwed_up PASSED
test/test_scl.py::TestSCLBinary::test_scl_forbidden_folders PASSED
test/test_scl.py::TestSCLBinary::test_scl_macros_outside_of_build PASSED

========================== 30 passed in 7.59 seconds ===========================
flake8 tests
./Config.py:84:1: E305 expected 2 blank lines after class or function definition, found 1
./Config.py:98:1: E305 expected 2 blank lines after class or function definition, found 1
./Config.py:112:1: E305 expected 2 blank lines after class or function definition, found 1
./Config.py:133:1: E305 expected 2 blank lines after class or function definition, found 1
./Config.py:143:1: E305 expected 2 blank lines after class or function definition, found 1
./PostCheck.py:194:1: E305 expected 2 blank lines after class or function definition, found 1
./FilesCheck.py:314:1: E305 expected 2 blank lines after class or function definition, found 1
./FilesCheck.py:1003:1: E305 expected 2 blank lines after class or function definition, found 1
./ConfigCheck.py:33:1: E305 expected 2 blank lines after class or function definition, found 1
./BinariesCheck.py:282:1: E305 expected 2 blank lines after class or function definition, found 1
./BinariesCheck.py:554:1: E305 expected 2 blank lines after class or function definition, found 1
./SignatureCheck.py:41:1: E305 expected 2 blank lines after class or function definition, found 1
./Pkg.py:69:1: E305 expected 2 blank lines after class or function definition, found 1
./Pkg.py:144:1: E305 expected 2 blank lines after class or function definition, found 1
./Pkg.py:198:1: E305 expected 2 blank lines after class or function definition, found 1
./RpmFileCheck.py:37:1: E305 expected 2 blank lines after class or function definition, found 1
./PamCheck.py:31:1: E305 expected 2 blank lines after class or function definition, found 1
./AbstractCheck.py:108:1: E305 expected 2 blank lines after class or function definition, found 1
./SpecCheck.py:40:1: E305 expected 2 blank lines after class or function definition, found 1
./SpecCheck.py:610:1: E305 expected 2 blank lines after class or function definition, found 1
./ZipCheck.py:26:1: E305 expected 2 blank lines after class or function definition, found 1
./NamingPolicyCheck.py:72:1: E305 expected 2 blank lines after class or function definition, found 1
./LSBCheck.py:43:1: E305 expected 2 blank lines after class or function definition, found 1
./I18NCheck.py:161:1: E305 expected 2 blank lines after class or function definition, found 1
./FHSCheck.py:53:1: E305 expected 2 blank lines after class or function definition, found 1
./MenuXDGCheck.py:66:1: E305 expected 2 blank lines after class or function definition, found 1
./SourceCheck.py:46:1: E305 expected 2 blank lines after class or function definition, found 1
./test/test.SpecCheck.py:34:1: E305 expected 2 blank lines after class or function definition, found 1
./test/test.SpecCheck2.py:20:1: E305 expected 2 blank lines after class or function definition, found 1
./test/test.Pkg.py:33:1: E305 expected 2 blank lines after class or function definition, found 1
./test/test.SpecCheck3.py:20:1: E305 expected 2 blank lines after class or function definition, found 1
./test/test.PamCheck.py:25:1: E305 expected 2 blank lines after class or function definition, found 1
Makefile:60: recipe for target 'check' failed
make[2]: *** [check] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:18: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:21: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The relevant part of the build log is included above.

I'm building on stretch.
This started failing for me on 2016-11-14.
Before 2016-11-08, it built ok:

[...]
Status: successful  rpmlint_1.9-4_amd64-20161108T145316Z
Status: failed      rpmlint_1.9-4_amd64-20161114T151128Z
[...]

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 page for this package.

Thanks.



More information about the Pkg-rpm-devel mailing list