Debian Bug report logs - #687022
lintian: regex error in lacks-unversioned-link-to-shared-library

version graph

Package: lintian; Maintainer for lintian is Debian Lintian Maintainers <[email protected]>; Source for lintian is src:lintian (PTS, buildd, popcon).

Reported by: Leo 'costela' Antunes <[email protected]>

Date: Sat, 8 Sep 2012 14:54:02 UTC

Severity: normal

Tags: moreinfo, patch

Found in versions lintian/2.5.10.1, lintian/2.5.13

Full log


Message #60 received at [email protected] (full text, mbox, reply):

Received: (at 687022) by bugs.debian.org; 23 Sep 2013 18:16:13 +0000
From [email protected] Mon Sep 23 18:16:13 2013
X-Spam-Checker-Version: SpamAssassin 3.3.2-bugs.debian.org_2005_01_02
	(2011-06-06) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 151; neutral, 89; spammy,
	0. spammytokens: hammytokens:0.000-+--H*r:2a01, 0.000-+--H*RU:2a01,
	0.000-+--H*r:e35, 0.000-+--H*RU:e35, 0.000-+--H*u:1.5.21
Return-path: <[email protected]>
Received: from smtp2-g21.free.fr ([212.27.42.2])
	by buxtehude.debian.org with esmtp (Exim 4.80)
	(envelope-from <[email protected]>)
	id 1VOAg8-0007fF-Ps
	for [email protected]; Mon, 23 Sep 2013 18:16:13 +0000
Received: from yellowpig (unknown [IPv6:2a01:e35:2f45:9a0:ba76:3fff:fef7:e4d5])
	by smtp2-g21.free.fr (Postfix) with ESMTP id 154574B019A;
	Mon, 23 Sep 2013 20:16:01 +0200 (CEST)
Received: from bill by yellowpig with local (Exim 4.80)
	(envelope-from <[email protected]>)
	id 1VOAfv-00083m-Le; Mon, 23 Sep 2013 20:15:59 +0200
Date: Mon, 23 Sep 2013 20:15:59 +0200
From: Bill Allombert <[email protected]>
To: Niels Thykier <[email protected]>
Cc: [email protected], Leo 'costela' Antunes <[email protected]>
Subject: Re: Bug#687022: found also with libm4ri
Message-ID: <20130923181559.GC15320@yellowpig>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
 <20130920224606.GH5780@yellowpig>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.5.21 (2010-09-15)
On Mon, Sep 23, 2013 at 04:26:28PM +0200, Niels Thykier wrote:
> > This might explain the large number of false positive for a test which is
> > marked "certain". This is a regression from previous lintian version.
> > 
> > So I think using a regexp is misguided. It would be more reliable to follow the
> > symlink.
> > 
> > Cheers,
> 
> The git history (which takes us back to 2004) shows that we have been
> using the regex-approach for the past 9 years[1].  snapshot.d.o go as
> far back as 0.9.3 (27 Oct 1998) and that version has the same regex as
> the code had in 2004.  So this "regression" must be at least 15 years
> old now. :)

I did not meant to say that using a regexp was a regression, but that
this bugreport was about a regression :)

Doing a bisection I find the first version to report a false positive for 
the pari package is lintian 2.5.7.

Indeed, the changelog says:

  * checks/shared-libs:
    + [NT] Fix false positive "dev-pkg-without-shlib-symlink"
      for shared libraries using "libtool -release X.Y".
      Thanks to Sven Joachim for the report.  (Closes: #673109)
    + [NT] Fix false positive "dev-pkg-without-shlib-symlink"
      for shared libraries installed in /lib.  Lintian now
      correctly expects the dev-symlink beneath /usr/lib.
      Thanks to Guillem Jover for the report.

So certainly the test was changed.

One other example of false positive I found is that lintian does not allow 
usr/lib/libfoo.so -> usr/lib/x86_64-linux-gnu/libfoo.so.X.Y.Z
which happens in multiarch transition.

Cheers,
Bill.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:46:19 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.