#1108298 FTBFS: Fails to build from source for binary-only uploads

#1108298#5
Date:
2025-06-25 10:20:25 UTC
From:
To:
When building with sbuild, '--binNMU-changelog=gensio (2.8.13-7+b1)',
dh_makeshlibs returns an error during build:


make[1]: Entering directory '/build/reproducible-path/gensio-2.8.13'
dh_makeshlibs -a --exclude=libexec
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/libgensio6t64/DEBIAN/symbols doesn't match
completely debian/libgensio6t64.symbols
--- debian/libgensio6t64.symbols (libgensio6t64_2.8.13-7+b1_amd64)
+++ dpkg-gensymbolsqB6lpM 2025-06-25 10:18:20.465008056 +0000
@@ -455,8 +455,8 @@
  _ZNK7gensios8Accepter8get_portB5cxx11Ev@Base 2.8.6
  _ZNSt12_Vector_baseIhSaIhEED1Ev@Base 2.8.6
  _ZNSt12_Vector_baseIhSaIhEED2Ev@Base 2.8.6
- _ZNSt6vectorIhSaIhEE17_M_default_appendEj@Base 2.8.13-7
-#MISSING: 2.8.13-7# _ZNSt6vectorIhSaIhEE17_M_default_appendEm@Base 2.8.13
+#MISSING: 2.8.13-7+b1# _ZNSt6vectorIhSaIhEE17_M_default_appendEj@Base
2.8.13-7
+ _ZNSt6vectorIhSaIhEE17_M_default_appendEm@Base 2.8.13-7+b1
  _ZTIN7gensios12gensio_errorE@Base 2.8.6
  _ZTIN7gensios13Serial_GensioE@Base 2.8.6
  _ZTIN7gensios14Serial_Op_DoneE@Base 2.8.6
@@ -777,9 +777,9 @@
  _ZN7gensios13err_to_stringB5cxx11Ei@Base 2.8.6
  _ZN7gensios16log_level_to_strB5cxx11ENS_17gensio_log_levelsE@Base 2.8.6
  _ZN7gensios17thread_start_funcEPv@Base 2.8.13
-#MISSING: 2.8.13-7#
_ZN7gensios23gensio_cpp_vlog_handlerEPNS_15gensio_os_funcsENS_17gensio_log_levelsEPKcP13__va_list_tag@Base
2.8.13
+
_ZN7gensios23gensio_cpp_vlog_handlerEPNS_15gensio_os_funcsENS_17gensio_log_levelsEPKcP13__va_list_tag@Base
2.8.13-7+b1
 #MISSING: 2.8.13#
_ZN7gensios23gensio_cpp_vlog_handlerEPNS_15gensio_os_funcsENS_17gensio_log_levelsEPKcPv@Base
2.8.13
-
_ZN7gensios23gensio_cpp_vlog_handlerEPNS_15gensio_os_funcsENS_17gensio_log_levelsEPKcSt9__va_list@Base
2.8.13-7
+#MISSING: 2.8.13-7+b1#
_ZN7gensios23gensio_cpp_vlog_handlerEPNS_15gensio_os_funcsENS_17gensio_log_levelsEPKcSt9__va_list@Base
2.8.13-7
  _ZN7gensios4Addr7getaddrERSt6vectorIhSaIhEE@Base 2.8.6
  _ZN7gensios4Addr8get_dataERSt6vectorIhSaIhEE@Base 2.8.6

_ZN7gensios4AddrC1ERNS_8Os_FuncsENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbPiS9_PPPKc@Base
2.8.6
@@ -815,8 +815,8 @@
  _ZN7gensios8Os_FuncsaSERKS0_@Base 2.8.6
  _ZNK7gensios4Addr13to_string_allB5cxx11Ev@Base 2.8.6
  _ZNK7gensios4Addr9to_stringB5cxx11Ev@Base 2.8.6
