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

[lintian] 01/01: Support binutils 2.29.90.20180122 (vs. 2.29.1) when parsing ELF files for errors as the newer version modified the readelf output. This was causing a testsuite failure when checking the apparently-corrupted-elf-binary tag. (Closes: #888456)



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

lamby pushed a commit to branch master
in repository lintian.

commit 2e2d23f6d60e3f8d82f9799527e44df042c0762b
Author: Chris Lamb <lamby@debian.org>
Date:   Fri Jan 26 10:22:44 2018 +1100

    Support binutils 2.29.90.20180122 (vs. 2.29.1) when parsing ELF files for errors as the newer version modified the readelf output. This was causing a testsuite failure when checking the apparently-corrupted-elf-binary tag. (Closes: #888456)
---
 debian/changelog                 | 4 ++++
 helpers/coll/objdump-info-helper | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e29b85e..a667d1a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,10 @@ lintian (2.5.72) UNRELEASED; urgency=medium
       causing a FTBFS on armhf.  (Closes: #888074)
     + [CL] Drop a duplicate line in spelling-error-in-binary exceptions.
     + [CL] Move spelling-error-in-binary exceptions to a data file.
+    + [CL] Support binutils 2.29.90.20180122 (vs. 2.29.1) when parsing ELF
+      files for errors as the newer version modified the readelf output.
+      This was causing a testsuite failure when checking the
+      apparently-corrupted-elf-binary tag.  (Closes: #888456)
   * checks/cruft.{desc,pm}:
     + [CL] Do not emit "license-problem-php-license" when the source comes
       from pecl.php.net: "The last agreement with FTP Masters was that PHP
diff --git a/helpers/coll/objdump-info-helper b/helpers/coll/objdump-info-helper
index 42cca58..ce6321b 100755
--- a/helpers/coll/objdump-info-helper
+++ b/helpers/coll/objdump-info-helper
@@ -86,7 +86,7 @@ while (my $line = <$readelf>) {
         print "Filename: $bin\n";
 
     } elsif ($line
-        =~ m/^readelf: Error: Reading 0x[0-9a-fA-F]+ bytes extends past end of file for section headers/
+        =~ m/^readelf: Error: Reading (0x)?[0-9a-fA-F]+ bytes extends past end of file for section headers/
         or $line
         =~ m/^readelf: Error: Unable to read in 0x[0-9a-fA-F]+ bytes of/
         or $line

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


Reply to: