Subject: bug#40828: core-updates: guix system reconfigure error: guix-1.1.0-1.7dd0539.drv failed

From: Marius Bakke <[email-masked]>
Date: Fri, 24 Apr 2020 23:50:14 +0200

sirgazil via Bug reports for GNU Guix <[email-masked]> writes:

> ## Steps to reproduce
>
> 1. guix pull --branch=core-updates
> 2. guix upgrade
> 3. sudo guix system reconfigure --fallback os-config.scm
>
>
> ## Expected result
>
> Reconfiguring ends without errors.
>
>
> ## Unexpected result
>
> The whole process failed with this error:
>
> ★★★★★★★★★★★★★★★★★★★★
> building /gnu/store/w47hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv...
> - 'copy-bootstrap-guile' phasebuilder for `/gnu/store/w47hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv' failed with exit code 1
> build of /gnu/store/w47hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv failed
> View build log at '/var/log/guix/drvs/w4/7hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv.bz2'.
> guix system: error: build of `/gnu/store/w47hbg05gmnyz5kp3iplyca0mh1vzkma-guix-1.1.0-1.7dd0539.drv' failed
> ★★★★★★★★★★★★★★★★★★★★
>
> And the build log said:
>
> ★★★★★★★★★★★★★★★★★★★★
> starting phase `copy-bootstrap-guile'
> Backtrace:
> In ice-9/boot-9.scm:
>   1736:10 10 (with-exception-handler _ _ #:unwind? _ # _)
> In unknown file:
>            9 (apply-smob/0 #<thunk 7ffff5cccaa0>)
> In ice-9/boot-9.scm:
>     718:2  8 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
> In ice-9/eval.scm:
>     619:8  7 (_ #(#(#<directory (guile-user) 7ffff58e9f00>)))
> In ice-9/command-line.scm:
>    185:18  6 (_ #<input: string 7ffff58e4a10>)
> In unknown file:
>            5 (eval (begin (use-modules (guix)) (with-store store …)) #)
> In guix/store.scm:
>    625:15  4 (call-with-store #<procedure 7ffff3101a20 at ice-9/eval…>)
>     544:2  3 (open-connection _ #:port _ #:reserve-space? _ # _)
> In ice-9/boot-9.scm:
>   1736:10  2 (with-exception-handler _ _ #:unwind? _ # _)
> In guix/store.scm:
>    552:28  1 (_)
> In ice-9/boot-9.scm:
>   1669:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> ERROR:
>   1. &store-connection-error:
>       file: "/tmp/guix-tests/var/27130/daemon-socket/socket"
>       errno: 2
> command "./test-env" "guile" "-c" "(begin (use-modules (guix)) (with-store store (let* ((item (add-to-store store \"guile-2.0.9.tar.xz\" #f \"sha256\" \"/gnu/store/3aigj659vsjxcrhn0r0vmkbjh3kj5pbs-guile-2.0.9.tar.xz\")) (root (string-append \"/tmp/gc-root-\" (basename item)))) (symlink item root) (add-indirect-root store root))))" failed with status 1
> ★★★★★★★★★★★★★★★★★★★★

Is this error repeatable for you?  Guix built fine on the CI:

https://ci.guix.gnu.org/build/2637951/details