- _ZNSt6vectorIhSaIhEE17_M_default_appendEj@Base 2.8.13-7
-#MISSING: 2.8.13-7# _ZNSt6vectorIhSaIhEE17_M_default_appendEm@Base 2.8.13
+#MISSING: 2.8.13-7+b1# _ZNSt6vectorIhSaIhEE17_M_default_appendEj@Base
2.8.13-7
+ _ZNSt6vectorIhSaIhEE17_M_default_appendEm@Base 2.8.13-7+b1
  _ZTIN7gensios12gensio_errorE@Base 2.8.6
  _ZTIN7gensios4AddrE@Base 2.8.6
  _ZTIN7gensios8Os_FuncsE@Base 2.8.6
dh_makeshlibs: error: failing due to earlier errors
make[1]: *** [debian/rules:60: override_dh_makeshlibs] Error 25
make[1]: Leaving directory '/build/reproducible-path/gensio-2.8.13'
make: *** [debian/rules:21: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit
status 2

#1108298#10
Date:
2025-07-02 16:33:04 UTC
From:
To:
I shall probably add that the rebuild happened in testing, not unstable.

However, I reproduced it now without the +b1 of a binNMU in testing,
so this isn't purely because of the binNMU, it also happens in plain
Trixie.

This would make future security updates difficult, so I'm raising the
priority a bit. I attached a fiff of the toolchain packages and
general package versions between the builds in Debian buildds in
unstable and the build I did in testing/Trixie - I *think* the trigger
lies in these differences, but I'm not sure which one could have
triggered it.

Cheers,
Sven

#1108298#17
Date:
2025-07-02 16:49:27 UTC
From:
To:
I've just tried to repro this, and can report that building gensio
in both unstable and testing shows the same symbol file issues, but
the build continues for me. (On aarch64.)

The diff is:

dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libgensio6t64/DEBIAN/symbols doesn't match completely debian/libgensio6t64.symbols
--- debian/libgensio6t64.symbols (libgensio6t64_2.8.13-7_arm64)
+++ dpkg-gensymbolsLuugWc   2025-07-02 16:40:31.199554297 +0000
@@ -456,7 +456,7 @@
  _ZNSt12_Vector_baseIhSaIhEED1Ev@Base 2.8.6
  _ZNSt12_Vector_baseIhSaIhEED2Ev@Base 2.8.6
  _ZNSt6vectorIhSaIhEE17_M_default_appendEj@Base 2.8.13-7
-#MISSING: 2.8.13-7# _ZNSt6vectorIhSaIhEE17_M_default_appendEm@Base 2.8.13
+ _ZNSt6vectorIhSaIhEE17_M_default_appendEm@Base 2.8.13-7
  _ZTIN7gensios12gensio_errorE@Base 2.8.6
  _ZTIN7gensios13Serial_GensioE@Base 2.8.6
  _ZTIN7gensios14Serial_Op_DoneE@Base 2.8.6
@@ -816,7 +816,7 @@
  _ZNK7gensios4Addr13to_string_allB5cxx11Ev@Base 2.8.6
  _ZNK7gensios4Addr9to_stringB5cxx11Ev@Base 2.8.6
  _ZNSt6vectorIhSaIhEE17_M_default_appendEj@Base 2.8.13-7
-#MISSING: 2.8.13-7# _ZNSt6vectorIhSaIhEE17_M_default_appendEm@Base 2.8.13
+ _ZNSt6vectorIhSaIhEE17_M_default_appendEm@Base 2.8.13-7
  _ZTIN7gensios12gensio_errorE@Base 2.8.6
  _ZTIN7gensios4AddrE@Base 2.8.6
  _ZTIN7gensios8Os_FuncsE@Base 2.8.6

There's only one r-dep in Debian, ser2net. Maybe this is fine for ser2net or
maybe not. CC'ing release for awareness.

Chris

#1108298#22
Date:
2025-07-02 17:31:45 UTC
From:
To:
Those symbols are template instantiations of std::vector and should be
marked as optional.

Cheers