Lintian ReportsBETA

Wexcessive-debhelper-overrides

Tag versions

The tag is present in Lintian version 2.104.234. That is the most recent version we know about.

The debian/rules file appears to include a suspiciously high number of override_dh_-style overrides.

It is likely that is this was intended to optimise package builds by introducing "no-op" overrides that avoid specific debhelper commands.

However, whilst using overrides are not a problem per-se, such a list is usually subject to constant revision, prevents future debhelper versions fixing archive-wide problems, adds unnecessary noise/distraction for anyone reviewing the package, and increases the package's "bus factor". It is, in addition, aesthetically displeasing.

Furthermore, this is typically a premature optimisation. debhelper already includes optimizations to avoid running commands when unnecessary. If you find a debhelper command taking unnecessarily long when it has no work to do, please work with the debhelper developers to help debhelper skip that command in more circumstances, optimizing not only your package build but everyone else's as well.

Please remove the unnecessary overrides.

Refer to the debhelper(7) manual page and the dh(1) manual page for details.

Visibility: warning

Check: debhelper

The following 29 source packages in the archive triggered the tag 29 times.

We found 1 overrides. The tag performed 97% of the time.