all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl>
Cc: 43384@debbugs.gnu.org
Subject: bug#43384: guix pull: backtrace "no route to host"
Date: Tue, 04 May 2021 18:56:02 -0700	[thread overview]
Message-ID: <87sg320wr1.fsf@gmail.com> (raw)
In-Reply-To: <20200914012204.7740c5c2@interia.pl> (Jan Wielkiewicz's message of "Mon, 14 Sep 2020 01:22:18 +0200")

[-- Attachment #1: Type: text/plain, Size: 2948 bytes --]

Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl> writes:

> Hello, 
> I tried running "guix pull" but it gave me a backtrace.
>
> guix substitute: error: connect: No route to host
> @ substituter-failed
> /gnu/store/c4mzhay8jrg5r43wkn4f9004afvly0ad-po4a-0.57 256 fetching path
> `/gnu/store/c4mzhay8jrg5r43wkn4f9004afvly0ad-po4a-0.57' failed with
> exit code 1 @ substituter-started
> /gnu/store/s6ha2sssblw06sjpw4zawzx98zwbj5m7-graphviz-2.42.3 substitute
> killing process 6694 Backtrace: 11 (primitive-load
> "/gnu/store/lardz9zqi5ypgrdrj6dyfgj9p3bca2ab-compute-guix-derivation")
> In ice-9/eval.scm: 155:9 10 (_ _) 159:9  9 (_
> #(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-user) 7fe2f2ca4f?> ?) ?)
> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?)) In ./guix/store.scm: 2042:24  8
> (run-with-store #<store-connection 256.99 7fe2f10265f0> _
> #:guile-for-build _ #:system _ #:target _) 1876:8  7 (_ _) In
> ./guix/gexp.scm: 244:18  6 (_ _)
>    1064:2  5 (_ _)
>     924:2  4 (_ _)
>     785:4  3 (_ _)
> In ./guix/store.scm:
>   1924:12  2 (_ #<store-connection 256.99 7fe2f10265f0>)
>    1357:5  1 (map/accumulate-builds #<store-connection 256.99
> 7fe2f10265f0> _ _) 1368:15  0 (_ #<store-connection 256.99
> 7fe2f10265f0> 7fe2f10265f0> _ _)
>
> ./guix/store.scm:1368:15: ERROR:
>   1. &store-protocol-error:
>       message: "some substitutes for the outputs of derivation
> `/gnu/store/bxw2dzjmdrq7qmv0w1mpzqrkfqs9p7q2-po4a-0.57.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/lardz9zqi5ypgrdrj6dyfgj9p3bca2ab-compute-guix-derivation'
> failed to compute the derivation for Guix (version:
> "71992a532dd0bb88b39dda285482b332a24dae66"; system: "x86_64-linux";
> host version: "1192ae940434808560b3170107e4ce44855816c3"; pull-version:
> 1). Please report it by email to <bug-guix@gnu.org>.
>
>
> Jan Wielkiewicz

It sounds like perhaps this error was caused by a networking error.
Although much time has passed since you opened this bug report, I think
in situations like this, you can work around the issue by trying the
command with the --fallback option, as the error message suggests.  Did
you try that?

You could try something like this:

  guix pull --fallback

You could also try building just that one problematic derivation with
fallback, like this:

  guix build --fallback /gnu/store/bxw2dzjmdrq7qmv0w1mpzqrkfqs9p7q2-po4a-0.57.drv

If successful, you can then retry "guix pull" without the --fallback
option, but if a network error was the cause, the same kind of issue
might happen again for any other derivation.  Therefore, I would
recommend trying "guix pull --fallback" if this sort of problem happens
frequently for you.

FYI, you can also add "--fallback" to various commands, like "guix
build" and "guix package".

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

      reply	other threads:[~2021-05-05  1:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-13 23:22 bug#43384: guix pull: backtrace "no route to host" Jan Wielkiewicz
2021-05-05  1:56 ` Chris Marusich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sg320wr1.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=43384@debbugs.gnu.org \
    --cc=tona_kosmicznego_smiecia@interia.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.