From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: bug-guix@gnu.org
Subject: Re: Binary substituter
Date: Fri, 26 Apr 2013 22:18:54 +0200 [thread overview]
Message-ID: <87sj2dkpu9.fsf@gnu.org> (raw)
In-Reply-To: <201304261815.27447.andreas@enge.fr> (Andreas Enge's message of "Fri, 26 Apr 2013 18:15:27 +0200")
Andreas Enge <andreas@enge.fr> skribis:
> Am Donnerstag, 25. April 2013 schrieb Ludovic Courtès:
>> I believe that commit 1c9e7d6 partly solves that. That is, if you
>> ‘rm -rf /nix/var/nix/substitute-binary/’, and then run
>> ‘guix build hello -n’, it should report things that it would download.
>
> Yes, it tells it will download hello. And the cache directory is filled
> with data containing the urls of packages to download.
Good.
>> However, if you type ‘guix build hello’, it will barf in ‘filtered-port’
>> when trying to actually download the thing.
>
> Maybe. Here is the output:
>
> the following file will be downloaded:
> /nix/store/w2121wnp8xv3ycjsgj3ymhb147mrgpc9-hello-2.8
> @ substituter-started /nix/store/w2121wnp8xv3ycjsgj3ymhb147mrgpc9-hello-2.8
> /usr/local/guix-git/libexec/guix/substitute-binary
> guix substitute-binary: warning: using Guile 2.0.5-deb+1-3, which does not
> support HTTP () encoding
> guix substitute-binary: error: download failed; use a newer Guile
Oh, it’s not failing where I was expecting.
Hmm, I see no easy workaround for this one. Mark?
> @ substituter-failed /nix/store/w2121wnp8xv3ycjsgj3ymhb147mrgpc9-hello-2.8
> 256 fetching path `/nix/store/w2121wnp8xv3ycjsgj3ymhb147mrgpc9-hello-2.8'
> failed with exit code 1
> guix build: error: build failed: some substitutes for the outputs of
> derivation `/nix/store/7b51j955338q2kxj3ssvly0i2pw20z7q-hello-2.8.drv'
> failed; try `--fallback'
>
> Adding "--fallback" leads to an error message about an unrecognised option.
Yes, it’s actually a ‘nix-store’ option. We should add that option.
Thanks for testing!
Ludo’.
prev parent reply other threads:[~2013-04-26 20:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-03 22:14 Binary substituter Ludovic Courtès
2013-04-12 17:08 ` Ludovic Courtès
2013-04-15 21:54 ` Ludovic Courtès
2013-04-16 22:10 ` Ludovic Courtès
2013-04-18 16:44 ` Andreas Enge
2013-04-18 20:56 ` Ludovic Courtès
2013-04-19 7:38 ` Andreas Enge
2013-04-19 10:02 ` Ludovic Courtès
2013-04-18 16:49 ` Nikita Karetnikov
2013-04-18 20:54 ` Ludovic Courtès
2013-04-23 6:10 ` Nikita Karetnikov
2013-04-23 7:10 ` Nikita Karetnikov
2013-04-23 11:41 ` Ludovic Courtès
2013-04-18 20:52 ` Ludovic Courtès
2013-04-19 7:41 ` Andreas Enge
2013-04-25 21:35 ` Ludovic Courtès
2013-04-26 16:15 ` Andreas Enge
2013-04-26 20:18 ` Ludovic Courtès [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
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=87sj2dkpu9.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=andreas@enge.fr \
--cc=bug-guix@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).