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

Pino Toscano pino at debian.org
Sat Jul 11 08:40:09 UTC 2015


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

Hi,

currently, p11-kit fails to compile on hurd-i386 [1].

The first problem is in path 30_nogetauxvalonbsd.diff, due to the usage
of issetugid() in secure_getenv() when getauxval() is not present; since
that patch itself provides a _p11_getauxval() helper, then just use it.

The second issue is due to the different semantics of
__libc_enable_secure, as used for the getauxval() reimplementation.
More details in the description of attached hurd_enable_secure.diff,
which makes the getauxval() reimplementation behave as p11-kit expects.

Side note: I took the liberty to change patch 30_nogetauxvalonbsd.diff
so it does not duplicate the AC_CHECK_FUNCS; this part can be left out,
if deemed not necessary.

[1] https://buildd.debian.org/status/fetch.php?pkg=p11-kit&arch=hurd-i386&ver=0.23.1-2&stamp=1430116334

Thanks,
-- 
Pino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 30_nogetauxvalonbsd.diff
Type: text/x-diff
Size: 2807 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnutls-maint/attachments/20150711/b90fda9f/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hurd_enable_secure.diff
Type: text/x-diff
Size: 810 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnutls-maint/attachments/20150711/b90fda9f/attachment-0001.diff>


More information about the Pkg-gnutls-maint mailing list