Bug#944551: lintian: missing-python-build-dependency false positive
Package: lintian
Version: 2.34.0
musescore-general-soundfont (0.1.8-1) which I’m about to upload
triggers this…
E: musescore-general-soundfont source: missing-python-build-dependency
… despite Build-Depending on python3-minimal. Incidentally, the
musescore-general-soundfont-small (0.1.8-1) sister package doesn’t
trigger it.
The -small one (doesn’t trigger) uses py3k in d/rules like this:
set -- *.[Ss][Ff]2; \
cmt=$$(sed '1,/^Licence:$$/d' debian/copyright | sed 1d; echo x); \
python3 debian/riffedit.py "$$1" builddir/tmp.sf2 \
[…]
The full one (triggers) has an additional line:
python3 debian/riffedit.py \
builddir/tmp.sf2 builddir/${sfbasename}.sf2 \
-az 'LIST<INFO>/INAM' '${sfbasename}.sf2'
I suspect the check is flawed in that it checks for debian/rules
lines matching /^\tpython/ (so it doesn’t trigger when the call
is part of a pipeline; if so, the 0.1.7-2 version currently in the
archive would also trigger this false positive) and mis-detects
the py3k call as a call to python.
bye,
//mirabilos
--
<ch> you introduced a merge commit │<mika> % g rebase -i HEAD^^
<mika> sorry, no idea and rebasing just fscked │<mika> Segmentation
<ch> should have cloned into a clean repo │ fault (core dumped)
<ch> if I rebase that now, it's really ugh │<mika:#grml> wuahhhhhh
Reply to: