Subject: bug#40824: core-updates: guix upgrade error: emacs-guix-0.5.2.drv failed

From: sirgazil <[email-masked]>
Date: Fri, 24 Apr 2020 18:05:00 +0000

## Steps to reproduce

1. guix pull --branch=core-updates
2. guix upgrade

## Expected result

All packages in my profile are upgraded successfully.

## Unexpected result

The upgrade failed with the following error:

★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
building /gnu/store/a6zgjg4j5mj4q19s9qxnns6jmah8z6ic-emacs-guix-0.5.2.tar.xz.drv...
building /gnu/store/c153g1c5w34jb57m8687g0nzik9air34-guix-1.1.0-1.7dd0539.drv...
- 'copy-bootstrap-guile' phasebuilder for `/gnu/store/c153g1c5w34jb57m8687g0nzik9air34-guix-1.1.0-1.7dd0539.drv' failed with exit code 1
build of /gnu/store/c153g1c5w34jb57m8687g0nzik9air34-guix-1.1.0-1.7dd0539.drv failed
View build log at '/var/log/guix/drvs/c1/53g1c5w34jb57m8687g0nzik9air34-guix-1.1.0-1.7dd0539.drv.bz2'.
cannot build derivation `/gnu/store/1ngb3056zgcgixpis58y5qnkrg70yy55-emacs-guix-0.5.2.drv': 1 dependencies couldn't be built
guix upgrade: error: build of `/gnu/store/1ngb3056zgcgixpis58y5qnkrg70yy55-emacs-guix-0.5.2.drv' failed
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★

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 7ffff30ff500 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
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★

## System information

This is the system information after the pull in step 1 above:

★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
$ guix describe
Generation 75	Apr 24 2020 12:03:48	(current)
  guix 4affa91
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: core-updates
    commit: 4affa9182d93c77505c40e95964b8ab9d436298b
  sirgazil-x 5ef0404
    repository URL: https://gitlab.com/sirgazil/guix-channel-x.git
    branch: master
    commit: 5ef04045d14e154e7792b42762155be63cf34076
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★

---
https://sirgazil.bitbucket.io/