Subject: bug#49225: Possibly difficult to reproduce GnuTLS build bug?

From: Ludovic Courtès <[email-masked]>
Date: Mon, 19 Jul 2021 16:29:28 +0200

Hi,

Domagoj Stolfa <[email-masked]> skribis:

> While running `make check-system`, I've encountered an issue with building
> GnuTLS (see attached drv file).

For posterity, the log looks like this:

--8<---------------cut here---------------start------------->8---
make[5]: Entering directory '/tmp/guix-build-gnutls-3.6.16.drv-0/gnutls-3.6.16/lib/accelerated'
  CC       accelerated.lo
  CC       cryptodev.lo
  CC       cryptodev-gcm.lo
  CCLD     libaccelerated.la
i586-pc-gnu-ar: `u' modifier ignored since `D' is the default (see `U')
make[5]: Leaving directory '/tmp/guix-build-gnutls-3.6.16.drv-0/gnutls-3.6.16/lib/accelerated'
make[4]: Leaving directory '/tmp/guix-build-gnutls-3.6.16.drv-0/gnutls-3.6.16/lib/accelerated'
Making all in nettle
make[4]: Entering directory '/tmp/guix-build-gnutls-3.6.16.drv-0/gnutls-3.6.16/lib/nettle'
  GEN      ecc/ecc-gost-gc256b-32.h
  GEN      ecc/ecc-curve448-32.h
/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash: ecc/eccdata: No such file or directory
  GEN      ecc/ecc-curve448-64.h
/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash: ecc/eccdata: No such file or directory
make[4]: *** [Makefile:2748: ecc/ecc-gost-gc256b-32.h] Error 127
make[4]: *** Waiting for unfinished jobs....
/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash: ecc/eccdata: No such file or directory
make[4]: *** [Makefile:2742: ecc/ecc-curve448-32.h] Error 127
make[4]: *** [Makefile:2745: ecc/ecc-curve448-64.h] Error 127
make[4]: Leaving directory '/tmp/guix-build-gnutls-3.6.16.drv-0/gnutls-3.6.16/lib/nettle'
make[3]: *** [Makefile:2372: all-recursive] Error 1
make[3]: Leaving directory '/tmp/guix-build-gnutls-3.6.16.drv-0/gnutls-3.6.16/lib'
make[2]: *** [Makefile:1995: all] Error 2
make[2]: Leaving directory '/tmp/guix-build-gnutls-3.6.16.drv-0/gnutls-3.6.16/lib'
make[1]: *** [Makefile:1765: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-gnutls-3.6.16.drv-0/gnutls-3.6.16'
make: *** [Makefile:1690: all] Error 2
command "make" "-j" "20" failed with status 2
--8<---------------cut here---------------end--------------->8---

IIUC, this is when cross-compiling GnuTLS to i586-pc-gnu (GNU/Hurd).

This particular error was fixed at the beginning of June:

  https://issues.guix.gnu.org/48771

Could you confirm that it works for you on current ‘master’?

Thanks, and apologies for the looong delay!

Ludo’.