[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#340934: lintian check for unneeded/transitive shlibs dependencies



On Sun, Nov 27, 2005 at 04:30:49AM +0100, Henning Makholm wrote:
> The check is a bit unorthodox in that it needs to have the referenced
> libraries present on the host system (where lintian is run) and runs
> objdump over them to figure out which symbols they export.  Linkage to
> libraries that cannot be found at lintian time will be silently
> accepted as "not superfluous".

This is, unfortunately, exactly something that I'd really rather not have
in lintian: different results depending on what you've installed on your
system. This causes confusion, and for example lintian.debian.org will then
provide really different results, possibly even bogus results because
lintian.debian.org runs on stable, which is different from unstable.

On the long term maybe this is possible with the addition of some
particular lintian-fu that allows cross-package checking, but that is
definitely long-term and not available soon enough for this test to help.

For this case, I'd seek to either run this on the whole archive and provide
some interface to the results via people.debian.org, or look whether
piuparts maybe can incorporate something like this -- piuparts runs as root
and can and will install the dependencies in its unstable chroot -- at
which time certain tests can be run.

I'm leaving this bugreport open for now to allow other lintian maintainers
to comment.

--Jeroen

-- 
Jeroen van Wolffelaar
jeroen@wolffelaar.nl
http://jeroen.A-Eskwadraat.nl



Reply to: