Bug#557883: lintian: false positive in lib-recommends-documentation (name vs. content)
Package: lintian
Version: 2.2.18
Severity: normal
*** Please type your report below this line ***
lintian is reporting lib-recommends-documentation on the libvips-tools
package. This is a false positive because libvips-tools is not a
library package. Perhaps it should be called something different, like
vips-tools, but I think the real problem is that lintian is assuming a
library package based on the package name rather than the package
contents. The libvips-tools package contains no .so.* files. In fact,
it doesn't even contain any lib directories.
I think this test would be better implemented to check the contents of
the package looking for /usr/lib/*.so.* files rather than doing a regexp
on the name and trying to special-case out -dev and -doc packages, which
seems rather fragile to me. I imagine there will be many false
positives otherwise.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (200, '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/dash
Versions of packages lintian depends on:
ii binutils 2.20-4 The GNU assembler, linker and bina
ii diffstat 1.47-1 produces graph of changes introduc
ii dpkg-dev 1.15.5.2 Debian package development tools
ii file 5.03-3 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-4 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-8 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
pn libtext-template-perl <none> (no description available)
ii man-db 2.5.6-4 on-line manual pager
-- no debconf information
Reply to: