Bug#726589: lintian: version-substvar-for-external-package false positive if the package name contains substvars, too
Package: lintian
Version: 2.5.19
Severity: normal
this looks like a recent regression, iirc 2.5.17 didn't show this:
E: nvidia-graphics-drivers source: version-substvar-for-external-package nvidia-driver -> glx
E: nvidia-graphics-drivers source: version-substvar-for-external-package xserver-xorg-video-nvidia -> glx
excerpts from debian/control:
#Package: ${nvidia}-driver
Package: nvidia-driver
Depends:
libgl1-${nvidia}-glx (= ${binary:Version}),
xserver-xorg-video-${nvidia} (= ${binary:Version}),
nvidia-vdpau-driver (= ${binary:Version}),
${nvidia-alternative} (= ${binary:Version}),
${nvidia:kmod:binary},
nvidia-support,
${shlibs:Depends}, ${misc:Depends}
#Package: xserver-xorg-video-${nvidia}
Package: xserver-xorg-video-nvidia
Depends:
libgl1-${nvidia}-glx (= ${binary:Version}),
${nvidia-alternative} (= ${binary:Version}),
nvidia-support (>= 20120630),
${nvidia:xorgDepends},
${shlibs:Depends}, ${misc:Depends}
Andreas
PS: if you are asking why I'm doing this ... the same
Depends/Recommends/Suggests blocks are used in the packaging of
nvidia-graphics-drivers-legacy-ABCxx with a different value of
${nvidia}, because I want to keep the diff minimal for easy
diffing and merging...
-- System Information:
Debian Release: 7.2
APT prefers stable
APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (500, 'stable-updates'), (130, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.7-trunk-amd64 (SMP w/8 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.23.90.20130927-1
ii bzip2 1.0.6-4
ii diffstat 1.55-3
ii file 5.11-2
ii gettext 0.18.1.1-9
ii hardening-includes 2.2
ii intltool-debian 0.35.0+20060710.1
ii libapt-pkg-perl 0.1.26+b1
ii libarchive-zip-perl 1.30-6
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.31-1+b2
ii libdigest-sha-perl 5.71-2+deb7u1
ii libdpkg-perl 1.16.12
ii libemail-valid-perl 0.190-1
ii libfile-basedir-perl 0.03-1
ii libipc-run-perl 0.92-1
ii liblist-moreutils-perl 0.33-1+b1
ii libparse-debianchangelog-perl 1.2.0-1
ii libtext-levenshtein-perl 0.06~01-1
ii libtimedate-perl 1.2000-1
ii liburi-perl 1.60-1
ii man-db 2.6.2-1
ii patchutils 0.3.2-1.1
ii perl [libdigest-sha-perl] 5.14.2-21+deb7u1
ii t1utils 1.37-1
Versions of packages lintian recommends:
ii libperlio-gzip-perl 0.18-1+b2
ii perl-modules [libautodie-perl] 5.14.2-21+deb7u1
Versions of packages lintian suggests:
ii binutils-multiarch 2.23.90.20130927-1
ii dpkg-dev 1.16.12
ii libhtml-parser-perl 3.69-2
ii libtext-template-perl 1.45-2
ii xz-utils 5.1.1alpha+20120614-2
-- no debconf information
Reply to: