Your message dated Sun, 17 Apr 2022 19:57:52 +0200
with message-id <[email protected]>
and subject line Re: Bug#989235: p11-kit FTBFS on hurd-any
has caused the Debian Bug report #989235,
regarding p11-kit FTBFS on hurd-any
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
989235: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989235
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: p11-kit
Version: 0.23.22-1
User: [email protected]
Usertags: rebootstrap
X-Debbugs-Cc: [email protected]
p11-kit fails to build from source on hurd-any. The immediate reason is
an undefined macro SIZE_MAX in p11-kit/lists.c. It happens that this
file fails to #include <stdint.h>, which is generally required for
SIZE_MAX. I'm attaching a patch for this.
Unfortunately, this does not entirely fix p11-kit. Beyond this issue,
one runs into this #error at:
https://sources.debian.org/src/p11-kit/0.23.22-1/common/unix-peer.c/#L133
It seems like all the possible implementations using one of SO_PEERCRED,
getpeereid(), getpeerucred(), or <sys/ucred.h> are unavailable on hurd.
I'm unsure how to proceed here and have Cced the hurd porters for help.
Do note that p11-kit is required for building essential. As such, not
supporting hurd here practically kills hurd ports. If someone happens to
find a fix or workaround, please notify me.
Helmut
--- a/p11-kit/lists.c
+++ b/p11-kit/lists.c
@@ -40,6 +40,7 @@
#include <assert.h>
#include <ctype.h>
#include <string.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
--- End Message ---
--- Begin Message ---
Version: 0.24.0-5
On 2021-05-29 Helmut Grohne <[email protected]> wrote:
> Source: p11-kit
> Version: 0.23.22-1
> User: [email protected]
> Usertags: rebootstrap
> X-Debbugs-Cc: [email protected]
> p11-kit fails to build from source on hurd-any. The immediate reason is
> an undefined macro SIZE_MAX in p11-kit/lists.c. It happens that this
> file fails to #include <stdint.h>, which is generally required for
> SIZE_MAX. I'm attaching a patch for this.
> Unfortunately, this does not entirely fix p11-kit. Beyond this issue,
> one runs into this #error at:
> https://sources.debian.org/src/p11-kit/0.23.22-1/common/unix-peer.c/#L133
> It seems like all the possible implementations using one of SO_PEERCRED,
> getpeereid(), getpeerucred(), or <sys/ucred.h> are unavailable on hurd.
> I'm unsure how to proceed here and have Cced the hurd porters for help.
> Do note that p11-kit is required for building essential. As such, not
> supporting hurd here practically kills hurd ports. If someone happens to
> find a fix or workaround, please notify me.
Hello Helmut,
looks like Svante Signell's idea in 995049 to use libbsd fixed this.
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
--- End Message ---