Bug#580494: lintian: stronger-dependency-implies-weaker false positives on package names containing substvars
Package: lintian
Version: 2.4.1
Severity: normal
Hi,
lintian reports incorrectly
W: nvidia-graphics-drivers source: stronger-dependency-implies-weaker libcuda1-ia32 recommends -> suggests nvidia-kernel${nvidia:Legacy}-source (>= ${nvidia:Version})
for the following contruct in debian/control:
Package: libcuda1
Recommends: nvidia-kernel${nvidia:Legacy}-${nvidia:Version}
Suggests: nvidia-kernel${nvidia:Legacy}-source (>= ${nvidia:Version})
Looks like lintian only considers 'nvidia-kernel' as the package name,
omitting the substvars and everything coming after them. For the source
package the full package name including unsubstituted substvars should be
considered when comparing them, "collisions" (= different substitutions
resulting in the same package name really creating a
stronger-dependency-implies-weaker relalationship) can be detected in the
binary packages.
Andreas
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (800, 'testing'), (800, 'stable'), (600, 'unstable'), (130, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-0-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, 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.51.20100418-1 The GNU assembler, linker and bina
ii diffstat 1.47-1 produces graph of changes introduc
ii dpkg-dev 1.15.7.1 Debian package development tools
ii file 5.04-2 Determines file type using "magic"
ii gettext 0.17-11 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-per 0.34-1 Perl module that automatically gen
ii libdigest-sha-perl 5.48-1 Perl extension for SHA-1/224/256/3
ii libipc-run-perl 0.89-1 Perl module for running processes
ii libparse-debianchange 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl 1.54-1 module to manipulate and access UR
ii locales 2.10.2-6 Embedded GNU C Library: National L
ii man-db 2.5.7-2 on-line manual pager
ii perl [libdigest-sha-p 5.10.1-12 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
ii binutils-multiarch 2.20.51.20100418-1 Binary utilities that support mult
pn libtext-template-perl <none> (no description available)
ii man-db 2.5.7-2 on-line manual pager
-- no debconf information
Reply to: