Subject: Re: bug#58149: guix pull error

From: Ludovic Courtès <[email-masked]>
Date: Mon, 03 Oct 2022 11:17:15 +0200

Hi,

Matthieu Haefele <[email-masked]> skribis:

>> I would suggest doing a two-step upgrade; first upgrade to 1.3.0:
>>
>>    sudo -i guix pull --commit=a0178d34f582b50e9bdbb0403943129ae5b560ff
>
> Are you sure this commit is old enough ? I still get the same error.
> By the way, a general question, where can you see the guix time line,
> such that one has a chance to pick up a relevant commit id at certain
> point in time ?
>
> (base) mhaefele@mdlspc113:~ $ sudo -i guix pull --commit=a0178d34f582b50e9bdbb0403943129ae5b560ff

[...]

> 7,5 MB will be downloaded:
>    /gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4
>    /gnu/store/0h9x3hqqh4fx52735a7mykqm7mdkqnf4-libgc-7.6.6
>    /gnu/store/4jh61hq9b4pv1bjqimafcv2w1c20cqrc-libatomic-ops-7.6.6
>    /gnu/store/b7pbksdw7f1x4faimd2xmgpcipsrp9ns-libffi-3.2.1
>    /gnu/store/g3az3q22hmlqwwzqjv4vqfrhcfl88a2s-libunistring-0.9.10
>    /gnu/store/w967m83560ik61vqv0v8aw3b0avb0hng-libltdl-2.4.6
>    /gnu/store/wsq5x6sizjq8ggyfydccv1hcsciy40wi-gmp-6.1.2
>    /gnu/store/y249ycgfvg0p83hwpwf5nbn1aghjcc9n-pkg-config-0.29.2
> downloading from https://ci.guix.gnu.org/nar/lzip/4jh61hq9b4pv1bjqimafcv2w1c20cqrc-libatomic-ops-7.6.6...
> Backtrace:
>            3 (apply-smob/1 #<catch-closure 16b9640>)
> In ice-9/boot-9.scm:
>     705:2  2 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
> In ice-9/eval.scm:
>     619:8  1 (_ #(#(#<directory (guile-user) 173c140>)))
> In guix/ui.scm:
>   1747:12  0 (run-guix-command _ . _)
>
> guix/ui.scm:1747:12: In procedure run-guix-command:
> unsupported compression scheme lzip
> substitution of /gnu/store/4jh61hq9b4pv1bjqimafcv2w1c20cqrc-libatomic-ops-7.6.6 failed

It looks like the substitutes above are only available as lzip or zstd
even though they’re quite old:

--8<---------------cut here---------------start------------->8---
$ wget -qO- https://ci.guix.gnu.org/4jh61hq9b4pv1bjqimafcv2w1c20cqrc.narinfo |grep ^Compression
Compression: lzip
Compression: zstd
$ wget -qO- https://ci.guix.gnu.org/r658y3cgpnf99nxjxqgjiaizx20ac4k0.narinfo |grep ^Compression
Compression: lzip
Compression: zstd
--8<---------------cut here---------------end--------------->8---

So you’re right, we have to go a bit further back in time!  Apparently
v1.2.0 will do, so:

  guix pull --commit=a099685659b4bfa6b3218f84953cbb7ff9e88063

Let us know how it goes!

Thanks,
Ludo’.