* bug#66691: GnuTLS 3.8.1 fails to (cross-)build for GNU/Hurd
@ 2023-10-22 22:50 Ludovic Courtès
2023-10-23 22:05 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2023-10-22 22:50 UTC (permalink / raw)
To: 66691
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’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-23 22:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-22 22:50 bug#66691: GnuTLS 3.8.1 fails to (cross-)build for GNU/Hurd Ludovic Courtès
2023-10-23 22:05 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.