Source: lintian-brush
Version: 0.102
Severity: important

Hello, the package FTBFS in Ubuntu, I think because if_vendor and vendor are 
one Ubuntu and the other Debian

fixer sanity test: public-upstream-key-in-native-package ... ok
fixer sanity test: pubkey ... ok
fixer test: last for debian-rules-uses-as-needed-linker-flag ... ok
fixer test: split for debian-rules-uses-as-needed-linker-flag ... ok
fixer test: simple for debian-rules-uses-as-needed-linker-flag ... ok
fixer sanity test: debian-rules-uses-as-needed-linker-flag ... ok
fixer test: simple for debian-rules-uses-special-shell-variable ... ok
fixer sanity test: debian-rules-uses-special-shell-variable ... ok
fixer test: simple for debian-rules-parses-dpkg-parsechangelog ... ok
fixer sanity test: debian-rules-parses-dpkg-parsechangelog ... ok
fixer test: source for field-name-typo-in-control ... Traceback (most recent 
call last):
  File "/<<PKGBUILDDIR>>/fixers/field-name-typo-in-control.py", line 10, in 
<module>
    valid_field_names.update(known_source_fields(vendor()))
  File "/<<PKGBUILDDIR>>/lintian_brush/lintian.py", line 101, in 
known_source_fields
    return _read_test_fields(KNOWN_SOURCE_FIELDS_PATH, vendor)
  File "/<<PKGBUILDDIR>>/lintian_brush/lintian.py", line 84, in 
_read_test_fields
    fields = list(read_list_file(f, vendor=vendor))
  File "/<<PKGBUILDDIR>>/lintian_brush/lintian.py", line 54, in read_list_file
    raise ValueError('invalid check %r' % cond)
ValueError: invalid check '@if-vendor-is-not'
FAIL
fixer sanity test: field-name-typo-in-control ... ok

======================================================================
FAIL: fixer test: source for field-name-typo-in-control
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/lintian_brush/tests/fixers.py", line 105, in runTest
    self.assertEqual(p.returncode, 0)
AssertionError: 1 != 0

----------------------------------------------------------------------
Ran 762 tests in 73.065s

FAILED (failures=1, expected failures=1)
Test failed: <unittest.runner.TextTestResult run=762 errors=0 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=762 errors=0 failures=1>
E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: 
python3.9 setup.py test 
dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit 
code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Unfortunately I don't understand too much the code around to provide a good 
patch...
https://launchpadlibrarian.net/530679036/buildlog_ubuntu-hirsute-amd64.lintian-brush_0.102_BUILDING.txt.gz

I hope you can dig into the issue if possible

thanks

Gianfranco

Reply via email to