#1140893 lintian: missing-build-dependency-for-dh-addon false positive

Package:
lintian
Source:
lintian
Submitter:
Christoph Anton Mitterer
Date:
2026-06-28 02:17:02 UTC
Severity:
normal
#1140893#5
Date:
2026-06-28 02:15:50 UTC
From:
To:
Hey.

I use: --with single-binary in d/rules which (alone) cause lintian to complain:
E: foo source: missing-build-dependency-for-dh-addon single_binary (does not satisfy libdebhelper-perl:any) [debian/rules]

$ lintian-explain-tags missing-build-dependency-for-dh-addon
N:
E: missing-build-dependency-for-dh-addon
N:
N:   The source package appears to be using a dh addon but doesn't build depend
N:   on the package that actually provides it. If it uses it, it must build
N:   depend on it.
N:
N:   Visibility: error
N:   Show-Always: no
N:   Check: debhelper
N:

But isn't that a false positive? The package anyway depends already on
debhelper (via `Build-Depends: debhelper-compat (= 14)`) and the also
provides single_binary.

Also shouldn't it print single-binary rather than single_binary?

Cheers,
Chris.