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

Re: Lintian based autorejects



Michal Čihař <nijel@debian.org> writes:

> And thus is a perfect candidate for a lintian override. Or maybe
> rather filing a wishlist bug for lintian to allow statically linked
> binaries in packages whose name ends with -static.

Already done.  Here's the Lintian code.

    # Some exceptions: files in /boot, /usr/lib/debug/*, named *-static or
    # *.static, or *-static as package-name.
    next if ($file =~ m%^./boot/%);
    next if ($file =~ /(?:\.|-)static$/);
    next if ($pkg =~ /-static$/);
    # klibc binaries appear to be static.
    next if ($objdump->{KLIBC});
    # Location of debugging symbols.
    next if ($file =~ m%^./usr/lib/debug/%);
    # ldconfig must be static.
    next if ($file eq './sbin/ldconfig');
    tag "statically-linked-binary", "$file";

> Just add overrides for all lintian checks which you feel are not
> problem.

And file a bug if you think Lintian could be improved to catch that case.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: