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


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#687022: lintian: regex error in dev-pkg-without-shlib-symlink
Reply-To: Niels Thykier <[email protected]>, [email protected]
Resent-From: Niels Thykier <[email protected]>
Resent-To: [email protected]
Resent-CC: Debian Lintian Maintainers <[email protected]>
X-Loop: [email protected]
Resent-Date: Fri, 14 Sep 2012 12:51:04 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 687022
X-Debian-PR-Package: lintian
X-Debian-PR-Keywords: patch
X-Debian-PR-Source: lintian
Received: via spool by [email protected] id=B687022.134762689610179
          (code B ref 687022); Fri, 14 Sep 2012 12:51:04 +0000
Received: (at 687022) by bugs.debian.org; 14 Sep 2012 12:48:16 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
	(2010-03-16) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_NONE autolearn=ham
	version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 126; neutral, 48; spammy,
	0. spammytokens: hammytokens:0.000-+--(unknown), 0.000-+--(unknown),
	0.000-+--(unknown), 0.000-+--(unknown), 0.000-+--(unknown)
Received: from csmtp2.one.com ([91.198.169.22])
	by buxtehude.debian.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.72)
	(envelope-from <[email protected]>)
	id 1TCVJg-0002cb-2I
	for [email protected]; Fri, 14 Sep 2012 12:48:16 +0000
Received: from [82.211.223.161] (unknown [82.211.223.161])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by csmtp2.one.com (Postfix) with ESMTPSA id 7988C304363C;
	Fri, 14 Sep 2012 12:48:06 +0000 (UTC)
Message-ID: <[email protected]>
Date: Fri, 14 Sep 2012 14:48:06 +0200
From: Niels Thykier <[email protected]>
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.6esrpre) Gecko/20120817 Icedove/10.0.6
MIME-Version: 1.0
To: Leo 'costela' Antunes <[email protected]>, [email protected]
References: <[email protected]>
In-Reply-To: <[email protected]>
X-Enigmail-Version: 1.4.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
On 2012-09-08 16:42, Leo 'costela' Antunes wrote:
> Package: lintian
> Version: 2.5.10.1
> Severity: normal
> Tags: patch
> 
> Hi,
> 

Hi,

> The attached patch fixes two small issues affecting the
> dev-pkg-without-shlib-symlink check:
> 1) a missing '+' in the regex for libtool-style filenames

This appears to be right.

> 2) the order of regex substitutions: the first one would never match since it assumed the second had already been performed.
> 
> Cheers
> 
> [...]

But I am not certain about this part.  I believe it is intentional to do
it in that order based on:

"""
Tag: package-name-doesnt-match-sonames
Severity: normal
Certainty: possible
Info: [...]
 .
  $ [...] sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; [...]
                      ^^^^^^^^^^^^^^^^^     ^^^^^^^^^^
"""

I believe that only one of them are supposed to match.

~Niels

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:28:33 2025; Machine Name: buxtehude

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.