Your message dated Sun, 21 Jul 2024 14:37:09 +0000
with message-id <e1svxgt-00c8e3...@fasolo.debian.org>
and subject line Bug#1064181: fixed in binutils 2.42.90.20240720-1
has caused the Debian Bug report #1064181,
regarding binutils: libgprofng0: new symbol name version number is an 
unintended value
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1064181: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064181
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: binutils
Version: 2.42-2
Severity: normal

Dear Maintainer,

Looking at libgprofng0's debian symbols file
"/var/lib/dpkg/info/libgprofng0\:amd64.symbols" line: 1170
 _ZN3Elf19get_funcname_in_pltEm@Base 2.42-2

As shown above, the version number should be 2.42, but it is 2.42-2.
When I tried to build the package, the following error message appeared.

```
dpkg-gensymbols -Pdebian/libgprofng0 -plibgprofng0 -ldebian/libbinutils
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see 
diff output below
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols 
file: see diff output below
dpkg-gensymbols: warning: debian/libgprofng0/DEBIAN/symbols doesn't match 
completely debian/libgprofng0.symbols
--- debian/libgprofng0.symbols (libgprofng0_2.42-2_amd64)
+++ dpkg-gensymbolsx29YlY       2024-02-17 11:53:21.237584672 +0900
@@ -1222,7 +1222,8 @@
  _ZN3Elf15get_bfd_symbolsEv@Base 2.41.50.20231202
  _ZN3Elf16elf_getancillaryEP8Elf_DatajP17S_Elf64_Ancillary@Base 2.41
  _ZN3Elf16get_related_fileEPKcS1_@Base 2.41
- (subst)_ZN3Elf19get_funcname_in_pltE{uint64_t}@Base 2.42
+ _ZN3Elf19get_funcname_in_pltEm@Base 2.42-2
+#MISSING: 2.42-2# (subst)_ZN3Elf19get_funcname_in_pltE{uint64_t}@Base 2.42
  _ZN3Elf20find_ancillary_filesEPc@Base 2.41
  _ZN3Elf4dumpEv@Base 2.41
  _ZN3Elf8elf_initEv@Base 2.41
@@ -1339,9 +1340,11 @@
  (arch=!i386 !x32)_ZN6Disasm12set_addr_endEm@Base 2.41
  (arch=i386 x32)_ZN6Disasm12set_addr_endEy@Base 2.41
  _ZN6Disasm12set_img_nameEPc@Base 2.41
- (subst)_ZN6Disasm14map_PC_to_funcE{uint64_t}@Base 2.42
+ _ZN6Disasm14map_PC_to_funcEm@Base 2.42-2
+#MISSING: 2.42-2# (subst)_ZN6Disasm14map_PC_to_funcE{uint64_t}@Base 2.42
  _ZN6Disasm18remove_disasm_hndlEPv@Base 2.41
- (subst)_ZN6Disasm19get_funcname_in_pltE{uint64_t}@Base 2.42
+ _ZN6Disasm19get_funcname_in_pltEm@Base 2.42-2
+#MISSING: 2.42-2# (subst)_ZN6Disasm19get_funcname_in_pltE{uint64_t}@Base 2.42
  _ZN6DisasmC1E10Platform_tP5Stabs@Base 2.41
  _ZN6DisasmC1EPc@Base 2.41
  _ZN6DisasmC2E10Platform_tP5Stabs@Base 2.41
make: [debian/rules:1625: binary-native] Error 1 (ignored)
```
```
Now running lintian binutils_2.42-2_amd64.changes ...
E: libgprofng0: symbols-file-contains-current-version-with-debian-revision on 
symbol _ZN3Elf19get_funcname_in_pltEm@Base and 2 others (libgprofng.so.0) 
[symbols]
```

As you can see from the above, there are some bad parts in
`debian/libgprofng0.symbols`.
`man 5 deb-src-symbols` does not find `subst` tag.
One fix way is to write the following using `regex` tag.
```
 (regex)"^_ZN3Elf19get_funcname_in_pltE[my]@Base$" 2.42
```
When a function has two or more arguments, for example,
replace `[my]` with `[lmxy]+`, or more simply `.*`.
Another fix way is to write the following using `arch-bits`tag.
```
 (arch-bits=64)_ZN3Elf19get_funcname_in_pltEm@Base 2.42
 (arch-bits=32)_ZN3Elf19get_funcname_in_pltEy@Base 2.42
```

As a suggestion, the following is written in `debian/libgprofng0.symbols`,
but it is ambiguous to list negative types in `arch` tag specification,
so I think it should be avoided.
```
 (arch=!i386 !x32)_Z13dbeGetSamplesiill@Base 2.41
```

