Package: dpkg-dev
Version: 1.14.16.6
Severity: wishlist

Hello.

Manoj mentioned on IRC an interesting script of him [1] that does check
about unneeded NEEDED entries in binaries, but with an interesting
feature: only warns if the spurious library linked again is not needed
by some other binary in the same *binary* package. In other words, only
warn when the spurious linking introduces a spurious dependency at
package-level.

I think it'd be great if dpkg-shlibdeps could support that, via a
switch. And, possibly, I think it ought to be made the default,
retaining the current behaviour with a --strict switch or something.

I realize this is not straightforward to implement, since it means
warnings can't be emitted as they are found. However, I'm convinced it
would boost the useability of these warnings (which sadly people tend to
ignore at the moment). What do you think?

Cheers,

  [1] http://people.debian.org/~srivasta/checklibs

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
Kindness is a language which the deaf can hear and the blind can read.
                -- Mark Twain




Reply via email to