#1129740 binutils: libgprofng0: new symbol name version number is an unintended value

Package:
libgprofng0
Source:
libgprofng0
Description:
GNU Next Generation profiler (runtime library)
Submitter:
Hiroyuki YAMAMORI
Date:
2026-03-05 11:03:02 UTC
Severity:
normal
#1129740#5
Date:
2026-03-05 10:44:12 UTC
From:
To:
Dear Maintainer,

Looking at libgprofng0's debian symbols file
"/var/lib/dpkg/info/libgprofng0\:amd64.symbols" line: 17
 _Z10sym_lookupP9Sym_Tablem@Base 2.46-2

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

```
dpkg-gensymbols -Pdebian/libctf0 -plibctf0 -ldebian/libbinutils
dpkg-gensymbols -Pdebian/libctf-nobfd0 -plibctf-nobfd0
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 does not match completely debian/libgprofng0.symbols
--- debian/libgprofng0.symbols (libgprofng0_2.46-2_amd64)
+++ dpkg-gensymbols_wCdt6       2026-03-05 19:20:54.752741858 +0900
@@ -14,7 +14,8 @@
  _Z10getStackPCi5VModeP8DataViewl@Base 2.44
  _Z10get_symtabPKc@Base 2.45.50
  _Z10out_of_memv@Base 2.44
- (arch=!i386|subst)_Z10sym_lookupP9Sym_Table{uint64_t}@Base 2.45.50
+ _Z10sym_lookupP9Sym_Tablem@Base 2.46-2
+#MISSING: 2.46-2# (arch=!i386|subst)_Z10sym_lookupP9Sym_Table{uint64_t}@Base 2.45.50
  _Z11bb_read_recP8_IO_FILEPKcbS2_@Base 2.45.50
  _Z11cg_read_recP8_IO_FILEPKcS2_@Base 2.45.50
  _Z11dbeGetAliasPc@Base 2.44
@@ -41,7 +42,8 @@
  _Z12dbePrintDataiiiPcS_P8_IO_FILE@Base 2.44
  _Z12dbeSetSelObjixii@Base 2.44
  _Z12dbeWriteFilePKcS0_@Base 2.44
- (arch=!i386|subst)_Z12gmon_io_readP8_IO_FILEPc{size_t}@Base 2.45.50
+ _Z12gmon_io_readP8_IO_FILEPcm@Base 2.46-2
+#MISSING: 2.46-2# (arch=!i386|subst)_Z12gmon_io_readP8_IO_FILEPc{size_t}@Base 2.45.50
  _Z12print_headerP10ExperimentP8_IO_FILE@Base 2.44
  _Z13dbeAddPathmapiPcS_@Base 2.44
  _Z13dbeDeleteFilePKc@Base 2.44
@@ -142,7 +144,8 @@
  _Z16dbeSetPrintLimitii@Base 2.44
  _Z16dbeSetSearchPathiP6VectorIPcE@Base 2.44
  _Z16dbeUpdateFiltersiP6VectorIbEPS_IPcE@Base 2.44
- (arch=!i386|subst)_Z16gmon_io_read_vmaP8_IO_FILEP{uint64_t}PKc@Base 2.45.50
+ _Z16gmon_io_read_vmaP8_IO_FILEPmPKc@Base 2.46-2
+#MISSING: 2.46-2# (arch=!i386|subst)_Z16gmon_io_read_vmaP8_IO_FILEP{uint64_t}PKc@Base 2.45.50
  _Z16print_html_labelP8_IO_FILEP10MetricList@Base 2.44
  _Z16print_html_titleP8_IO_FILEPc@Base 2.44
  _Z17dbeDropExperimentiP6VectorIiE@Base 2.44
@@ -249,7 +252,8 @@
  _Z31dbeGetExperimentDataDescriptorsP6VectorIiE@Base 2.44
  _Z7arc_addP3symS0_m@Base 2.45.50
  _Z7destroyPv@Base 2.44
- (arch=!i386|subst)_Z8cg_tally{uint64_t}{uint64_t}mPKc@Base 2.45.50
+ _Z8cg_tallymmmPKc@Base 2.46-2
+#MISSING: 2.46-2# (arch=!i386|subst)_Z8cg_tally{uint64_t}{uint64_t}mPKc@Base 2.45.50
  _Z8getStack5VModeP8DataViewl@Base 2.44
  _Z8pr_mesgsP4EmsgPKcS2_@Base 2.44
  _Z8sym_initP3sym@Base 2.45.50
@@ -1271,7 +1275,8 @@
  _ZN4EmsgD2Ev@Base 2.44
  _ZN5DbeEA8get_nameEN8Histable10NameFormatE@Base 2.44
  _ZN5DbeEA9converttoEN8Histable4TypeEPS0_@Base 2.44
- (arch=!i386|subst)_ZN5Dwarf10get_rangesE{uint64_t}@Base 2.45.50
+ _ZN5Dwarf10get_rangesEm@Base 2.46-2
+#MISSING: 2.46-2# (arch=!i386|subst)_ZN5Dwarf10get_rangesE{uint64_t}@Base 2.45.50
  _ZN5Dwarf13archive_DwarfEP10LoadObject@Base 2.44
  _ZN5Dwarf13srcline_DwarfEP6Module@Base 2.44
  _ZN5Dwarf17read_hwcprof_infoEP6Module@Base 2.44
@@ -1294,8 +1299,10 @@
  (arch=i386 x32)_ZN5DwrCU11get_high_pcEy@Base 2.44
  _ZN5DwrCU11get_symbolsEP6VectorIP6SymbolE@Base 2.45
  _ZN5DwrCU12Dwarf_stringEt@Base 2.44
- (arch=!i386|subst)_ZN5DwrCU12inherit_propE{int64_t}P6Source@Base 2.45.50
- (arch=!i386|subst)_ZN5DwrCU12set_up_funcsE{int64_t}@Base 2.45.50
+ _ZN5DwrCU12inherit_propElP6Source@Base 2.46-2
+#MISSING: 2.46-2# (arch=!i386|subst)_ZN5DwrCU12inherit_propE{int64_t}P6Source@Base 2.45.50
+ _ZN5DwrCU12set_up_funcsEl@Base 2.46-2
+#MISSING: 2.46-2# (arch=!i386|subst)_ZN5DwrCU12set_up_funcsE{int64_t}@Base 2.45.50
  (arch=!i386 !x32)_ZN5DwrCU13read_ref_attrEtPl@Base 2.44
  (arch=i386 x32)_ZN5DwrCU13read_ref_attrEtPx@Base 2.44
  _ZN5DwrCU13update_sourceEP6SymbolP6Source@Base 2.45
@@ -1307,7 +1314,8 @@
  _ZN5DwrCU15map_dwarf_linesEP6Module@Base 2.44
  _ZN5DwrCU15parse_cu_headerEP10LoadObject@Base 2.44
  _ZN5DwrCU16dwr_get_locationEP6DwrSecP11DwrLocation@Base 2.44
- (arch=!i386|subst)_ZN5DwrCU16find_declarationE{int64_t}P6Source@Base 2.45.50
+ _ZN5DwrCU16find_declarationElP6Source@Base 2.46-2
+#MISSING: 2.46-2# (arch=!i386|subst)_ZN5DwrCU16find_declarationE{int64_t}P6Source@Base 2.45.50
  _ZN5DwrCU16get_linkage_nameEv@Base 2.44
  (arch=!i386 !x32)_ZN5DwrCU17build_abbrevTableEP6DwrSecm@Base 2.44
  (arch=i386 x32)_ZN5DwrCU17build_abbrevTableEP6DwrSecy@Base 2.44
@@ -1481,7 +1489,8 @@
  _ZN6SampleD1Ev@Base 2.44
  _ZN6SampleD2Ev@Base 2.44
  _ZN6Symbol10get_symbolEP6VectorIPS_EPc@Base 2.45
- (arch=!i386|subst)_ZN6Symbol10get_symbolEP6VectorIPS_E{uint64_t}@Base 2.45.50
+ _ZN6Symbol10get_symbolEP6VectorIPS_Em@Base 2.46-2
+#MISSING: 2.46-2# (arch=!i386|subst)_ZN6Symbol10get_symbolEP6VectorIPS_E{uint64_t}@Base 2.45.50
  _ZN6Symbol12find_symbolsEP6VectorIPS_EPS0_IP5RangeES3_@Base 2.45
  _ZN6Symbol12sort_by_nameEP6VectorIPS_E@Base 2.45
  _ZN6Symbol14createFunctionEP6Module@Base 2.45
make: [debian/rules:1693: binary-native] Error 1 (ignored)
dpkg-gensymbols -Pdebian/libsframe3 -plibsframe3
```

```
Now running lintian binutils_2.46-2_amd64.changes ...
E: libgprofng0: symbols-file-contains-current-version-with-debian-revision on symbol _Z10sym_lookupP9Sym_Tablem@Base and 8 others (libgprofng.so.0) [symbols]
```

This is the same bug as #1115857.

Thank you,
Hiroyuki YAMAMORI