FTBFS: missing strl* symbols fail the build

Bug #2036251 reported by Andreas Hasenack
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libqb (Ubuntu)
New
High
Unassigned

Bug Description

See ubuntu-devel thread[1] and mantic rebuild report[2].

dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libqb100/DEBIAN/symbols doesn't match completely debian/libqb100.symbols
--- debian/libqb100.symbols (libqb100_2.0.8-1_amd64)
+++ dpkg-gensymbolsTJnRGb 2023-09-04 11:09:48.720929506 +0000
@@ -244,6 +244,6 @@
  qb_vsnprintf_deserialize@Base 2.0.1
  qb_vsnprintf_serialize@Base 2.0.1
  remove_tempdir@Base 2.0.1
- strlcat@Base 2.0.1
- strlcpy@Base 2.0.1
+#MISSING: 2.0.8-1# strlcat@Base 2.0.1
+#MISSING: 2.0.8-1# strlcpy@Base 2.0.1
  use_filesystem_sockets@Base 2.0.1
dh_makeshlibs: error: failing due to earlier errors

1. https://lists.ubuntu.com/archives/ubuntu-devel/2023-September/042784.html
2. https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20230830-mantic-mantic.html#ubuntu-server-team

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

New flags between
https://launchpadlibrarian.net/678368627/buildlog_ubuntu-mantic-amd64.libqb_2.0.8-1_BUILDING.txt.gz
and
https://launchpadlibrarian.net/685152138/buildlog_ubuntu-mantic-amd64.libqb_2.0.8-1_BUILDING.txt.gz
are: -fstack-clash-protection -fcf-protection

That is part of the Ubuntu hardening.

Most likely the "fix" is just the same as in
http://launchpadlibrarian.net/686836480/gpsd_3.25-2ubuntu1_3.25-2ubuntu2.diff.gz

But we'd want to ask Debian to take the same, for that we need to find which-of/if the flags above are causing this.

Likely strl* functions are not meant to be exported as they are part of libbsd-dev see https://manpages.ubuntu.com/manpages/jammy/man3/strlcpy.3bsd.html and not of e.g. in this case libqb.
So maybe the compiler flags now hides these not meant to be exported symbols that are actually in libbsd0?

Once sufficiently understood consider providing a PR on Salsa to avoid this from ever affecting Debian (and link it from here)

Changed in libqb (Ubuntu):
assignee: nobody → Michał Małoszewski (michal-maloszewski99)
Robie Basak (racb)
Changed in libqb (Ubuntu):
assignee: Michał Małoszewski (michal-maloszewski99) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.