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

Re: How does lintian detect embedded-zlib?



On Tue, Apr 13, 2010 at 10:22:55PM +0200, Matthias Klumpp wrote:
> Hello!
> Cause binaries generated by the FPC (FreePascalCompiler) produce the
> Lintian error "embedded-zlib", I cannot upload a new version of a package I
> maintain which overrides this error. (It's not allowed to override it at
> time)

You can override this.  I do so for plt-scheme.

> So I started some research why this error is shown. FPC - generally - does
> not link any lib statically, so this ZLib error is bit strange.
> How does Lintian detect the embedded zlib in binaries?

From /usr/share/lintian/checks/binaries:

    if ($info->field('source') ne 'zlib' and $info->field('source') ne 'klibc'
        and $strings =~ /(?:in|de)flate (?:\d[ \w.\-]{1,20}[\w.\-])/m) {
        tag "embedded-zlib", $file;
    }

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: