GNU bug report logs - #66691
GnuTLS 3.8.1 fails to (cross-)build for GNU/Hurd

Previous Next

Package: guix;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66691 in the body.
You can then email your comments to 66691 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#66691; Package guix. (Sun, 22 Oct 2023 22:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludo <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 22 Oct 2023 22:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: GnuTLS 3.8.1 fails to (cross-)build for GNU/Hurd
Date: Mon, 23 Oct 2023 00:50:43 +0200
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’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 23 Oct 2023 22:07:02 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Courtès <ludo <at> gnu.org>:
bug acknowledged by developer. (Mon, 23 Oct 2023 22:07:02 GMT) Full text and rfc822 format available.

Message #10 received at 66691-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 66691-done <at> debbugs.gnu.org
Subject: Re: bug#66691: GnuTLS 3.8.1 fails to (cross-)build for GNU/Hurd
Date: Tue, 24 Oct 2023 00:05:23 +0200
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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 21 Nov 2023 12:24:16 GMT) Full text and rfc822 format available.

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.