From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 18 11:45:02 2019 Received: (at 38226) by debbugs.gnu.org; 18 Nov 2019 16:45:02 +0000 Received: from localhost ([127.0.0.1]:46143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWk97-00057p-UE for submit@debbugs.gnu.org; Mon, 18 Nov 2019 11:45:02 -0500 Received: from mail-qv1-f47.google.com ([209.85.219.47]:44655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWk95-00057O-PW for 38226@debbugs.gnu.org; Mon, 18 Nov 2019 11:45:00 -0500 Received: by mail-qv1-f47.google.com with SMTP id d3so6796556qvs.11 for <38226@debbugs.gnu.org>; Mon, 18 Nov 2019 08:44:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Cl1Pizy2x8IAuoeHjwbfomMz5+SuUwPJs7oCnq3S3i0=; b=kl3PXlVBiQbhkPEDXJgRzwuMjgXIZYgIrgr9tGY/8/OKBJBuZgnRnoVcd4GYiDZHVf du2XAHaLZPxBi0Q9QesMSv0Gg8LKHUmdBl1QyrQReMx2HUZqS/o33Cl1VtbDuDI8HeWO 3QirKI3o85+zgO6C72/DKIkKuqWlhxLOKma1mfywa8wy+makycFAZ/mqhC98nEZ8MQAX Oud0AKZYIgHIskaDU90pZCDZkZHae1IJ7cIO/Xz02TLuukp85U7dvp0mY7Kz3f3+xJNL XHzK0xWmNSMLEhq5zxLusFbVgnS1VThK3Zox7efk57yOoIdl7rToWYNYpyt4oDBXA15e +yeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Cl1Pizy2x8IAuoeHjwbfomMz5+SuUwPJs7oCnq3S3i0=; b=bHCKA4ENtWB5xDeRNoPHxcdbK6JmjL572lTMu3hhUIPyywCTxfUDXdE0wE21JJAK81 N4GIHycl92Pjn9zM9tTI8A+WnKsgCbapY9PCDVTAOAN6ten0/mySyrnuN+Ii7HZFw2n4 yuzVrO6omiN54NseEJkhhypXC4eku5bfjs/zkTaEn2ZLmo9i3O9/ATcqus8+vj4jCTBQ LTFJMlRpmWa5g82DRvjAHG4qXICS9k3d2kDEmzpwlFHi60Hx/NBNd3HCGG6lwruDmL3I 2S0afDew5BLLXvOwzfCpZUF31vpJ7/uoiPLJtM0hiSXEE4m7YfPXvWbqX+zKWK31wd7D Xfgw== X-Gm-Message-State: APjAAAXmN94FthqE9UY2+dNu2kRtL/igRTiEs0i/PICC+FGMbwA+8GyY yIEuYT5rI2sQgjliT2Oq+kQ1extZZpwRC5GQAdU= X-Google-Smtp-Source: APXvYqxRC2aaI03zO/Rw0UROUz2Ao2DyY9wwgYav074x/A4WQWEp4A4EeftihxPIGoJc6I7VnQCICUMjbNUckQ5YPdw= X-Received: by 2002:a0c:904b:: with SMTP id o69mr20569387qvo.74.1574095494149; Mon, 18 Nov 2019 08:44:54 -0800 (PST) MIME-Version: 1.0 References: <20191116032658.42f4533d.kmx@posteo.net> <87eey6jjds.fsf@gnu.org> <87zhgtgno6.fsf@gnu.org> In-Reply-To: <87zhgtgno6.fsf@gnu.org> From: zimoun Date: Mon, 18 Nov 2019 17:44:43 +0100 Message-ID: Subject: Re: bug#38226: guix pull: error: build failed: [...] ice-9/boot-9.scm:109:20: Syntax error: To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38226 Cc: 38226@debbugs.gnu.org, Kai Mertens X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, On Mon, 18 Nov 2019 at 17:22, Ludovic Court=C3=A8s wrote: > zimoun skribis: > > On Sun, 17 Nov 2019 at 22:15, Ludovic Court=C3=A8s wrote= : > >> The only thing that=E2=80=99s missing here is that currently =E2=80=9C= guix build > >> /gnu/store/=E2=80=A6.drv=E2=80=9D fails if the .drv doesn=E2=80=99t al= ready exist, which is why > >> the trick above resorts to a lower-level mechanism. > > > > I miss how to fetch this missing .drv. :-) > > > > For example this evaluation built a recent enough Guix, right? > > > > $ wget -q -O - 'http://ci.guix.gnu.org/build/1943556' | jq '."derivatio= n"' > > > > > > outputs the derivation file. But how do you fetch it? > > You don=E2=80=99t explicitly fetch it. Instead, you run =E2=80=9Cguix bu= ild /=E2=80=A6.drv=E2=80=9D, > and the daemon automatically attempts to substitute it if it=E2=80=99s no= t > available in your store (note that you need commit > 9c9982dc0c8c38ce3821b154b7e92509c1564317.) I do not have when I tested. The commit is from yesterday evening. ;-) (that's a real rolling release :-D) 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. > Now, I noticed that it doesn=E2=80=99t work so well when =E2=80=98guix pu= blish --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. --8<---------------cut here---------------start------------->8--- $ guix build "/gnu/store/bz1qqy225p1jlicwf07iiqr79icqddcv-guix-4de11dda7.d= rv" 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 $ guix describe Generation 55 Nov 18 2019 13:21:24 (current) guix 900ef20 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 900ef20b1da66ad71145082c883dc12f31fafa54 --8<---------------cut here---------------end--------------->8--- > >> Perhaps =E2=80=98guix pull=E2=80=99 should have a =E2=80=98--rescue=E2= =80=99 option to do the trick > >> above? > > > > Is it possible? > > We need to track on Cuirass one recent enough derivation of Guix for > > each architecture, right? > > Yeah well, that needs more thought. :-) I am not sure to clearly understand what we are talking about. :-) All the best, simon