Bug#995049: p11-kit: FTBFS on hurd-i386 (anf kfreebsd-any)

Svante Signell svante.signell at gmail.com
Tue Oct 5 19:49:53 BST 2021


On Mon, 2021-09-27 at 19:09 +0200, Svante Signell wrote:
> Hello Andreas
> 
> Just for your info. I’m AFK for another week so i cannot test anything until
> then. However, some comments are inlined below.

I'm back and have now tested again on Linux, Hurd and kFreeBSD.

> > > The patch debian_control.diff adds a build dependency of
> > > libbsd0 for kFreeBSD and Hurd. 
> > 
> > That should be libbsd-dev instead of libbsd0, shouldn't it?
> > 
> Reasonably it should be, yes.

Now depending on libbsd-dev, see debian_control.diff. See also configure.ac.diff
(same as before) and an updated common_unix-peer.c.diff.

> > > 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.
> > 
> > Afaict it does not change buildability on kFreeBSD though, should it?
> > 
> > ERROR: test-managed
> > ===================
> > 
> > ./build/litter/tap-driver.sh: line 145: 90190 Illegal instruction     "$@"
> > ERROR: test-managed - missing test plan
> > 
> > (Tested on on lemon.debian.net)
> > 
> I did not build in a chroot, i used an uptodate (sid) qemu image of k-a.
> Kernel 11.0.

This failing test confused me a long time, as it did build fine on a not yet
fully updated kfreebsd-amd64 image. The problem is libffi8 and libffi-dev:
3.4.2-2 in combination with autoconf 2.71-2. Downgrading to 3.3-6 the package
builds fine.

This problem is probably the same as 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995223 where it causes SIGILL
problems for powerpc and ppc64 in connection with autoconf 2.71-2.

Especially suspicious build log entries of libffi8  (3.4.2-2):
configure.ac:8: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:41: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:74: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:91: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:122: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:310: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:310: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:418: warning: The macro `AC_PROG_LD' is obsolete.
configure.ac:418: warning: The macro `AC_TRY_RUN' is obsolete.

The build of 3.4.2-1 did not show the above warnings with autoconf 2.69-14.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: common_unix-peer.c.diff
Type: text/x-patch
Size: 789 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnutls-maint/attachments/20211005/c236fd00/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/20211005/c236fd00/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debian_control.diff
Type: text/x-patch
Size: 309 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnutls-maint/attachments/20211005/c236fd00/attachment-0002.bin>


More information about the Pkg-gnutls-maint mailing list