Subject: Re: bug#71151: time machine breaking

From: Simon Tournier <[email-masked]>
Date: Tue, 04 Jun 2024 21:03:37 +0200

Hi Ale,

On Thu, 23 May 2024 at 19:31, Alexandre Hannud Abdo <[email-masked]> wrote:

> https://gitlab.inria.fr/guix-hpc/open-science-days-tutorial/

Ouch, that’s unfortunate!

Using 6ba29e0, it works for me.

> $ guix time-machine --commit=b94724e8b2102be0fe9d19e9dfe44d6f7101bd4b -- shell -CN --no-cwd python

[...]

> building /gnu/store/vh6xam2bsqsm055sh7lhc8x7dh4wnw68-compute-guix-derivation.drv...
> Computing Guix derivation for 'x86_64-linux'... /Backtrace:
>            14 (primitive-load "/gnu/store/pa74lqbhmq8xmvnjg98p1z6jq5xvr23w-compute-guix-derivation")

[...]

>    1419:15  1 (_ #<store-connection 256.100 7f87ab19e640> ("/gnu/store/mh01bp841xvcvv8mv6car7l92h6h19rk-curl-7.84?" ?) ?)
>    1419:15  0 (loop #f)
>
> ./guix/store.scm:1419:15: In procedure loop:
> ERROR:
>    1. &store-protocol-error:
>        message: "`/gnu/store/bq54ayj2n661xqaiwj93f8nq4jvhcjs7-guix-1.4.0-19.7ca9809/bin/guix substitute' died unexpectedly"
>        status: 1
> guix time-machine: error: You found a bug: the program '/gnu/store/pa74lqbhmq8xmvnjg98p1z6jq5xvr23w-compute-guix-derivation'
> failed to compute the derivation for Guix (version: "b94724e8b2102be0fe9d19e9dfe44d6f7101bd4b"; system: "x86_64-linux";
> host version: "aeba4849b42b4d3ac75341ac4b61843c1fe48181"; pull-version: 1).
> Please report the COMPLETE output above by email to <[email-masked]>.

And,

  guix time-machine --commit=aeba4849b42b4d3ac75341ac4b61843c1fe48181 \
    -- time-machine --commit=b94724e8b2102be0fe9d19e9dfe44d6f7101bd4b \
    -- shell -CN --no-cwd python

also works for me.  And I am able to build
/gnu/store/mh01bp841xvcvv8mv6car7l92h6h19rk-curl-7.84.0.drv, even it
appears that the substitute is available.

All in all, I have no idea where the issue could come from.  Any issue
on your side, e.g., disk space, network, daemon, etc.?

Cheers,
simon