From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Binary substituter Date: Fri, 26 Apr 2013 22:18:54 +0200 Message-ID: <87sj2dkpu9.fsf@gnu.org> References: <87a9pfl0sx.fsf@gnu.org> <201304190941.23015.andreas@enge.fr> <877gjqs38x.fsf@gnu.org> <201304261815.27447.andreas@enge.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVp6o-0001mU-T4 for bug-guix@gnu.org; Fri, 26 Apr 2013 16:19:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVp6n-0001bE-Uf for bug-guix@gnu.org; Fri, 26 Apr 2013 16:19:06 -0400 Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=43471 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVp6n-0001Yv-Oc for bug-guix@gnu.org; Fri, 26 Apr 2013 16:19:05 -0400 In-Reply-To: <201304261815.27447.andreas@enge.fr> (Andreas Enge's message of "Fri, 26 Apr 2013 18:15:27 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: bug-guix@gnu.org Andreas Enge skribis: > Am Donnerstag, 25. April 2013 schrieb Ludovic Court=C3=A8s: >> I believe that commit 1c9e7d6 partly solves that. That is, if you >> =E2=80=98rm -rf /nix/var/nix/substitute-binary/=E2=80=99, and then run >> =E2=80=98guix build hello -n=E2=80=99, it should report things that it w= ould download. > > Yes, it tells it will download hello. And the cache directory is filled=20 > with data containing the urls of packages to download. Good. >> However, if you type =E2=80=98guix build hello=E2=80=99, it will barf in= =E2=80=98filtered-port=E2=80=99 >> 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=20 > /usr/local/guix-git/libexec/guix/substitute-binary > guix substitute-binary: warning: using Guile 2.0.5-deb+1-3, which does no= t=20 > support HTTP () encoding > guix substitute-binary: error: download failed; use a newer Guile Oh, it=E2=80=99s not failing where I was expecting. Hmm, I see no easy workaround for this one. Mark? > @ substituter-failed /nix/store/w2121wnp8xv3ycjsgj3ymhb147mrgpc9-hello-2.= 8=20 > 256 fetching path `/nix/store/w2121wnp8xv3ycjsgj3ymhb147mrgpc9-hello-2.8'= =20 > failed with exit code 1 > guix build: error: build failed: some substitutes for the outputs of=20 > derivation `/nix/store/7b51j955338q2kxj3ssvly0i2pw20z7q-hello-2.8.drv'=20 > failed; try `--fallback' > > Adding "--fallback" leads to an error message about an unrecognised optio= n. Yes, it=E2=80=99s actually a =E2=80=98nix-store=E2=80=99 option. We should= add that option. Thanks for testing! Ludo=E2=80=99.