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

Re: How does lintian detect the presence of static libs?



Hi,

On Mon, 2013-06-03 at 12:26 +0100, Richard Williams wrote:
>         E: indiecity-client: embedded-library
>         usr/bin/indiecity-client: tinyxml
> This is understandable. However, we've renamed the statically-linked
> custom tinyxml to 'icxml', to make it clear that this is not the same
> library, but the error persists verbatim.
[...]
> I was wondering if you could please advise me on how lintian detects a
> static library being used and how we can convince this mechanism that
> our lib is significantly different, or if an override is appropriate
> in this case.

Lintian matches strings in the binary against known text from common
static libraries;
see /usr/share/lintian/vendors/debian/ftp-master-auto-reject/data/binaries/embedded-libs

In the specific case of tinyxml:

tinyxml   ||Error when TiXmlDocument added to document

where the text after the "||" is what's being matched. For a local
package, an override should be fine, imho.

Regards,

Adam


Reply to: