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

[lintian] 01/02: c/binaries: Exclude /usr/lib/debug/.build-id/ from foreign-architecture checks.



This is an automated email from the git hooks/post-receive script.

jwilk pushed a commit to branch master
in repository lintian.

commit 0eb145a70789bba9c3ab1f2d50f8d4d6e5b822cb
Author: Jakub Wilk <jwilk@debian.org>
Date:   Tue Dec 29 12:16:12 2015 +0100

    c/binaries: Exclude /usr/lib/debug/.build-id/ from foreign-architecture checks.
---
 checks/binaries.pm | 3 +++
 debian/changelog   | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/checks/binaries.pm b/checks/binaries.pm
index df90d81..98362be 100644
--- a/checks/binaries.pm
+++ b/checks/binaries.pm
@@ -340,6 +340,9 @@ sub run {
                 my $bitre = $ARCH_REGEX->value($1);
                 # Special case - "old" multi-arch dirs
                 $bad = 0 if $bitre and $fileinfo =~ m/$bitre/;
+            } elsif ($fname =~ m,^usr/lib/debug/\.build-id/,) {
+                # Detached debug symbols could be for a biarch library.
+                $bad = 0;
             } elsif ($ARCH_64BIT_EQUIVS->known($arch)
                 && $fname =~ m,^lib/modules/,) {
                 my $arch64re
diff --git a/debian/changelog b/debian/changelog
index 5beb5d5..0042da5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,10 @@ lintian (2.5.40) UNRELEASED; urgency=medium
 
   XXX: generate tag summary
 
+  * checks/binaries.pm:
+    + [JW] Exclude /usr/lib/debug/.build-id/ from foreign-architecture
+      checks.  Thanks to Aurelien Jarno for the bug report.  (Closes:
+      #809262)
   * checks/source-copyright.desc:
     + [JW] Apply patch from Mattia Rizzolo to update the machine-readable
       copyright format specification URL.  (Closes: #809248)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: