Bug#977924: find-dbgsym-packages: W: Cannot parse eu-unstrip output

2020-12-22 Thread Axel Beckert
Control: tag -1 + pending

Hi again

I wrote:
> > Small patch inline that fixed the issue locally:
> 
> Especially thanks for the patch!

Seems to be incomplete:

→ ./find-dbgsym-packages /usr/lib/chromium/chromium
BUG: id='9b43003ffd70d8db@0x34c' at ./find-dbgsym-packages line 224.
→ 

There was one more line where 40 was hardcoded:

@@ -217,7 +218,7 @@ sub parse_eu_unstrip
 if ($id eq '-') {
 warn "W: No build-ID for $name\n";
 next;
-} elsif ($id =~ /^([[:xdigit:]]{40})[@]/) {
+} elsif ($id =~ /^([[:xdigit:]]+)[@]/) {
 $id = $1;
 } else {
 die "BUG: id='$id'";

I assume you just missed that line when pasting the bug report.
Anyway, I committed that patch with that line in your name. Hope,
that's ok.

Will be part of the next upload of debian-goodies.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#977924: find-dbgsym-packages: W: Cannot parse eu-unstrip output

2020-12-22 Thread Axel Beckert
Control: tag -1 + confirmed
Control: severity -1 important

Hi,

Boyd Stephen Smith Jr. wrote:
> W: Cannot parse eu-unstrip output: '0x562f3d01b000+0xa725000 
> 9b43003ffd70d8db@0x562f3d01b34c /usr/lib/chromium/chromium 
> /usr/lib/debug/.build-id/9b/43003ffd70d8db.debug /usr/lib/chromium/chromium'
> 
> The part of the regex that matches the build-id only recognizes 40-char
> (160-bit) build-ids, and the above uses a 16-char (64-bit) build-id.

Oh, ok, indeed, thanks!

> Small patch inline that fixed the issue locally:

Especially thanks for the patch!

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#977924: find-dbgsym-packages: W: Cannot parse eu-unstrip output

2020-12-22 Thread Boyd Stephen Smith Jr.
Package: debian-goodies
Version: 0.86
Severity: normal
Tags: patch

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

W: Cannot parse eu-unstrip output: '0x562f3d01b000+0xa725000 
9b43003ffd70d8db@0x562f3d01b34c /usr/lib/chromium/chromium 
/usr/lib/debug/.build-id/9b/43003ffd70d8db.debug /usr/lib/chromium/chromium'

The part of the regex that matches the build-id only recognizes 40-char
(160-bit) build-ids, and the above uses a 16-char (64-bit) build-id.

Small patch inline that fixed the issue locally:
- ---8<---
- --- /usr/bin/find-dbgsym-packages 2020-05-21 11:35:57.0 -0500
+++ ./find-dbgsym-packages  2020-12-22 17:05:53.338342159 -0600
@@ -183,12 +183,13 @@
 # 0x7f7f7235e000+0x17000 - /usr/share/locale/de/LC_MESSAGES/bash.mo - 
/usr/share/locale/de/LC_MESSAGES/bash.mo
 # 0x7ffd4098a000+0x2000 
de7dac2df9f596f46fa94a387858ef25170603ec@0x7ffd4098a7d0 . - [vdso: 1740]
 # 0x7f37090fb000+0x2a000 
dc5cb16f5e644116cac64a4c3f5da4d081b81a4f@0x7f37090fb248 - - 
/lib/x86_64-linux-gnu/ld-2.27.so (deleted)
+# 0x562f3d01b000+0xa725000 9b43003ffd70d8db@0x562f3d01b34c 
/usr/lib/chromium/chromium /usr/lib/debug/.build-id/9b/43003ffd70d8db.debug 
/usr/lib/chromium/chromium
 if ($line =~ m{
   ^(?: 0 | 0x[[:xdigit:]]+ )
   [+]
   0x[[:xdigit:]]+
   \s+
- -  ( [[:xdigit:]]{40} [@] 0x[[:xdigit:]]+ | - )
+  ( [[:xdigit:]]+ [@] 0x[[:xdigit:]]+ | - )
   \s+
   ( \S+ )
   \s+
- --->8---

- -- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'stable-updates'), (900, 
'stable-debug'), (900, 'testing'), (900, 'stable'), (850, 
'testing-proposed-updates-debug'), (850, 'testing-proposed-updates'), (850, 
'proposed-updates-debug'), (850, 'proposed-updates'), (500, 'unstable-debug'), 
(500, 'unstable'), (300, 'experimental-debug'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-4-amd64 (SMP w/16 CPU threads)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

debian-goodies depends on no packages.

Versions of packages debian-goodies recommends:
ii  apt2.1.12
ii  curl   7.72.0-1
ii  dctrl-tools2.24-3+b1
ii  dialog 1.3-20190808-1
ii  elfutils   0.182-1
ii  equivs 2.3.1
ii  libfile-slurper-perl   0.012-1
ii  libfile-which-perl 1.23-1
ii  libipc-system-simple-perl  1.30-1
ii  man-db 2.9.3-2
ii  perl   5.32.0-6
ii  popularity-contest 1.71
ii  procps 2:3.3.16-5
ii  python33.9.0-4
ii  sensible-utils 0.0.12+nmu1
ii  whiptail   0.52.21-4+b3
ii  zenity 3.32.0-6

Versions of packages debian-goodies suggests:
ii  apt-file   3.2.2
ii  chromium [www-browser] 87.0.4280.88-0.2
ii  firefox-esr [www-browser]  68.12.0esr-1~deb10u1
ii  konqueror [www-browser]4:20.08.3-1
ii  lsb-release11.1.0
ii  lsof   4.93.2+dfsg-1.1
ii  lynx [www-browser] 2.9.0dev.6-1
ii  openssh-client 1:8.4p1-3
ii  sudo   1.9.4-1
ii  w3m [www-browser]  0.5.3-38+b1
ii  xdg-utils  1.1.3-2

- -- no debconf information

-BEGIN PGP SIGNATURE-

iHQEARECADQWIQTFhn3a8g2plxzZYyjnmmovsbVAWQUCX+J+XRYcYnNzQGlndWFu
YXN1aWNpZGUubmV0AAoJEOeaai+xtUBZFXoAn0bcOhz89P7GW8318tXTDXZgqEr9
AJ0ZtovDh+fQ6srII0gbgCq3MhAjqA==
=X1BA
-END PGP SIGNATURE-