Hello Guix developers!
Today I am experiencing a problem with installing Emacs via Guix on foreign
distro.
Here is what I do:
~~~~shell command~~~~
guix time-machine \
--channels="${DIR}/channels.scm" -- \
shell \
--manifest="${DIR}/manifest.scm" -- \
emacs
~~~~
My channels.scm was updated today, using `guix pull && guix package -u` and then
`guix describe --format=channels > channels.scm`, so I guess it should be very up to
date:
~~~~channels.scm~~~~
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(commit
"76cc5b9e806635cfb94a2c1101ffe6500eab6976")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))
~~~~
~~~~manifest.scm~~~~
(specifications->manifest
'("emacs"
"emacs-auto-complete"
"emacs-company"
"emacs-dockerfile-mode"
"emacs-editorconfig"
"emacs-erlang"
"emacs-exec-path-from-shell"
"emacs-flycheck"
"emacs-geiser"
"emacs-geiser-guile"
"emacs-geiser-racket"
"emacs-goto-chg"
"emacs-jinja2-mode"
"emacs-json-mode"
"emacs-magit"
"emacs-markdown-mode"
"emacs-moe-theme-el"
"emacs-monokai-theme"
"emacs-multiple-cursors"
"emacs-neotree"
"emacs-ob-async"
"emacs-org"
"emacs-ox-gfm"
"emacs-pkg-info"
"emacs-project"
;; "emacs-python-environment"
"emacs-racket-mode"
"emacs-sml-mode"
"emacs-toml-mode"
;; "emacs-typescript-mode"
"emacs-undo-tree"
"emacs-web-mode"
"emacs-yaml-mode"
"emacs-yasnippet"
"guile"
"guile-colorized"
"guile-fslib"
"guile-json"
"guile-readline"
"racket"))
~~~~
My manifest seems long, but the actual error that happens is the following:
~~~~
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/yqc31b08dxahwpghlp872976ba3ilg2m-emacs-libgit-20200515-1.0ef8b13.drv
/gnu/store/f9iy2d8ixx93xm9x32qvbcyva24pcb1k-emacs-magit-3.3.0.drv
building
/gnu/store/yqc31b08dxahwpghlp872976ba3ilg2m-emacs-libgit-20200515-1.0ef8b13.drv...
| 'check' phasebuilder for
`/gnu/store/yqc31b08dxahwpghlp872976ba3ilg2m-emacs-libgit-20200515-1.0ef8b13.drv'
failed with exit code 1
build of
/gnu/store/yqc31b08dxahwpghlp872976ba3ilg2m-emacs-libgit-20200515-1.0ef8b13.drv
failed
View build log at
'/var/log/guix/drvs/yq/c31b08dxahwpghlp872976ba3ilg2m-emacs-libgit-20200515-1.0ef8b13.drv.gz'.
guix shell: error: build of
`/gnu/store/yqc31b08dxahwpghlp872976ba3ilg2m-emacs-libgit-20200515-1.0ef8b13.drv'
failed
~~~~
And that log file contains the following at the end (it is over 400 lines):
~~~~
29/29 Test #29: libegit2_tree .................... Passed 0.09 sec
97% tests passed, 1 tests failed out of 29
Total Test time (real) = 7.87 sec
The following tests FAILED:
3 - libegit2_blob (Failed)
Errors while running CTest
make: *** [Makefile:94: test] Error 8
Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("test" "-j" "16")
exit-status: 2 term-signal: #f stop-signal: #f>
phase `check' failed after 7.9 seconds
command "make" "test" "-j" "16" failed with status 2
~~~~
So it seems some test is failing and that prevents the whole build.
Is there anything else, that I should be providing as info? I attach the whole
log file to this message.
Best regards,
Zelphir