Subject: bug#58149: guix pull error

From: Matthieu Haefele <[email-masked]>
Date: Mon, 3 Oct 2022 11:33:40 +0200

Hi,

Le 03/10/2022 à 11:17, Ludovic Courtès a écrit :
> 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
>
Not better unfortunately...

(base) mhaefele@mdlspc113:ksp $ sudo -i guix pull --commit=a099685659b4bfa6b3218f84953cbb7ff9e88063
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale 
(fr_FR.UTF-8)
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Updating channel 'guix-hpc-non-free' from Git repository at 'https://gitlab.inria.fr/guix-hpc/guix-hpc-non-free.git'...
Updating channel 'guix-hpc' from Git repository at 'https://gitlab.inria.fr/guix-hpc/guix-hpc.git'...
Building from these channels:
guix-hpc-non-freehttps://gitlab.inria.fr/guix-hpc/guix-hpc-non-free.git 07d3681
   guix-hpc  https://gitlab.inria.fr/guix-hpc/guix-hpc.git 546dd9d
   guix      https://git.savannah.gnu.org/git/guix.git    a099685
The following derivations will be built:
/gnu/store/bxkxaxkk9v0br8lkb93raz9csjx2c8zd-module-import-compiled.drv
    /gnu/store/49s0bs87gvv48x9nnjx7i8msjaxs9vwl-module-import.drv
    /gnu/store/lybfadhfwzldw724mpsbdzakv54wwvvr-hash.scm.drv
    /gnu/store/pl48shh9vvnd8q8909ra7hznhzlcn0gj-config.scm.drv
    /gnu/store/sc6fv5hqxvk1nziq20wi427hh3cmr88n-git.scm.drv
/gnu/store/w6jvr6r28z1gx1s5sxhl0f3d5q417g7y-compute-guix-derivation.drv
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 1d63640>)
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) 1de6140>)))
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
killing process 11938
guix pull: error: some substitutes for the outputs of derivation `/gnu/store/16c8c8hm1qdn6xz8014939mirc7c4d4j-guile-2.2.4.drv' 
failed (usually happens due to networking issues); try `--fallback' to build derivation from source

Thanks for your efforts :)
Mat