From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 17 16:14:18 2019 Received: (at 38226) by debbugs.gnu.org; 17 Nov 2019 21:14:18 +0000 Received: from localhost ([127.0.0.1]:42788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWRsA-0001y7-AM for submit@debbugs.gnu.org; Sun, 17 Nov 2019 16:14:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWRs8-0001xu-H4 for 38226@debbugs.gnu.org; Sun, 17 Nov 2019 16:14:17 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iWRs2-0005DS-LR; Sun, 17 Nov 2019 16:14:10 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52792 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iWRs1-0001AL-Ms; Sun, 17 Nov 2019 16:14:10 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Kai Mertens Subject: Re: bug#38226: guix pull: error: build failed: [...] ice-9/boot-9.scm:109:20: Syntax error: References: <20191116032658.42f4533d.kmx@posteo.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Brumaire an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 17 Nov 2019 22:14:07 +0100 In-Reply-To: <20191116032658.42f4533d.kmx@posteo.net> (Kai Mertens's message of "Sat, 16 Nov 2019 03:26:58 +0100") Message-ID: <87eey6jjds.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38226 Cc: 38226@debbugs.gnu.org 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: -3.3 (---) Hello Kai, Kai Mertens skribis: > The command =E2=80=9Csudo -i guix --version=E2=80=9D gives me: > guix (GNU Guix) 20170703.13 This version predates the big =E2=80=98guix pull=E2=80=99 overhaul in 0.15.= 0 (what basically makes this kind of problem much less likely to happen.) Thus, you need a more recent =E2=80=98guix=E2=80=99 to upgrade. One way to do that is to fetch the derivation that builds a recent Guix and to build it. Here=E2=80=99s a trick to do that (for commit 57c7bfec6, on x86_64-linux): --8<---------------cut here---------------start------------->8--- $ guile -c '(use-modules (guix)) (with-store s (build-things s (list "/gnu/= store/ihylk84symj8mjhp3zmy83ch2h2pl0ks-guix-57c7bfec6.drv")))' $ guix build "/gnu/store/ihylk84symj8mjhp3zmy83ch2h2pl0ks-guix-57c7bfec6.dr= v" $ /gnu/store/4zmf32hjrjjjl2xp91aldxhmsmk6ff29-guix-57c7bfec6/bin/guix pull --8<---------------cut here---------------end--------------->8--- Let me know how it goes! We should probably streamline that. Actually, it=E2=80=99s already almost automated: --8<---------------cut here---------------start------------->8--- $ wget -q -O - 'https://ci.guix.gnu.org/api/latestbuilds?nr=3D1&jobset=3Dgu= ix-modular-master' | jq '.[0]["derivation"]' "/gnu/store/ihylk84symj8mjhp3zmy83ch2h2pl0ks-guix-57c7bfec6.drv" --8<---------------cut here---------------end--------------->8--- The only thing that=E2=80=99s missing here is that currently =E2=80=9Cguix = build /gnu/store/=E2=80=A6.drv=E2=80=9D fails if the .drv doesn=E2=80=99t already= exist, which is why the trick above resorts to a lower-level mechanism. Perhaps =E2=80=98guix pull=E2=80=99 should have a =E2=80=98--rescue=E2=80= =99 option to do the trick above? HTH, Ludo=E2=80=99.