Thank you,
Hiroyuki YAMAMORI


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-18-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages binutils depends on:
ii  binutils-common            2.42-2
ii  binutils-x86-64-linux-gnu  2.42-2
ii  libbinutils                2.42-2

binutils recommends no packages.

Versions of packages binutils suggests:
pn  binutils-doc  <none>
pn  gprofng-gui   <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: binutils
Source-Version: 2.42.90.20240720-1
Done: Matthias Klose <d...@debian.org>

We believe that the bug you reported is fixed in the latest version of
binutils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1064...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <d...@debian.org> (supplier of updated binutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 21 Jul 2024 15:35:10 +0200
Source: binutils
Architecture: source
Version: 2.42.90.20240720-1
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <d...@debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Closes: 1064181
Changes:
 binutils (2.42.90.20240720-1) unstable; urgency=medium
 .
   * New upstream snapshot, taken from the 2.43 branch.
   * Set ELF_PACKAGE_METADATA in the environment.
   * Update symbols files. Closes: #1064181.
Checksums-Sha1:
 cf59556844c0263907b3349c5844115a63f78543 12646 binutils_2.42.90.20240720-1.dsc
 7518d53d98ab649a689c10c04938a6ac3dce9b57 24093004 
binutils_2.42.90.20240720.orig.tar.xz
 ee3a1c3b6bb833d750b1ff6c3c285185536d3a2e 122368 
binutils_2.42.90.20240720-1.debian.tar.xz
 b1d2035abf6760ef2120275d77c6955c08bc8be1 6599 
binutils_2.42.90.20240720-1_source.buildinfo
Checksums-Sha256:
 6c231fcfa380fb0f07d9d11360a96b6ef8747947ce7696655c19a091583d39c1 12646 
binutils_2.42.90.20240720-1.dsc
 a76aab99156873ed4527a74a18883079b581bc493cd409b3605f7e5270053a7f 24093004 
binutils_2.42.90.20240720.orig.tar.xz
 196877f2d3e4d8ecf1105c63265fd8c622886d564c3187960ab5a050dfb5d5b5 122368 
binutils_2.42.90.20240720-1.debian.tar.xz
 9b9398b54e8dfc472287243e60424365a642af55609601fa808d505d1dd4267b 6599 
binutils_2.42.90.20240720-1_source.buildinfo
Files:
 387b544487d900f4c380413cace1ac0a 12646 devel optional 
binutils_2.42.90.20240720-1.dsc
 09751ba2915be5d5b9d9e2b4780cfdba 24093004 devel optional 
binutils_2.42.90.20240720.orig.tar.xz
 fc5da331dc49d880d8f46a1429617347 122368 devel optional 
binutils_2.42.90.20240720-1.debian.tar.xz
 3a0e03eb5453770afdcc0777d9fc1081 6599 devel optional 
binutils_2.42.90.20240720-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmadD7AQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9RUED/98Z3yzMu6bgBhRygPpqBYCy81BOU2z3tUR
jDXjgRRvjnLzy+E/v1qWvjgvSPMm6rNXf9geGK3VZIZDMYRkuRHjrbHEx2Fxi32X
CFj/R+bra1vBrMg9Xa3/wpqZyOpLQRDfjBTIEXspNVvFjTkCK9xJov0EDq6EnHeo
2dlsFHnA61N0+OJitbwQ5BGfYhdm0PM6Pp0a9/B2RfQ7T/c5tTJ3sUjghBqRrDYP
g7afmQmg0M8iFUzJUqVVX9fP8jE/AUhJSSGxz8W5FA+uBg1CPHZJ0rN6/70uByxt
J4+UfH51wiq9vlLySj8jpExC2m6GmcA5zcik4HsPgYyP3+Ysat7VG8z8jnxEUBQi
VB/m7LYv7cQFF8YC0Ve4P9WGhWSe3hVsTA99rRSdwxR1SlGyKbcg/btLubrn/p4v
wL2F1ICGKXp7PeM//Kql3PehNSqRXTvUG8pKcYIqzamUo94BH6sV8aWN6nsD1dfG
3pkdAIuUmaD/o4NKsPSta1C+j/3FTinzMmEKWQtZCa/4DxwxaivtRbhKNlwDKaV7
rKvCCzd5Sh2qpw5Qcx8pwco+zYWvRrjgFN24FBzdraHTER7KSwFdCYB5mBootAFm
3oVtGlISy9GWNiR0mhuAzM6zRC6ghoPaGEMpKBQAocUKJG2g3I6Qvhtue/xr2URD
ZxvqvgRgeg==
=WBwe
-----END PGP SIGNATURE-----

Attachment: pgphPo5qXWOUK.pgp
Description: PGP signature


--- End Message ---

Reply via email to