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

[SCM] Debian package checker branch, master, updated. 2.2.5-48-gcff2ce2



The following commit has been merged in the master branch:
commit cff2ce21e55e16faf65f0ce4d382a6228790f083
Author: Russ Allbery <rra@debian.org>
Date:   Sat Feb 21 17:47:25 2009 -0800

    Don't freeze the libc regex when checking dependencies
    
    * checks/binaries:
      + [RA] When checking for dependencies on libc, don't use /o on the
        regex.  Otherwise, lintian produces false positives when run on
        multiple packages with different architectures, since the libc
        package name is not the same on all architectures.  Thanks to
        Raphael Geissert for the report.  (Closes: #516067)

diff --git a/checks/binaries b/checks/binaries
index 80d89fd..5b0c5a7 100644
--- a/checks/binaries
+++ b/checks/binaries
@@ -266,7 +266,7 @@ $depends =~ s/\n/ /g;
 if ($needs_depends_line) {
     if ($depends && $needs_libc && $pkg !~ /^libc[\d.]+(-|\z)/) {
         # Match libcXX or libcXX-*, but not libc3p0.
-        my $re = qr/(?:^|,)\s*\Q$needs_libc\E\b/o;
+        my $re = qr/(?:^|,)\s*\Q$needs_libc\E\b/;
         if ($depends !~ /$re/) {
             my $others = '';
 	    $needs_libc_count--;
diff --git a/debian/changelog b/debian/changelog
index 6d70e8a..e5ef6d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,12 @@ lintian (2.2.6) UNRELEASED; urgency=low
       - multiple-distributions-in-changes-file (disabled)
       - unsupported-source-format
 
+  * checks/binaries:
+    + [RA] When checking for dependencies on libc, don't use /o on the
+      regex.  Otherwise, lintian produces false positives when run on
+      multiple packages with different architectures, since the libc
+      package name is not the same on all architectures.  Thanks to
+      Raphael Geissert for the report.  (Closes: #516067)
   * checks/common_data.pm:
     + [RA] Virtual packages now come from data.
   * checks/control-file:

-- 
Debian package checker


Reply to: