Subject: bug#76383: guix time-machine: Failure to compute derivation

From: Simon Tournier <[email-masked]>
Date: Wed, 16 Apr 2025 16:42:58 +0200

Hi Andreas,

On Sun, 13 Apr 2025 at 15:13, Andreas Enge <[email-masked]> wrote:

> I am closing this as probably not a bug in Guix.

Checking again…

First, the substitute from Guix:

--8<---------------cut here---------------start------------->8---
$ guix build /gnu/store/mm4gq96ww2smzqdypkf27cdja8in2kda-gnutls-3.7.7.tar.xz.drv
6.4 MB will be downloaded:
  /gnu/store/sziaihhn2rs2p95gfn83yi78b9dlj2qi-gnutls-3.7.7.tar.xz
substituting /gnu/store/sziaihhn2rs2p95gfn83yi78b9dlj2qi-gnutls-3.7.7.tar.xz...
downloading from https://ci.guix.gnu.org/nar/sziaihhn2rs2p95gfn83yi78b9dlj2qi-gnutls-3.7.7.tar.xz ...
 gnutls-3.7.7.tar.xz  6.1MiB                                               3.1MiB/s 00:02 ▕██████████████████▏ 100.0%
/gnu/store/sziaihhn2rs2p95gfn83yi78b9dlj2qi-gnutls-3.7.7.tar.xz

$ guix hash /gnu/store/sziaihhn2rs2p95gfn83yi78b9dlj2qi-gnutls-3.7.7.tar.xz
01i1gl15k6qwvxmxx0by1mn9nlmcmym18wdpm7dn9awfsp8474dy
--8<---------------cut here---------------end--------------->8---

Then second, from upstream:

--8<---------------cut here---------------start------------->8---
$ guix build /gnu/store/mm4gq96ww2smzqdypkf27cdja8in2kda-gnutls-3.7.7.tar.xz.drv --no-substitutes --check
The following derivation will be built:
  /gnu/store/mm4gq96ww2smzqdypkf27cdja8in2kda-gnutls-3.7.7.tar.xz.drv
building /gnu/store/mm4gq96ww2smzqdypkf27cdja8in2kda-gnutls-3.7.7.tar.xz.drv...

Starting download of /gnu/store/1vka8lhfvcb2cdy49gd87nhap26yqkcy-gnutls-3.7.7.tar.xz
>From http://artfiles.org/gnupg.org/gnutls/v3.7/gnutls-3.7.7.tar.xz...
download failed "http://artfiles.org/gnupg.org/gnutls/v3.7/gnutls-3.7.7.tar.xz" 404 "Not Found"

Starting download of /gnu/store/1vka8lhfvcb2cdy49gd87nhap26yqkcy-gnutls-3.7.7.tar.xz
>From http://www.crysys.hu/gnutls/v3.7/gnutls-3.7.7.tar.xz...
In procedure getaddrinfo: Name or service not known

Starting download of /gnu/store/1vka8lhfvcb2cdy49gd87nhap26yqkcy-gnutls-3.7.7.tar.xz
>From https://gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.7.tar.xz...
downloading from https://gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.7.tar.xz ...

warning: rewriting hashes in `/gnu/store/sziaihhn2rs2p95gfn83yi78b9dlj2qi-gnutls-3.7.7.tar.xz'; cross fingers
successfully built /gnu/store/mm4gq96ww2smzqdypkf27cdja8in2kda-gnutls-3.7.7.tar.xz.drv
successfully built /gnu/store/mm4gq96ww2smzqdypkf27cdja8in2kda-gnutls-3.7.7.tar.xz.drv
/gnu/store/sziaihhn2rs2p95gfn83yi78b9dlj2qi-gnutls-3.7.7.tar.xz
--8<---------------cut here---------------end--------------->8---

Therefore, I confirm it’s unlikely a bug in Guix.

Cheers,
simon