compute-guix-derivation failed to compute the derivation for Guix

  • Open
  • quality assurance status badge
Details
2 participants
  • Keith Thompson
  • Ludovic Courtès
Owner
unassigned
Submitted by
Keith Thompson
Severity
normal
K
K
Keith Thompson wrote on 23 May 2019 10:19
(address . bug-guix@gnu.org)(name . Keith Thompson)(address . Keith.S.Thompson@gmail.com)
CAAHpriOWXe3YDkH-jhQNc77-cirQtauViXtGMwZDdQNhj3Jrhg@mail.gmail.com
I'm running Guix, installed from guix-system-install-1.0.1.x86_64-linux.iso,
in a VirtualBox VM. I encountered an error running "guix pull". A very quick
look at the mailing list archives suggests that this may be similar to
bug#35723.

Output:

$ guix pull
Migrating profile generations to '/var/guix/profiles/per-user/kst'...
Updating channel 'guix' from Git repository at
Building from this channel:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
1.8 MB will be downloaded:
/gnu/store/rq5hbb52rv7i9p86kqwd2as4hm8sa1fd-compute-guix-derivation
/gnu/store/aczwfrfb0s7glkizqs524ssh6ih0vq24-module-import
/gnu/store/jgs3ahcnslhjgla1b5m2pxclkpb2110d-module-import-compiled
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
downloading from
config.scm 503B

112KiB/s 00:00 [##################] 100.0%

downloading from
git.scm 101B

6KiB/s 00:00 [##################] 100.0%

downloading from
hash.scm 132B

17KiB/s 00:00 [##################] 100.0%

downloading from
module-import 2KiB

282KiB/s 00:00 [##################] 100.0%

downloading from
module-import-compiled 1.8MiB

1.5MiB/s 00:01 [##################] 100.0%

downloading from
compute-guix-derivation 854B

138KiB/s 00:00 [##################] 100.0%

Computing Guix derivation for 'x86_64-linux'... |@ substituter-started
/gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28
/gnu/store/ncknl03pkmamrxg7q9nxi1rn1qhvwbi9-guix-1.0.1/libexec/guix/substitute
|guix substitute: error: connect: Connection timed out
@ substituter-failed
/gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28
256 fetching path
`/gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28'
failed with exit code 1
@ substituter-started
/gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1
/gnu/store/ncknl03pkmamrxg7q9nxi1rn1qhvwbi9-guix-1.0.1/libexec/guix/substitute
killing process 1578
killing process 1578: No such process
\Backtrace:
In ./guix/store.scm:
1667:8 19 (_ _)
In ./guix/gexp.scm:
708:2 18 (_ _)
In ./guix/monads.scm:
482:9 17 (_ _)
In ./guix/gexp.scm:
573:13 16 (_ _)
In ./guix/store.scm:
1667:8 15 (_ _)
In ./guix/gexp.scm:
1139:2 14 (_ _)
In ./guix/monads.scm:
482:9 13 (_ _)
In ./guix/gexp.scm:
1136:6 12 (_ _)
In ./guix/store.scm:
1667:8 11 (_ _)
In ./guix/gexp.scm:
708:2 10 (_ _)
In ./guix/monads.scm:
482:9 9 (_ _)
In ./guix/gexp.scm:
573:13 8 (_ _)
In ./guix/store.scm:
1667:8 7 (_ _)
1667:8 6 (_ _)
1690:38 5 (_ #<store-connection 256.99 6a80cc0>)
In ./guix/packages.scm:
936:16 4 (cache! #<weak-table 306/443> #<package xz@5.2.4 6d3d1?> ?)
In ./guix/grafts.scm:
314:4 3 (graft-derivation #<store-connection 256.99 6a80cc0> # # ?)
192:4 2 (references-oracle #<store-connection 256.99 6a80cc0> #)
201:20 1 (_ _ _)
In ./guix/store.scm:
1203:15 0 (_ #<store-connection 256.99 6a80cc0> _ _)

./guix/store.scm:1203:15: Throw to key `srfi-34' with args
`(#<condition &store-protocol-error [message: "some substitutes for
the outputs of derivation
`/gnu/store/c4ni4sq1sb9vv5w3a06jnbwy2j0w819k-glibc-utf8-locales-2.28.drv'
failed (usually happens due to networking issues); try `--fallback' to
build derivation from source " status: 1] 40e1cf0>)'.
guix pull: error: You found a bug: the program
'/gnu/store/rq5hbb52rv7i9p86kqwd2as4hm8sa1fd-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"ea54133367aad77a9e941fba18fe57ab3e1ab5d9"; system: "x86_64-linux";
host version: "1.0.1"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.
K
K
Keith Thompson wrote on 23 May 2019 23:10
(address . 35865@debbugs.gnu.org)(name . Keith Thompson)(address . Keith.S.Thompson@gmail.com)
CAAHpriMwPQHY=xiDOdkUuSfdVDXgVCfPctqaOR2fCDX_+BKHUw@mail.gmail.com
After submitting that report, I ran "guix pull" again, with no
intervening commands. The system sat idle for about 28 hours
between the two attempts. The second command completed without error.

I have partial output of the successful command (about 1800
lines). I'm not including it here, but let me know if you want to
see it. (Ask for a copy of "guix-bug2".)

-- Keith Thompson
L
L
Ludovic Courtès wrote on 25 May 2019 19:24
(name . Keith Thompson)(address . Keith.S.Thompson@gmail.com)(address . 35865@debbugs.gnu.org)
877eaeqwg8.fsf@gnu.org
Hello,

Keith Thompson <Keith.S.Thompson@gmail.com> skribis:

Toggle quote (5 lines)
> Computing Guix derivation for 'x86_64-linux'... |@ substituter-started
> /gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28
> /gnu/store/ncknl03pkmamrxg7q9nxi1rn1qhvwbi9-guix-1.0.1/libexec/guix/substitute
> |guix substitute: error: connect: Connection timed out

[...]

Toggle quote (5 lines)
> the outputs of derivation
> `/gnu/store/c4ni4sq1sb9vv5w3a06jnbwy2j0w819k-glibc-utf8-locales-2.28.drv'
> failed (usually happens due to networking issues); try `--fallback' to
> build derivation from source " status: 1] 40e1cf0>)'.

It looks like you experienced a transient network error that prevented
you from downloading ‘glibc-utf8-locales’.

Toggle quote (2 lines)
> guix pull: error: You found a bug: the program

This message is confusing: it should report the networking issue above
rather than suggest there’s a bug.

Toggle quote (4 lines)
> I have partial output of the successful command (about 1800
> lines). I'm not including it here, but let me know if you want to
> see it. (Ask for a copy of "guix-bug2".)

I don’t think it’s necessary. The main issue from my POV is that the
error message is misleading since it fails to convey the useful piece of
information.

Thanks,
Ludo’.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 35865@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 35865
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch