Package: lintian Version: 2.5.52 Severity: normal When packaging mdocml 1.14.3, lintian noted that the autotools-dev build-dependency was unnecessary with debhelper ≥ 10 and should be removed:
W: mdocml source: useless-autoreconf-build-depends autotools-dev After doing that, lintian noted that the autotools_dev addon was missing a dependency on autotools-dev: E: mdocml source: missing-build-dependency-for-dh-addon autotools_dev => autotools-dev This error seems to directly contradict the earlier warning. Not only src:mdocml is affected: e.g. src:teg removed the build dependency in https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/teg/debian/control?r1=15952&r2=15990 and now shows up in https://lintian.debian.org/tags/missing-build-dependency-for-dh-addon.html. What course of action is correct? Which warning should be removed from lintian? -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386, armel, mipsel, arm64 Kernel: Linux 4.11.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages lintian depends on: ii binutils 2.28-6 ii bzip2 1.0.6-8.1 ii diffstat 1.61-1+b1 ii dpkg 1.18.24 ii file 1:5.30-1 ii gettext 0.19.8.1-2+b1 ii intltool-debian 0.35.0+20060710.4 ii libapt-pkg-perl 0.1.32+b2 ii libarchive-zip-perl 1.59-1 ii libclass-accessor-perl 0.34-1 ii libclone-perl 0.38-2+b2 ii libdpkg-perl 1.18.24 ii libemail-valid-perl 1.202-1 ii libfile-basedir-perl 0.07-1 ii libipc-run-perl 0.94-1 ii liblist-moreutils-perl 0.416-1+b3 ii libparse-debianchangelog-perl 1.2.0-12 ii libperl5.22 [libdigest-sha-perl] 5.22.2-5 ii libperl5.26 [libdigest-sha-perl] 5.26.0-4 ii libtext-levenshtein-perl 0.13-1 ii libtimedate-perl 2.3000-2 ii liburi-perl 1.71-1 ii libxml-simple-perl 2.22-1 ii libyaml-libyaml-perl 0.63-2+b2 ii man-db 2.7.6.1-2 ii patchutils 0.3.4-2 ii perl 5.26.0-4 ii t1utils 1.39-2 ii xz-utils 5.2.2-1.3 Versions of packages lintian recommends: pn libperlio-gzip-perl <none> Versions of packages lintian suggests: pn binutils-multiarch <none> ii dpkg-dev 1.18.24 ii libhtml-parser-perl 3.72-3+b2 ii libtext-template-perl 1.46-1 -- no debconf information