Bug#995049: p11-kit: FTBFS on hurd-i386

Svante Signell svante.signell at gmail.com
Sat Sep 25 11:09:52 BST 2021


Source: p11-kit
Version: 0.24.0-2
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org debian-kbsd at lists.debian.org
Usertags: hurd

Hi,

Currently p11-kit FTBFS on GNU/Hurd due to a missing implementation in
common/unix-peer.c. Fortunately the function getpeereid() is available in the
libbsd library. The same function is also available for kFreeBSD. The patch
debian_control.diff adds a build dependency of libbsd0 for kFreeBSD and Hurd.
configure.ac.diff adds the bsd library, while common_unix_peer.diff adds the
declaration of the function getpeereid(). This is added so that the header file
bsd/unistd.h is not necessarily included (which conflicts with parts of
unistd.h).

Note that with the attached patches the patch, 41_kfreebsd_LOCAL_PEERCRED.diff,
for kFreeBSD is no longer needed.

The patches have been used to successfully build p11-kit on Linux, Hurd and
kFreeBSD.

Thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: common_unix-peer.c.diff
Type: text/x-patch
Size: 685 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnutls-maint/attachments/20210925/84d80688/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.ac.diff
Type: text/x-patch
Size: 691 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnutls-maint/attachments/20210925/84d80688/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debian_control.diff
Type: text/x-patch
Size: 306 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnutls-maint/attachments/20210925/84d80688/attachment-0002.bin>


More information about the Pkg-gnutls-maint mailing list