Substitute failure during 'guix pull'

OpenSubmitted by Michael Mausler.
Details
3 participants
  • Ludovic Courtès
  • Michael Mausler
  • zimoun
Owner
unassigned
Severity
normal
M
M
Michael Mausler wrote on 30 Apr 2021 00:43
I found a bug
(address . bug-guix@gnu.org)
CAF-ujtsttqQsZ-9X9MALr1DvLrK-7LXKzPjmFFE9Bx276dzJ2w@mail.gmail.com
Backtrace:
13 (primitive-load
"/gnu/store/fbbpjm8xwq8wbc5pkprim1ilwcb6h9lx-compute-guix-derivation")
In ice-9/eval.scm:
155:9 12 (_ _)
159:9 11 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?)
?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 10 (with-fluid* _ _ _)
152:2 9 (with-fluid* _ _ _)
In ./guix/store.scm:
2066:24 8 (run-with-store #<store-connection 256.99 7f02dc581be0> _
#:guile-for-build _ #:system _ #:target _)
1900:8 7 (_ _)
In ./guix/gexp.scm:
256:18 6 (_ _)
1137:2 5 (_ _)
1003:2 4 (_ _)
849:4 3 (_ _)
In ./guix/store.scm:
1948:12 2 (_ #<store-connection 256.99 7f02dc581be0>)
1362:5 1 (map/accumulate-builds #<store-connection 256.99 7f02dc581be0>
_ _)
1373:15 0 (_ #<store-connection 256.99 7f02dc581be0> _ _)

./guix/store.scm:1373:15: ERROR:
1. &store-protocol-error:
message: "some substitutes for the outputs of derivation
`/gnu/store/c8bnwlki4wa6s8rz4ynbcr95imhx3s13-graphviz-2.42.3.drv' failed
(usually happens due to networking issues); try `--fallback' to build
derivation from source "
status: 1
guix pull: error: You found a bug: the program
'/gnu/store/fbbpjm8xwq8wbc5pkprim1ilwcb6h9lx-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"131265ea3a3d71c3b430bce6bb2d428cc1a2a4fa"; system: "x86_64-linux";
host version: "1.2.0"; pull-version: 1).
Attachment: file
L
L
Ludovic Courtès wrote on 3 May 2021 00:00
control message for bug #48110
(address . control@debbugs.gnu.org)
871rao23um.fsf@gnu.org
retitle 48110 Substitute failure during 'guix pull'
quit
L
L
Ludovic Courtès wrote on 3 May 2021 00:01
Re: bug#48110: I found a bug
(name . Michael Mausler)(address . michaelmausler@gmail.com)(address . 48110@debbugs.gnu.org)
87wnsgztew.fsf@gnu.org
Hi,

Michael Mausler <michaelmausler@gmail.com> skribis:

Toggle quote (7 lines)
> 1. &store-protocol-error:
> message: "some substitutes for the outputs of derivation
> `/gnu/store/c8bnwlki4wa6s8rz4ynbcr95imhx3s13-graphviz-2.42.3.drv' failed
> (usually happens due to networking issues); try `--fallback' to build
> derivation from source "
> status: 1

This suggests that Guix failed to download binaries (“substitutes”) for
the GraphViz package, perhaps because of some transient networking
error.

Could you try running ‘guix pull’ again?

Thanks for your message,
Ludo’.
M
M
Michael Mausler wrote on 3 May 2021 01:20
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 48110@debbugs.gnu.org)
CAF-ujtv1bJoU7nr45iWwNduyT=7XQticH4N9hNTZFibC68OSvg@mail.gmail.com
Hey Ludovic,

I tried guix pull another time which failed with a similar error, so I
tried with the --fallback flag and that worked. Thanks for getting back to
me.

Michael

On Sun, May 2, 2021 at 6:02 PM Ludovic Courtès <ludo@gnu.org> wrote:

Toggle quote (20 lines)
> Hi,
>
> Michael Mausler <michaelmausler@gmail.com> skribis:
>
> > 1. &store-protocol-error:
> > message: "some substitutes for the outputs of derivation
> > `/gnu/store/c8bnwlki4wa6s8rz4ynbcr95imhx3s13-graphviz-2.42.3.drv' failed
> > (usually happens due to networking issues); try `--fallback' to build
> > derivation from source "
> > status: 1
>
> This suggests that Guix failed to download binaries (“substitutes”) for
> the GraphViz package, perhaps because of some transient networking
> error.
>
> Could you try running ‘guix pull’ again?
>
> Thanks for your message,
> Ludo’.
>
Attachment: file
L
L
Ludovic Courtès wrote on 3 May 2021 21:58
(name . Michael Mausler)(address . michaelmausler@gmail.com)(address . 48110@debbugs.gnu.org)
87bl9rwpwy.fsf@gnu.org
Hi,

Michael Mausler <michaelmausler@gmail.com> skribis:

Toggle quote (4 lines)
> I tried guix pull another time which failed with a similar error, so I
> tried with the --fallback flag and that worked. Thanks for getting back to
> me.

Do you still have the output that appeared above the backtrace? There
should be a clue as to why downloading Graphviz failed.

For the record, the two substitutes appear to be available:

Toggle snippet (6 lines)
$ wget -qO - https://ci.guix.gnu.org/nar/lzip/bi9hjvhcgr5rc0r29wmb18xxk4cgphx8-graphviz-2.42.3 | lzip -d | wc -c
8372744
$ wget -qO - https://ci.guix.gnu.org/nar/lzip/a2j5znslnafdydcrx9jqpr6n25a3k6vf-graphviz-2.42.3-doc | lzip -d | wc -c
5724672

Thanks,
Ludo’.
Z
Z
zimoun wrote on 2 Jul 2021 18:43
control message for bug #48110
(address . control@debbugs.gnu.org)
8735swmztb.fsf@gmail.com
tags 48110 + moreinfo
quit
?