From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: bug#38226: guix pull: error: build failed: [...] ice-9/boot-9.scm:109:20: Syntax error: Date: Tue, 19 Nov 2019 12:49:17 +0100 Message-ID: References: <20191116032658.42f4533d.kmx@posteo.net> <87eey6jjds.fsf@gnu.org> <87zhgtgno6.fsf@gnu.org> <87sgmlgd2t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51702) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX21D-0003i2-JD for bug-guix@gnu.org; Tue, 19 Nov 2019 06:50:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX21C-0000BQ-6Y for bug-guix@gnu.org; Tue, 19 Nov 2019 06:50:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37889) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iX21C-0000BI-2v for bug-guix@gnu.org; Tue, 19 Nov 2019 06:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iX21B-0004Ju-Q1 for bug-guix@gnu.org; Tue, 19 Nov 2019 06:50:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87sgmlgd2t.fsf@gnu.org> 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" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 38226@debbugs.gnu.org, Kai Mertens Hi Ludo, On Mon, 18 Nov 2019 at 21:10, Ludovic Court=C3=A8s wrote: > > zimoun skribis: > > > But if you have this commit, you do not need the dance that you > > described to "guix pull" with a very very old Guix version -- say > > before the 0.15 overhaul. > > You need to do the short version of the dance, so to speak, and the > proposed =E2=80=98--rescue=E2=80=99 could do that for you. Sorry, I am slow to understand. My current Guix version is pre-0.15. So "guix pull" does not work anymore. This evaluation [1] contains a recent enough Guix to be able to pull, I gue= ss. [1] http://ci.guix.gnu.org/build/1943556 I can download the derivation with: wget https://ci.guix.info/nar/gzip/bz1qqy225p1jlicwf07iiqr79icqddcv-guix-= 4de11dda7.drv But how to move the derivation to store? I am not sure that it makes sense. Well, the previous Guile snippet you have shown returns an error. My other approach is to clone and fetch a recent Guix from Git. Then: ./pre-env guix pull "bz1qqy225p1jlicwf07iiqr79icqddcv-guix-4de11dda7.drv" But I am not sure it will work because of the daemon. Do it make sense to start the fresh compiled daemon? > >> Now, I noticed that it doesn=E2=80=99t work so well when =E2=80=98guix= publish --cache=E2=80=99 > >> is used, as is the case on berlin. The reason is that the daemon will > >> query substitutes one by one: guix-xyz.drv, then guix-xyz-builder, and > >> so on. And because of the =E2=80=98--cache=E2=80=99 behavior, they=E2= =80=99ll all have to be > >> baked separately. > > > > $ guix build "/gnu/store/bz1qqy225p1jlicwf07iiqr79icqddcv-guix-4de11dd= a7.drv" > > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.= 0% > > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.= 0% > > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.= 0% > > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.= 0% > > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.= 0% > > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.= 0% > > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.= 0% > > cannot build missing derivation > > =E2=80=98/gnu/store/bz1qqy225p1jlicwf07iiqr79icqddcv-guix-4de11dda7.drv= =E2=80=99 > > guix build: error: build of > > `/gnu/store/bz1qqy225p1jlicwf07iiqr79icqddcv-guix-4de11dda7.drv' > > failed > > That=E2=80=99s a perfect illustration of the problem I described just abo= ve. Ahah! I am very slow to understand. :-) Cheers, simon