GnuTLS 3.8.1 fails to (cross-)build for GNU/Hurd

  • Done
  • quality assurance status badge
Details
One participant
  • Ludovic Courtès
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal

Debbugs page

Ludovic Courtès wrote 1 years ago
(address . bug-guix@gnu.org)
87zg0anuf0.fsf@inria.fr
The recently-committed GnuTLS 3.8.1 fails to (cross-)build for GNU/Hurd:

Toggle snippet (48 lines)
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'

This is because ‘PATH_MAX’ is undefined on GNU/Hurd.

Ludo’.
Ludovic Courtès wrote 1 years ago
(address . 66691-done@debbugs.gnu.org)
87lebtc7vg.fsf@gnu.org
Ludovic Courtès <ludo@gnu.org> skribis:

Toggle quote (2 lines)
> The recently-committed GnuTLS 3.8.1 fails to (cross-)build for GNU/Hurd:

Fixed in a1ac534f8a509bc7ddf11bcd5987fa65adf8c9ca.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 66691@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 66691
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help