[pkg-gnupg-maint] Bug#1003313: libgpg-error FTCBFS for musl: refuses to use generic lock object detection
Helmut Grohne
helmut at subdivi.de
Sat Jan 8 00:15:16 GMT 2022
Source: libgpg-error
Version: 1.43-1
Tags: patch upstream
User: helmutg at debian.org
Usertags: rebootstrap
A while ago, libgpg-error gained a feature that enabled configure to
introspect lock objects without running code (via objdump).
Unfortunately, this code is only used for glibc. When cross building for
e.g. musl, it falls back to the old way where you'd have to collect the
results. And since those aren't collected, it fails. The objdump trick
should work on all Linux systems regardless of the C library in used.
That's also what the VoidLinux people think:
https://github.com/void-linux/void-packages/commit/429ac8a534d4e1fffc0c7f5df47a4f4ac67fa2cd
So please consider applying it here as well. I'm attaching the relevant
hunk.
Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: musl.patch
Type: text/x-diff
Size: 326 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnupg-maint/attachments/20220108/3f9a1595/attachment.patch>
More information about the pkg-gnupg-maint
mailing list