Comment 1 for bug 2036251

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)