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

Bug#869750: lintian: fix for readelf parsing with binutils 2.29 on ppc64el



.... unfortunately, this patch in turn breaks lintian on all non-ppc64el
architectures.  Here is a revised patch.

diff -Nru lintian-2.5.52/helpers/coll/objdump-info-helper lintian-2.5.52ubuntu1/helpers/coll/objdump-info-helper
--- lintian-2.5.52/helpers/coll/objdump-info-helper	2017-06-17 08:38:58.000000000 -0700
+++ lintian-2.5.52ubuntu1/helpers/coll/objdump-info-helper	2017-07-25 22:02:58.000000000 -0700
@@ -200,7 +200,7 @@
             push @symbol_versions, $verstring;
         }
     } elsif ($line
-        =~ m/^\s*(\d+):\s*[0-9a-f]+\s+\d+\s+(?:(?:\S+\s+){3})(\S+)\s+(.*)\Z/
+        =~ m/^\s*(\d+):\s*[0-9a-f]+\s+\d+\s+(?:(?:\S+\s+){3})(?:\[.*\]\s+)?(\S+)\s+(.*)\Z/
         and $section eq 'DS') {
         # We (sometimes) need to read the "Version symbols section" first to
         # use this data and readelf tends to print after this section, so

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: PGP signature


Reply to: