Bug#552729: lintian: weak-library-dev-dependency shouldn't trigger for some (most?) cases that are not "= ${binary:Version}"
Package: lintian
Version: 2.2.17
Severity: normal
There are various cases where you don't need to have -dev packages strictly
depend on the binary version, or even sometimes, need it *not to* be a strict
dependency on the binary version.
One of these cases is when the -dev package is arch: all, where using
${binary:Version} will fail after a binNMU. (This also makes the arch: all
package uninstallable on architectures other than the one a DD uploaded a
build for, until the buildds keep up, which can take a while ; this has been
a long-standing bug of the debian archive)
For instance, I use (>= ${source:Upstream-Version}),(<= ${source:Version}.1~)
in such cases.
Another of these cases is when both API and ABI are stable: you can surely
link against a newer version with the old API headers. Even when ABI is
unstable, the package that is depended upon is supposed to change its name
related to the SONAME.
There are probably actually a very few cases where such a tight dependency
is strictly needed.
Finally, I'm not sure this should be an error, since it's "only" a "should" in
policy.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lintian depends on:
ii binutils 2.20-1 The GNU assembler, linker and bina
ii diffstat 1.47-1 produces graph of changes introduc
ii dpkg-dev 1.15.4.1 Debian package development tools
ii file 5.03-2 Determines file type using "magic"
ii gettext 0.17-8 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1 Perl module that automatically gen
ii libipc-run-perl 0.84-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.1900-1 Time and date functions for Perl
ii liburi-perl 1.37+dfsg-1 Manipulates and accesses URI strin
ii man-db 2.5.6-3 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-5 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
ii libtext-template-perl 1.45-1 Text::Template perl module
ii man-db 2.5.6-3 on-line manual pager
-- no debconf information
Reply to: