Bug#279754: lintian: missing-depends-line test appears too general
Package: lintian
Version: 1.23.3
Severity: normal
Hi, I triggered this warning building a small package that consists of
a couple of binaries and a shared lib that nothing other than these
binaries has any reason to use at present. I know it is bad form to
jam all this in a single package as a general rule etc. but the test
still appears to be failing for reasons unrelated to any opinion on that.
dpkg-shlibdeps appears to correctly not make the package 'depend on itself'
when it sees the executable and lib objects in the same package.
The problem then is that if the package is so simple as to have no other
external deps, the Depends field is dropped from its control and this
warning is wrongly flagged.
Confirmed that it 'goes away' if I add a random (even non existant)
extra dependency to preserve the Depends in the .deb.
Not likely to strike a lot of well formed packages at present I would
guess, but more and more people are splitting parts of their code out
as small (typically) shared libs, so that may change...
cheers, and as always Kudos to all the people maintaining this one,
Ron
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27+acpi+wacom
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages lintian depends on:
ii binutils 2.15-4 The GNU assembler, linker and bina
ii diffstat 1.34-1 produces graph of changes introduc
ii file 4.10-3 Determines file type using "magic"
ii gettext 0.14.1-6 GNU Internationalization utilities
ii man-db 2.4.2-19 The on-line manual pager
ii perl [libdigest-md5-perl] 5.8.4-3 Larry Wall's Practical Extraction
-- no debconf information
Reply to: