Package: lintian-brush
Version: 0.144
Dear maintainer:
Running lintian-brush on a package not having any Build-Depends at all
results in a KeyError:
Fixer 'unused-build-dependency-on-cdbs' failed to run.
Script
/usr/share/lintian-brush/fixers/unused-build-dependency-on-cdbs.py
failed with exit code: 1
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/lintian_brush/__init__.py", line
419, in run
exec(code, global_vars)
File
"/usr/share/lintian-brush/fixers/unused-build-dependency-on-cdbs.py",
line 23, in <module>
if new_depends != updater.source['Build-Depends']:
File
"/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line
1348, in __getitem__
v = self._paragraph.get_kvpair_element((item, 0))
File
"/usr/lib/python3/dist-packages/debian/_deb822_repro/parsing.py", line
2215, in get_kvpair_element
return self._kvpair_elements[item]
KeyError: 'Build-Depends'
(BTW: The package is "hello-traditional", an example aimed to show the
sort of things one would have to do if debhelper did not exist, so
switching to debhelper is not an option).
Thanks.