FTBFS: missing strl* symbols fail the build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libqb (Ubuntu) |
Fix Released
|
High
|
Lucas Kanashiro | ||
Mantic |
Won't Fix
|
Undecided
|
Lucas Kanashiro |
Bug Description
[ Impact ]
The package cannot be built in Mantic. If for any reason someone needs to rebuild the package that's not possible.
The proposed fix should be staged in mantic-proposed and be released in the next update.
[ Test Plan ]
The package needs to build successfully in Mantic.
[ Where problems could occur ]
The fix involves marking two symbols as optional because now they are provided by glibc. If there is any issue related to strlcat and strlcpy, it might be related to this update.
[ Original 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/
--- debian/
+++ dpkg-gensymbols
@@ -244,6 +244,6 @@
qb_vsnprintf_
qb_vsnprintf_
remove_
- 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_filesyste
dh_makeshlibs: error: failing due to earlier errors
1. https:/
2. https:/
Related branches
- git-ubuntu bot: Approve
- Athos Ribeiro (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 41 lines (+11/-3)3 files modifieddebian/changelog (+7/-0)
debian/control (+2/-1)
debian/libqb100.symbols (+2/-2)
- git-ubuntu bot: Approve
- Athos Ribeiro (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 41 lines (+11/-3)3 files modifieddebian/changelog (+7/-0)
debian/control (+2/-1)
debian/libqb100.symbols (+2/-2)
Changed in libqb (Ubuntu): | |
assignee: | Michał Małoszewski (michal-maloszewski99) → nobody |
Changed in libqb (Ubuntu): | |
assignee: | nobody → Lucas Kanashiro (lucaskanashiro) |
Changed in libqb (Ubuntu): | |
status: | Triaged → In Progress |
Changed in libqb (Ubuntu Mantic): | |
assignee: | nobody → Lucas Kanashiro (lucaskanashiro) |
status: | New → In Progress |
description: | updated |
tags: | added: block-proposed-mantic |
New flags between /launchpadlibra rian.net/ 678368627/ buildlog_ ubuntu- mantic- amd64.libqb_ 2.0.8-1_ BUILDING. txt.gz /launchpadlibra rian.net/ 685152138/ buildlog_ ubuntu- mantic- amd64.libqb_ 2.0.8-1_ BUILDING. txt.gz clash-protectio n -fcf-protection
https:/
and
https:/
are: -fstack-
That is part of the Ubuntu hardening.
Most likely the "fix" is just the same as in launchpadlibrar ian.net/ 686836480/ gpsd_3. 25-2ubuntu1_ 3.25-2ubuntu2. diff.gz
http://
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)