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 #35 received at [email protected] (full text, mbox, reply):

Received: (at 687022) by bugs.debian.org; 10 Jun 2013 21:51:30 +0000
From [email protected] Mon Jun 10 21:51:30 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=-11.4 required=4.0 tests=BAYES_00,FROMDEVELOPER,
	HAS_BUG_NUMBER,MONEY,RCVD_IN_DNSWL_MED,T_RP_MATCHES_RCVD,X_DEBBUGS_NO_ACK
	autolearn=ham version=3.3.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 17; hammy, 138; neutral, 41; spammy,
	0. spammytokens: hammytokens:0.000-+--H*M:jwilk, 0.000-+--H*F:U*jwilk,
	0.000-+--H*r:jwilk, 0.000-+--HX-Debbugs-No-Ack:please, 0.000-+--H*u:1.5.21
Return-path: <[email protected]>
Received: from master.debian.org ([82.195.75.110])
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=master.debian.org,[email protected] (verified)
	by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
	(Exim 4.80)
	(envelope-from <[email protected]>)
	id 1Um9zu-00017Z-HH
	for [email protected]; Mon, 10 Jun 2013 21:51:30 +0000
Received: from jwilk by master.debian.org with local (Exim 4.80)
	(envelope-from <[email protected]>)
	id 1Um9zZ-0001e9-GF; Mon, 10 Jun 2013 21:51:09 +0000
Date: Mon, 10 Jun 2013 23:51:26 +0200
From: Jakub Wilk <[email protected]>
To: Andreas Metzler <[email protected]>, [email protected]
Subject: Re: Bug#687022: lintian: regex error in dev-pkg-without-shlib-symlink
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <[email protected]>
X-Debbugs-No-Ack: please
User-Agent: Mutt/1.5.21 (2010-09-15)
Sender: Jakub Wilk <[email protected]>
* Andreas Metzler <[email protected]>, 2013-06-09, 08:54:
>(SID)ametzler@argenau:/tmp/GCR/libgcrypt-1.5.2$ find debian/ -path debian/tmp -p
>rune -or \( -name libgcrypt.so -or -name libgcrypt.so.11.8.1 \) -print
>debian/libgcrypt11-udeb/lib/libgcrypt.so.11.8.1
>debian/libgcrypt11/lib/i386-linux-gnu/libgcrypt.so.11.8.1
>debian/libgcrypt11-dev/lib/i386-linux-gnu/libgcrypt.so
>debian/libgcrypt11-dbg/usr/lib/debug/lib/libgcrypt.so.11.8.1
>debian/libgcrypt11-dbg/usr/lib/debug/lib/i386-linux-gnu/libgcrypt.so.11.8.1
>----------------
>lintian seems to expect the .so symlink in /usr/lib although the 
>library lives in /lib.

Indeed, but that's the documentation behavior. From the tag description:

"The symlink is generally expected in the same directory as the library 
itself. The major exception to this rule is if the library is installed 
in (or beneath) /lib, where the symlink must be installed in the same 
dir beneath /usr.

Example: If the library is installed in /lib/i386-linux-gnu/libXYZ.so.V, 
the symlink is expected at /usr/lib/i386-linux-gnu/libXYZ.so."

The static library and the .so symlink are certainly never needed before 
/usr is mounted, so they should live in /usr/lib, not in /lib.

-- 
Jakub Wilk



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:43:29 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.