I discovered during compilation of a (slightly) older package that still uses a debhelper (>= 12) compatibility with a debian/compat file stating 12 that the tag missing-build-dependency-for-dh-addon is unable to detect the fact that dh-autoreconf is needed when debhelper >= 10 is specified in the control file or in debian/compat. This resulted in the erroneous errors on missing dh-autoreconf in xca, where it's not needed by debhelper >= 12 with a compat file stating 12. This does not trigger when using "debhelper-compat (= 12)" in debian/control without the debian/compat file, however the tag information and description I saw was this when triggered on mentors.debian.org: autoreconf => dh-autoreconf | debhelper (>= 9.20160403~) | debhelper-compat This suggests that if in debian/control you have a "debhelper (>= 9.20160403~)" line (which "debhelper (>= 12)" qualifies), OR you have debhelper-compat, that this should not trigger. HOWEVER, this triggers unless debhelper-compat is present in the build-depends, suggesting the tag is NOT being correctly matched during Lintian runs if multi-level compatibility or experimental debhelper compatibility (hence "debian/compat" and "debhelper >= 12" being present in a given package) based on what I've read in manpages. This looks like erroneous tag detection. Note that if you put in dh-autoreconf into build-deps it triggers the as-expected useless-autoreconf-build-depends tag. This currently triggers on the XCA package as uploaded to mentors.debian.net yesterday - both versions of the package (the one with dh-autoreconf in build-deps and the verison with debian/compat and "debhelper (>= 12)" in debian/control) exist to show this distinction, and both packages in sid sbuild chroots reproduce this behavior.
We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1000610@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Axel Beckert <abe@debian.org> (supplier of updated lintian package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 29 Jun 2022 02:56:42 +0200
Source: lintian
Architecture: source
Version: 2.115.2
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Axel Beckert <abe@debian.org>
Closes: 880701 970275 973308 1000610 1009679
Changes:
lintian (2.115.2) unstable; urgency=medium
.
The "FFP (Fixing False Positives)" Release.
.
[ Axel Beckert ]
* Automate importing of Debian archive sections. Thanks to Andrius
Merkys. (Closes: #973308)
* Make more testsuite scripts being able to simply run under "prove -l".
* Move libio-prompt-tiny-perl dependency to debian/tests/control.
Cherry-picked from Ubuntu's patches. (LP: #1959004)
* Recognise Mac OS X icons (.icns), SQLite files (.sqlite and .sqlite3)
and PDF (.pdf) documents as binary files.
* Allow HTML files in /usr/share/gtk-doc/html/. (Closes: #970275)
Thanks to Simon McVittie, Daniel Kahn Gillmor and Unit193!
* Refresh (fonts) data.
* Also check dh level for missing-build-dependency-for-dh-addon, not
just for missing-build-dependency-for-dh_-command. (Closes: #1000610)
* Retroactively mention commit fcaded19 in debian/changelog entry of
2.115.0 as it was erroneously marked with "Gbp-Dch: Ignore".
.
[ Guillem Jover ]
* data/fields/name_section_mappings: Add golang section (Closes:
#880701)
.
[ Rafael Laboissière ]
* Ignore files /var/lib/ocaml/lintian/*.info in test for
package-contains-documentation-outside-usr-share-doc (Closes:
#1009679)
Checksums-Sha1:
b6b0f356af7c4f2fde6704b2645bb1e8e66f46aa 2527 lintian_2.115.2.dsc
78291a7d273ceef96d4054c30c6e7a36ced69cb4 2172236 lintian_2.115.2.tar.xz
e74297bb86e37eefdcc39e1d53a2e52c2d6b9483 7274 lintian_2.115.2_source.buildinfo
Checksums-Sha256:
ec69580b137d693f6171f8c933dffb2a864d1523cbeac94d8e993afddc9292af 2527 lintian_2.115.2.dsc
72b3a8dff27694833464e768c72e7b6c42d94eb0c4d6e2219a981a0d87ed6487 2172236 lintian_2.115.2.tar.xz
bee46d1a5e920d55a6ea90ba1e51a906ef3b8d837377ab32f5d1a974c32daee2 7274 lintian_2.115.2_source.buildinfo
Files:
ad1485028953dbc87a240e7363e019ee 2527 devel optional lintian_2.115.2.dsc
4fe4bbf3dba9e70a2a54462f628edafd 2172236 devel optional lintian_2.115.2.tar.xz
b78fce3c630611164b9638e3a03860fa 7274 devel optional lintian_2.115.2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAmK7pSsACgkQa+Zjx1o1
yXV9ThAAqvrlWCu3kNBnTzz/3u1A0bgeMJAJ0hBGe4TgAZ709EMHcJurI/to9UXw
1SYRnS0+F5C0YTL48R/9UiyV8kBUIEntPzQwuUUNEa2j9LkjwnHKcoFhvVGY9oSg
BAfyOip+wtDcA/z6ZuUAXrnrZLlzOdPHbR34l09NYXzwdtXvtM68wQ6Y+ZHYVa3w
rSc5Y0QXvVg99NbkERxhRcuLbe6fRd0bkRiruFz5x56ShMUzMvsQGp7sKgOoaAqy
CpnY/2J6wOa6poBAN+JxOVltHia253Qnacj3C020lNIF3l5cerxFVyQr5zRf655c
duhe+6SQuhSn+4LXd1tUneaepR4N6WQ1CIFCbzhB+5McmdE75hRyG5rzQoTM9NPX
ZJXxbewPkLQzcEG2wrxD/udcbpntPZ5AHpDgkVFKNzGrougNr9GuOtDOLxIj7ntE
4eCVbinB2STSh07Fz+HtVumSDVGpCBBkbSs1+YGmpXGQtc0sVnhI2Ww8cwTVwVIH
wVnR0SFBTDvgqnlaUiQeBjAxKtyY6kAe3Ih2/du4aQhwARLrumAEH9WRo7iafBl6
CfC6BTCjoObdFdHI2F7tqK9VO2N1GbqiHJ/5SvrZoWhWEr2gf4bkniB003au0P8Z
Cujnb8HAPWC+mziPOc7t47aFx1g4d/HYUwJpXTzMJpS3VbRGTTs=
=F0D8
-----END PGP SIGNATURE-----