From: Vagrant Cascadian <vagrant@debian.org>
To: 31892@debbugs.gnu.org
Subject: bug#31892: guix pull ignores --substitute-urls in some cases
Date: Mon, 18 Jun 2018 20:51:43 -0700 [thread overview]
Message-ID: <87in6fph68.fsf@aikidev.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 3568 bytes --]
I've seen this a few times, and it seems like guix pull remembers old
substitutes. I tried disabling one of the substitutes that guix-daemon
is configured to use since it wasn't online at the time, but it tries to
use it anyways:
guix pull --substitute-urls='http://10.0.0.15:8081 http://10.0.0.15:8082' --branch=elfutils-0.172 --url=/home/vagrant/src/guix-bare
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument
Updating from Git repository at '/home/vagrant/src/guix-bare'...
Building from Git commit b606d8625660ed035e98db7035f487e8b90b4d65...
guile: warning: failed to install locale
Computing Guix derivation for 'aarch64-linux'... -fetching path `/gnu/store/d1im1cqpajfyl6w205vpmw7pqv2j1y1b-libpthread-stubs-0.4'...
-
|Downloading http://10.0.0.157:8080/nar/gzip/d1im1cqpajfyl6w205vpmw7pqv2j1y1b-libpthread-stubs-0.4...
guix substitute: error: connect: No route to host
fetching path `/gnu/store/d1im1cqpajfyl6w205vpmw7pqv2j1y1b-libpthread-stubs-0.4' failed with exit code 1
fetching path `/gnu/store/yalicl04jvm63lwsnck336w96g88bi80-bash-4.4.19'...
killing process 860
Backtrace:
17 (primitive-load "/gnu/store/xv6vjm9rz14c6y7ysr8rlqd6qaj?")
In ice-9/boot-9.scm:
142:2 16 (dynamic-wind _ _ #<procedure 1fd1b960 at ice-9/eval.sc?>)
In ice-9/eval.scm:
155:9 15 (_ _)
159:9 14 (_ #(#(#<directory (guile-user) 1f85b140> "aarch64-?" ?)))
In ./guix/store.scm:
1414:24 13 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In ./guix/gexp.scm:
/ 666:2 12 (_ _)
In ./guix/monads.scm:
485:9 11 (_ _)
In ./guix/gexp.scm:
538:22 10 (_ _)
666:2 9 (_ _)
In ./guix/monads.scm:
485:9 8 (_ _)
In ./guix/gexp.scm:
538:22 7 (_ _)
In ./guix/store.scm:
1333:38 6 (_ #<build-daemon 256.97 1f91ecd0>)
In ./guix/packages.scm:
878:14 5 (cache! #<weak-table 490/883> #<package graphviz@2.40.?> ?)
In unknown file:
4 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In ./guix/grafts.scm:
310:4 3 (graft-derivation #<build-daemon 256.97 1f91ecd0> #<de?> ?)
188:4 2 (references-oracle #<build-daemon 256.97 1f91ecd0> #<de?>)
197:20 1 (_ _ _)
In ./guix/store.scm:
934:15 0 (_ #<build-daemon 256.97 1f91ecd0> _ _)
./guix/store.scm:934:15: Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "some substitutes for the outputs of derivation `/gnu/store/jvfkbsw0fgi1ihnc8g2dhixgsy1gzk9b-libpthread-stubs-0.4.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source " status: 1] 262abb10>)'.
Backtrace:
9 (primitive-load "/gnu/store/xl7cb97kpmpwc49yd9s6hhk21d8?")
In guix/ui.scm:
1557:12 8 (run-guix-command _ . _)
In ice-9/boot-9.scm:
837:9 7 (catch _ _ #<procedure ffffb23ef980 at guix/ui.scm:593?> ?)
837:9 6 (catch _ _ #<procedure ffffb23ef998 at guix/ui.scm:711?> ?)
837:9 5 (catch _ _ #<procedure ffffb02ac7a0 at guix/scripts/pu?> ?)
In guix/scripts/pull.scm:
391:22 4 (_)
In guix/store.scm:
1414:24 3 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/pull.scm:
239:2 2 (_ _)
In ice-9/eval.scm:
191:27 1 (_ #(#(#<directory (build-self) ae28dc0> #<procedu?>) ?))
In unknown file:
0 (scm-error misc-error #f "~A ~S" ("invalid build re?" ?) ?)
ERROR: In procedure scm-error:
ERROR: invalid build result (#<derivation /gnu/store/015sq2sm50yv22x4n5pcvr0psy51pfvr-compute-guix-derivation.drv => /gnu/store/xv6vjm9rz14c6y7ysr8rlqd6qaj3w8v3-compute-guix-derivation bdb4230> "")
live well,
vagrant
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next reply other threads:[~2018-06-19 3:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-19 3:51 Vagrant Cascadian [this message]
2018-06-26 12:33 ` bug#31892: guix pull ignores --substitute-urls in some cases Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87in6fph68.fsf@aikidev.net \
--to=vagrant@debian.org \
--cc=31892@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).