GNU bug report logs -
#66691
GnuTLS 3.8.1 fails to (cross-)build for GNU/Hurd
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Sun, 22 Oct 2023 22:52:02 UTC
Severity: normal
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#66691: GnuTLS 3.8.1 fails to (cross-)build for GNU/Hurd
which was filed against the guix package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 66691 <at> debbugs.gnu.org.
--
66691: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66691
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Ludovic Courtès <ludo <at> gnu.org> skribis:
> The recently-committed GnuTLS 3.8.1 fails to (cross-)build for GNU/Hurd:
Fixed in a1ac534f8a509bc7ddf11bcd5987fa65adf8c9ca.
[Message part 3 (message/rfc822, inline)]
The recently-committed GnuTLS 3.8.1 fails to (cross-)build for GNU/Hurd:
--8<---------------cut here---------------start------------->8---
CC common.lo
CC key_encode.lo
CC key_decode.lo
CC time.lo
In file included from ./../system.h:47,
from ./../gnutls_int.h:85,
from common.c:24:
./../pathbuf.h:28:25: error: 'PATH_MAX' undeclared here (not in a function)
28 | #define GNUTLS_PATH_MAX PATH_MAX
| ^~~~~~~~
./../pathbuf.h:31:19: note: in expansion of macro 'GNUTLS_PATH_MAX'
31 | char base[GNUTLS_PATH_MAX + 1];
| ^~~~~~~~~~~~~~~
In file included from ./../system.h:47,
from ./../gnutls_int.h:85,
from time.c:24:
./../pathbuf.h:28:25: error: 'PATH_MAX' undeclared here (not in a function)
28 | #define GNUTLS_PATH_MAX PATH_MAX
| ^~~~~~~~
./../pathbuf.h:31:19: note: in expansion of macro 'GNUTLS_PATH_MAX'
31 | char base[GNUTLS_PATH_MAX + 1];
| ^~~~~~~~~~~~~~~
In file included from ./../system.h:47,
from ./../gnutls_int.h:85,
from key_decode.c:24:
./../pathbuf.h:28:25: error: 'PATH_MAX' undeclared here (not in a function)
28 | #define GNUTLS_PATH_MAX PATH_MAX
| ^~~~~~~~
./../pathbuf.h:31:19: note: in expansion of macro 'GNUTLS_PATH_MAX'
31 | char base[GNUTLS_PATH_MAX + 1];
| ^~~~~~~~~~~~~~~
In file included from ./../system.h:47,
from ./../gnutls_int.h:85,
from key_encode.c:24:
./../pathbuf.h:28:25: error: 'PATH_MAX' undeclared here (not in a function)
28 | #define GNUTLS_PATH_MAX PATH_MAX
| ^~~~~~~~
./../pathbuf.h:31:19: note: in expansion of macro 'GNUTLS_PATH_MAX'
31 | char base[GNUTLS_PATH_MAX + 1];
| ^~~~~~~~~~~~~~~
make[5]: *** [Makefile:2330: time.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [Makefile:2330: common.lo] Error 1
make[5]: *** [Makefile:2330: key_decode.lo] Error 1
make[5]: *** [Makefile:2330: key_encode.lo] Error 1
make[5]: Leaving directory '/tmp/guix-build-gnutls-3.8.1.drv-0/gnutls-3.8.1/lib/x509'
--8<---------------cut here---------------end--------------->8---
This is because ‘PATH_MAX’ is undefined on GNU/Hurd.
Ludo’.
This bug report was last modified 1 year and 215 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.