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

Bug#324121: marked as done (lintian: false positives in package-name-doesnt-match-sonames)



Your message dated Sun, 28 Aug 2005 13:47:08 -0700
with message-id <E1E9U3Y-0004bc-00@spohr.debian.org>
and subject line Bug#324121: fixed in lintian 1.23.12
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Aug 2005 11:07:17 +0000
>From tv@beamnet.de Sat Aug 20 04:07:17 2005
Return-path: <tv@beamnet.de>
Received: from server.beamnet.de [62.75.155.124] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E6RC1-00072B-00; Sat, 20 Aug 2005 04:07:17 -0700
Received: from [192.168.0.7] (p54A00F74.dip0.t-ipconnect.de [84.160.15.116])
	(sasl authenticated)
	by server.beamnet.de (Postfix) with ESMTP id 2B7CF2316326
	for <submit@bugs.debian.org>; Sat, 20 Aug 2005 13:07:11 +0200 (CEST)
Message-ID: <[🔎] 43070ED8.5060001@beamnet.de>
Date: Sat, 20 Aug 2005 13:07:04 +0200
From: Thomas Viehmann <tv@beamnet.de>
Organization: beamNet
User-Agent: Debian Thunderbird 1.0.6 (X11/20050802)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: lintian: false positives in package-name-doesnt-match-sonames
X-Enigmail-Version: 0.92.0.0
Content-Type: multipart/mixed;
 boundary="------------060707070901040002090403"
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part message in MIME format.
--------------060707070901040002090403
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Package: lintian
Severity: normal
Version: 2.3.11
Tags: patch

Hi Frank and all,

thanks for the package-name-doesnt-match-sonames check!
However, I'd like to offer two reductions of false positives:
- allow c2 suffices for the C++-transition,
- lowercase sonames (e.g. for libX*).

Attached is a quick patch.

Kind regards

T.

P.S.: Would you entertain a patch for #253884?
-- 
Thomas Viehmann, http://thomas.viehmann.net/

--------------060707070901040002090403
Content-Type: text/plain;
 name="lintian.gcctransitionsonameincheck.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="lintian.gcctransitionsonameincheck.diff"

--- lintian-1.23.11/checks/binaries~	2005-07-24 01:09:01.000000000 +0200
+++ lintian-1.23.11/checks/binaries	2005-08-20 13:05:12.000000000 +0200
@@ -120,8 +120,9 @@
 foreach my $expected_name (@sonames) {
     $expected_name =~ s/([0-9])\.so\./$1-/;
     $expected_name =~ s/\.so\.//;
+    $expected_name = lc($expected_name);
 
-    if ($expected_name eq $pkg) {
+    if ($expected_name eq $pkg || $expected_name."c2" eq $pkg) {
 	$match_found = 1;
 	last;
     }

--------------060707070901040002090403--

---------------------------------------
Received: (at 324121-close) by bugs.debian.org; 28 Aug 2005 20:48:50 +0000
>From katie@spohr.debian.org Sun Aug 28 13:48:50 2005
Return-path: <katie@spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1E9U3Y-0004bc-00; Sun, 28 Aug 2005 13:47:08 -0700
From: Frank Lichtenheld <djpig@debian.org>
To: 324121-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#324121: fixed in lintian 1.23.12
Message-Id: <E1E9U3Y-0004bc-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Sun, 28 Aug 2005 13:47:08 -0700
Delivered-To: 324121-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 8

Source: lintian
Source-Version: 1.23.12

We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive:

lintian_1.23.12.dsc
  to pool/main/l/lintian/lintian_1.23.12.dsc
lintian_1.23.12.tar.gz
  to pool/main/l/lintian/lintian_1.23.12.tar.gz
lintian_1.23.12_all.deb
  to pool/main/l/lintian/lintian_1.23.12_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 324121@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Lichtenheld <djpig@debian.org> (supplier of updated lintian package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 28 Aug 2005 22:05:54 +0200
Source: lintian
Binary: lintian
Architecture: source all
Version: 1.23.12
Distribution: unstable
Urgency: low
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Frank Lichtenheld <djpig@debian.org>
Description: 
 lintian    - Debian package checker
Closes: 320382 321206 321564 321650 322241 322291 323098 324121 324255 324673 325225
Changes: 
 lintian (1.23.12) unstable; urgency=low
 .
   * The "bad, bad SONAME check" release
 .
   * all files:
     + [FL] Update FSF address
 .
   * debian/control:
     + [FL] Depend on dpkg-dev since we use dpkg-source. How old exactly is
       this bug? (Closes: #324673)
 .
   * checks/binaries:
     + [FL] Only use sonames from files in common library directories for
       the soname checks. This avoids many false positives. Patch by
       Russ Allbery (Closes: #321564)
     + [FL] Convert the SONAME to lower case before comparing with
       package name. Suggested by Josh Triplett (Closes: #321206, #325225)
     + [FL] Try to remove strings added for transition purposes from
       library package names before comparing package name with SONAME.
       Pointed out by Rene Engelhard (Closes: #322241, #324121)
     + [FL] Also remove -udeb strings and substitute lib64 with lib in
       package name before comparing with SONAME
     + [FL] Replace any occurence of _ in the SONAME with - since the
       former isn't allowed in package names but occasionally used in
       sonames
     + [FL] Remove trailing .so from SONAMEs
     + [FL] Also ignore static binaries in sub directories of /boot,
       not only in /boot itself. Patch by Guillem Jover
       (Closes: #320382)
   * checks/changelog-file:
     + [FL] Detect old FSF address additionally to the even older
       one
   * checks/{cruft,files}{,.desc}:
     + [FL] Also check for .arch-ids/ {arch}/ .arch-inventory and .bzr/
       in packages and sources (Closes: #324255)
   * checks/debhelper{,.desc}:
     + [FL] Warn about using debhelper compat version lower than 3
       like debhelper itself
     + [FL] Drop package-lacks-versioned-build-depends-on-debhelper
       tag for compat versions < 5. With debhelper 4 even in oldstable
       issuing an error here is silly
     + [FL] Fix typo (s,debian/control,debian/compat,) in description of
       declares-possibly-conflicting-debhelper-compat-versions
   * checks/description{,.desc}:
     + [FL] Avoid double warning about description-is-dh_make-template
       in the same way we do it for the corresponding debmake tag
     + [FL] Policy section of Description field has changed
   * checks/fields{,.desc}:
     + [FL] Fix a lot of off-by-one errors in the policy references
       (caused by the addition of the Uploaders field). Unknowningly
       pointed out by Russ Allbery
     + [FL] Also use non_standards_archs when checking source package
       relations. Patch by Russ Allbery (Closes: #322291)
   * checks/manpages:
     + [FL] Don't issue warnings about 8bit characters in translated
       man pages. Patch by Denis Barbier (Closes: #321650)
   * checks/scripts:
     + [FL] Don't issue bashism warning on POSIX character classes ([[:foo:]]).
       Noted by Stephen Gran (Closes: #323098)
     + [FL] Remove some useless groupings in the bashism regexes
Files: 
 326c28428894475e63c9cb7955735ff6 772 devel optional lintian_1.23.12.dsc
 59449ee2d6212df94668ebc6e2ac7b49 265933 devel optional lintian_1.23.12.tar.gz
 3dfc575fd98907065e572bbfdec942d6 230748 devel optional lintian_1.23.12_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDEh6gQbn06FtxPfARAnKDAJ9ZLKxuW5gKq6RUG/crX5YSU5xLcQCfbjtd
S/u24ehyDtthkSWB5PmbEKo=
=df33
-----END PGP SIGNATURE-----



Reply to: