GNU bug report logs - #38226
guix pull: error: build failed: [...] ice-9/boot-9.scm:109:20: Syntax error:

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Kai Mertens <kmx@HIDDEN>; dated Sat, 16 Nov 2019 02:34:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 38226 <at> debbugs.gnu.org:


Received: (at 38226) by debbugs.gnu.org; 20 Nov 2019 14:24:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 20 09:24:50 2019
Received: from localhost ([127.0.0.1]:49218 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iXQuX-0008Dw-VB
	for submit <at> debbugs.gnu.org; Wed, 20 Nov 2019 09:24:50 -0500
Received: from mout01.posteo.de ([185.67.36.65]:53501)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kmx@HIDDEN>) id 1iXQuU-0008Dh-Qk
 for 38226 <at> debbugs.gnu.org; Wed, 20 Nov 2019 09:24:48 -0500
Received: from submission (posteo.de [89.146.220.130]) 
 by mout01.posteo.de (Postfix) with ESMTPS id DD0FE16005C
 for <38226 <at> debbugs.gnu.org>; Wed, 20 Nov 2019 15:24:39 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1574259880; bh=yDfe1ZX/drhxuW+ZZkZMCK+AYfnaAD660Vy3EvuxvpI=;
 h=Date:From:To:Cc:Subject:From;
 b=ahQWiaRjyGZAZ+8EJlIatYpaPIltAlVht9V8W2SQeQv9NQ1cPnlIza/zOtPVbj8GJ
 jYWRDCY4iniLPd1J+VTVlMFlVxD5XXDosvn8WzdY5WPf2UV7UKwS1NA4Mc3+/zz8rq
 1cuC7qEUqiKKmBDjZ/Tx0FBwSAAmnC+IrCqDdiEr1aQq+nX6gUVMuksyR5+v/JvmeM
 T/80V3ZHbT8UTf4Rwn1kQFOhF+mrf6pPgn49OzJ9sd2vqbBpuDv523Cqnreq3mvjJo
 9t76IV78OcLFruoEjewzU71xwgVMn7gT7r/+wEQmZNlBEAEnGqVbATZHDcKYabVqkI
 TdEFBm9/oTULw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 47J4hQ2fjcz6tmH;
 Wed, 20 Nov 2019 15:24:38 +0100 (CET)
Date: Wed, 20 Nov 2019 15:21:27 +0100
From: Kai Mertens <kmx@HIDDEN>
To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= <ludo@HIDDEN>
Subject: Re: bug#38226: guix pull: error: build failed: [...]
 ice-9/boot-9.scm:109:20: Syntax error:
Message-ID: <20191120152127.561dbc3f.kmx@HIDDEN>
In-Reply-To: <87eey6jjds.fsf@HIDDEN>
References: <20191116032658.42f4533d.kmx@HIDDEN> <87eey6jjds.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/+GGvyKRVLgDezBR=Tw.pU2I";
 protocol="application/pgp-signature"; micalg=pgp-sha512
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 38226
Cc: 38226 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--Sig_/+GGvyKRVLgDezBR=Tw.pU2I
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Sun, 17 Nov 2019 22:14:07 +0100
Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> > The command =E2=80=9Csudo -i guix --version=E2=80=9D gives me:
> >   guix (GNU Guix) 20170703.13 =20
>=20
> This version predates the big =E2=80=98guix pull=E2=80=99 overhaul in 0.1=
5.0 (what
> basically makes this kind of problem much less likely to happen.)
>=20
> Thus, you need a more recent =E2=80=98guix=E2=80=99 to upgrade.
>=20
> One way to do that is to fetch the derivation that builds a recent Guix
> and to build it.
>=20
> Here=E2=80=99s a trick to do that (for commit 57c7bfec6, on x86_64-linux):
>=20
> --8<---------------cut here---------------start------------->8---
> $ guile -c '(use-modules (guix)) (with-store s (build-things s (list "/gn=
u/store/ihylk84symj8mjhp3zmy83ch2h2pl0ks-guix-57c7bfec6.drv")))'
> $ guix build "/gnu/store/ihylk84symj8mjhp3zmy83ch2h2pl0ks-guix-57c7bfec6.=
drv"
> $ /gnu/store/4zmf32hjrjjjl2xp91aldxhmsmk6ff29-guix-57c7bfec6/bin/guix pull
> --8<---------------cut here---------------end--------------->8---
>=20
> Let me know how it goes!

Puh, in respect to the sequencing mails I have to admit that it is hard
to me to follow the discussion. So please let me ask something else in
between: Can I make use of an existing guix derivation file or guix
binary, available in /gnu/store?

In example (on i686):

The root account has this very old guix version:
  v0.13.0-443-gde9d8f0e29

Whereas, my user account has a more up-to-date version:
  bootstrap-20190815-3564-g7696af421b
and its Generation 1 refers to:
  v0.16.0

In /gnu/store/, I have several guix derivations available:
$ ll *-guix-0.13.0-2.???????.drv
-r--r--r-- 2 root root 4,5K Jan  1  1970 6r87sglvwbmqcz2zhzgvag7aakk1shc3-g=
uix-0.13.0-2.de9d8f0.drv
-r--r--r-- 2 root root 1,1K Jan  1  1970 c24j1glzsgzklkjmv2ik7vcsyasc6yg2-g=
uix-0.13.0-2.de9d8f0.drv
-r--r--r-- 2 root root 2,7K Jan  1  1970 cav8ip7bazglbhagd7afbyw9aah94q3m-g=
uix-0.13.0-2.de9d8f0.drv
-r--r--r-- 2 root root 4,5K Jan  1  1970 p5m5qhkab5rxki8fmn89wgmnvchf1p1l-g=
uix-0.13.0-2.de9d8f0.drv

and

$ ll *-guix-?????????.drv
-r--r--r-- 2 root root 1,2K Jan  1  1970 0ypa7ga44mprjp2cfyk5iwlg07jqq2m4-g=
uix-b8f0a3fdc.drv
-r--r--r-- 2 root root 1,3K Jan  1  1970 3b4kw7sfm03092cc0sxh91w2v26jvq4n-g=
uix-4a0b87f0e.drv
-r--r--r-- 2 root root 1,2K Jan  1  1970 bl41dqirc8j6mza8f01xac1f8pd5fbh3-g=
uix-d8048dbe5.drv
-r--r--r-- 2 root root 1,2K Jan  1  1970 iq424kad8wj3ws0g59nwdkccrk34k76g-g=
uix-c72c10053.drv
-r--r--r-- 2 root root 1,2K Jan  1  1970 r2hww1x08y9gz9a9fb94w1b0d3rjv9d5-g=
uix-7696af421.drv

...which can be sorted by age if I use =E2=80=9Cgit describe=E2=80=9D to ge=
t a human
readable string:

~~~

$ git describe 7696af421
bootstrap-20190815-3564-g7696af421b
$ git describe d8048dbe5
bootstrap-20190815-3491-gd8048dbe50
$ git describe b8f0a3fdc
bootstrap-20190815-3368-gb8f0a3fdc8
$ git describe c72c10053
v1.0.0-696-gc72c10053d
$ git describe 4a0b87f0e
v0.16.0
$ git describe de9d8f0
v0.13.0-443-gde9d8f0e29

~~~

If I pick the oldest commit beyond 0.15, I try an already built binary.
That seems to work, although I receive a bunch of warnings (not shown here):

~~~

# /gnu/store/b0br0mhjxcy7bzg0c2pij1vf48jf9ddj-guix-4a0b87f0e/bin/guix pull =
-c0
guile: warning: failed to install locale
hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' packa=
ge and defining `GUIX_LOCPATH', along these lines:

     guix package -i glibc-utf8-locales
     export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.


Migrating profile generations to '/var/guix/profiles/per-user/root'...
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or=
g/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git	900ef20
substitute: updating list of substitutes from 'https://ci.guix.gnu.org'... =
100.0%
substitute: updating list of substitutes from 'https://ci.guix.gnu.org'... =
100.0%
substitute: updating list of substitutes from 'https://ci.guix.gnu.org'... =
100.0%

[...]

building /gnu/store/3yk3qh02vx8zm7pd9d3x7gicikfbpybr-profile.drv...
successfully built /gnu/store/3yk3qh02vx8zm7pd9d3x7gicikfbpybr-profile.drv
1 package in profile

# guix pull -l
guile: warning: failed to install locale
Generation 1	Nov 18 2019 22:45:38	(current)
  guix 900ef20
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 900ef20b1da66ad71145082c883dc12f31fafa54

# guix package -I
guile: warning: failed to install locale
glibc-utf8-locales	2.25	out	/gnu/store/9vv6szr949m8mrqfyj7bfkxi8g5mfr2y-gli=
bc-utf8-locales-2.25
guix	0.13.0-2.de9d8f0	out	/gnu/store/34541bys6lh3wjwjn81b9bxjb93q83qx-guix-=
0.13.0-2.de9d8f0
glibc	2.25	out	/gnu/store/2bw8y2k8fi9n6yl43ks0m62z919kgrfv-glibc-2.25

~~~

If I understand correctly, I have just updated my root=E2=80=99s guix and I
carefully update packages glibc and glibc-utf8-locales in order to
satisfy guile and make the warning disappear:

~~~

# guix package -c0 -u glibc-utf8-locales -u glibc
guile: warning: failed to install locale
The following packages will be upgraded:
   glibc-utf8-locales	2.25 =E2=86=92 2.29	/gnu/store/lhcmsprr3jz8cp0wg27ql5=
9fv1k6hrkl-glibc-utf8-locales-2.29
   glibc	2.25 =E2=86=92 2.29	/gnu/store/df1lrb4b1dmw99b764qdk7akv0hpyjiw-gl=
ibc-2.29

[...]

3 packages in profile

# guix package -I
guix	0.13.0-2.de9d8f0	out	/gnu/store/34541bys6lh3wjwjn81b9bxjb93q83qx-guix-=
0.13.0-2.de9d8f0
glibc-utf8-locales	2.29	out	/gnu/store/lhcmsprr3jz8cp0wg27ql59fv1k6hrkl-gli=
bc-utf8-locales-2.29
glibc	2.29	out	/gnu/store/df1lrb4b1dmw99b764qdk7akv0hpyjiw-glibc-2.29

~~~

Now I remember that I have to restart the daemon and reboot the
machine. Playing around with =E2=80=9Cpull=E2=80=9D and =E2=80=9Cpackage -u=
=E2=80=9D again brings me to
the situation where I am now:

~~~

# guix pull -l
Generation 1	Nov 18 2019 22:45:38
  guix 900ef20
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 900ef20b1da66ad71145082c883dc12f31fafa54
Generation 2	Nov 19 2019 00:11:25
  guix e26867f
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: e26867f74b629c4a981e45332ce94637cf4230eb
  1 package upgraded: tome4@HIDDEN
Generation 3	Nov 20 2019 13:33:09	(current)
  guix 30ebff6
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 30ebff69a75fe90a1694ef35cf6e749ec376b67e
  7 new packages: carla, emacs-ample-theme, font-dseg, minisat, python-inte=
lhex, python-mcuboot-imgtool, python-next
  4 packages upgraded: brlaser@6, cmark@HIDDEN, mcron@HIDDEN, uefitool@HIDDEN

# guix package -I
glibc-utf8-locales	2.29	out	/gnu/store/lhcmsprr3jz8cp0wg27ql59fv1k6hrkl-gli=
bc-utf8-locales-2.29
guix	1.0.1-10.41b4b71	out	/gnu/store/4djl9bnl0p62jmfidk5vc2sjchx5m2h7-guix-=
1.0.1-10.41b4b71
glibc	2.29	out	/gnu/store/df1lrb4b1dmw99b764qdk7akv0hpyjiw-glibc-2.29

~~~

I guess I am back on track now, would you agree?
Or does my procedure contain any mistakes?

I wonder why guix did not use local guix derivations or binaries that
were already available in the store. Maybe a now-a-days version of guix
would do?

I further wonder why the guix package itself is still listed, as with a
fresh, recent installation of guix on top of a foreign distro, guix
itself is not listed with =E2=80=9Cguix package -l=E2=80=9D.


best regards
Kai


--=20
Kai Mertens <kmx@HIDDEN>
OpenPGP Key-ID: 0x40B15AB4B05B5BF1 on keys.gnupg.net
Key fingerprint =3D 7C83 0A80 01FF 679C 6E8E  AFD3 40B1 5AB4 B05B 5BF1
What is that? Please check: https://emailselfdefense.fsf.org/en/


--Sig_/+GGvyKRVLgDezBR=Tw.pU2I
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfIMKgAH/Z5xujq/TQLFatLBbW/EFAl3VS+cACgkQQLFatLBb
W/F7yhAArHaoNkhyWE+IG62/fKac/0I5eLRoARj0pz1pajgtbww2bBmxz7aVK2Ub
FT8+jL1DT+6f0c6rcq1zcmO7+Hlk7+HTHvGoCpkaWozbWuANt7J8q7ycqUMZ9jIh
9KGA1IwWaYkET2HuErNpQ8C2IYJzdbUNNp3B2jU9myMXHAA2PGAMvwNCouoTIPGu
KnTetL49Hnqvnmcw4TwPGDlCbCcNQ5kL3gseuZkJWXPPR3UgsUnLdrTi+q+Nl3M3
bRXzsU7aiN8Du8KWNkG5El1d2ndfHOkyOFCHi8jhGHBIvc3SA+sw7RuZSTfYmFyE
6fEl1T6AdPaAHypFyqX4FmoBWBFqJ/50r+A3aPOseDY0VKYxyHFUE/0ph0Ef4fkH
BqqUjLS/7rYRnn7X7fctCimfvHYgLgMy42ZsDVdUDbq16+5M44jVf0p1sKrzDrQX
7bAEV04PBRk1vbP9oH+wJzXD3HVcHQQWpH+0SGR+G08+RlrDJv44Zq60Ua4BfJT7
3PNWpmpdNLqCvrgsLN+TWr3cNqF3cwE2LOw4dOoauNi338mSO5lkidbR/2MLSEJZ
kmY3j4W+9LlEpRrBxqN0xTm8NB9V2I4Kgditl8QGtELlD7RcirpNR0O+WolkfjS8
AS+DAJl5b9S3JoidP9Mjb58u4gI4LaX+jHdxEIbXcMif4OKjcPI=
=qDHt
-----END PGP SIGNATURE-----

--Sig_/+GGvyKRVLgDezBR=Tw.pU2I--




Information forwarded to bug-guix@HIDDEN:
bug#38226; Package guix. Full text available.

Message received at 38226 <at> debbugs.gnu.org:


Received: (at 38226) by debbugs.gnu.org; 20 Nov 2019 14:16:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 20 09:16:06 2019
Received: from localhost ([127.0.0.1]:49186 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iXQm6-0007zu-D0
	for submit <at> debbugs.gnu.org; Wed, 20 Nov 2019 09:16:06 -0500
Received: from eggs.gnu.org ([209.51.188.92]:40514)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1iXQm3-0007z0-53
 for 38226 <at> debbugs.gnu.org; Wed, 20 Nov 2019 09:16:05 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:40920)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1iXQlx-0006X0-0B; Wed, 20 Nov 2019 09:15:57 -0500
Received: from wifi-eduroam-20-234.siege.inria.fr ([128.93.20.234]:51786
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1iXQlw-0000Zz-5s; Wed, 20 Nov 2019 09:15:56 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: zimoun <zimon.toutoune@HIDDEN>
Subject: Re: bug#38226: guix pull: error: build failed: [...]
 ice-9/boot-9.scm:109:20: Syntax error:
References: <20191116032658.42f4533d.kmx@HIDDEN> <87eey6jjds.fsf@HIDDEN>
 <CAJ3okZ0uOQn26BaFi7o7B_pgANzOHhbaELo_e-vw98hFCcH0uA@HIDDEN>
 <87zhgtgno6.fsf@HIDDEN>
 <CAJ3okZ3hOLcWKAhPW8NiJQDMSZuszQK1g2o15yogecgSb51f2A@HIDDEN>
 <87sgmlgd2t.fsf@HIDDEN>
 <CAJ3okZ2pAijUaCfEiF=Se_LfW2AN=s4wwUHFwO4nPexkdJOkjQ@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 30 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: Wed, 20 Nov 2019 15:15:54 +0100
In-Reply-To: <CAJ3okZ2pAijUaCfEiF=Se_LfW2AN=s4wwUHFwO4nPexkdJOkjQ@HIDDEN>
 (zimoun's message of "Tue, 19 Nov 2019 12:49:17 +0100")
Message-ID: <87y2waocpx.fsf@HIDDEN>
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 <at> debbugs.gnu.org, Kai Mertens <kmx@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

zimoun <zimon.toutoune@HIDDEN> skribis:

> I can download the derivation with:
>
>   wget https://ci.guix.info/nar/gzip/bz1qqy225p1jlicwf07iiqr79icqddcv-gui=
x-4de11dda7.drv
>
> But how to move the derivation to store? I am not sure that it makes sens=
e.

It=E2=80=99s easier than this: just type

  guix build /gnu/store/bz1qqy225p1jlicwf07iiqr79icqddcv-guix-4de11dda7.drv

and it will download the .drv and start building it.

(Modulo the =E2=80=98guix publish --cache=E2=80=99 issue I mentioned.)

HTH!

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#38226; Package guix. Full text available.

Message received at 38226 <at> debbugs.gnu.org:


Received: (at 38226) by debbugs.gnu.org; 19 Nov 2019 11:49:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 19 06:49:40 2019
Received: from localhost ([127.0.0.1]:46710 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iX20p-0004JF-V8
	for submit <at> debbugs.gnu.org; Tue, 19 Nov 2019 06:49:40 -0500
Received: from mail-qt1-f180.google.com ([209.85.160.180]:38443)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1iX20o-0004J0-0y
 for 38226 <at> debbugs.gnu.org; Tue, 19 Nov 2019 06:49:38 -0500
Received: by mail-qt1-f180.google.com with SMTP id p20so24237059qtq.5
 for <38226 <at> debbugs.gnu.org>; Tue, 19 Nov 2019 03:49:37 -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=S+f/kGQ7L1HQ0M8qOy8fMVWtFPTkHaxMamq5ILWctN0=;
 b=mENShqLmpDlXzcRlsvZbe0Yufmn6worhixHVcRQ4W3l4MWsDQ1pm+KZDbK/mLO5tby
 1UkPTimhyFyqp9MAkkjlgjh0uckaaW67tVwTfPtTqYaR8bivp0TjmJT4iJ9mx6Cwj80r
 4kk+l9b6iWWLqJWV5iO4x3xUEXqYZ3SKumkuZbXXs0eGSxeTogP2nZti5HoquKIK2CHk
 jnwf0yrrtutn2zYEO80OWYJZRaMRsC1vSwSS2ZnqZDJJuuL+/6QMkI62N2N+Yf8K3cuR
 CC329BBLI0yS1HAig4hTkHbz7qy+7c4gra2hlLfSykpgoH1M9LMNT8bKsjTJKKF7S9K7
 THzg==
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=S+f/kGQ7L1HQ0M8qOy8fMVWtFPTkHaxMamq5ILWctN0=;
 b=sARDHqToRYdvywAbHQ1Ln9cnmwoLhn8IYbuz7MSynQvLlbLyljBXlohETnDO0ik1oT
 HL7JtjZT3Kj73BtlpYHgHufyEanwSmw/G6TlJyTNALRoLtiifTnZE/qVeI+ktJW9r61X
 5uKx6+UNS41u7C1hbanfaCDgp+7oLqagc0el9iScs2CBMztpStd8Bhap7k3iM6D0kx14
 /vVR3pp42w3QdgpSyuL1cwJJUGFSG+UdQMYcYBf4997gEvssV8FkPJerBm37fqCK615u
 q3Ra47fieBMIo6H9MoBahuOEfQGT7DNX/bpKkFKULaQM5aZJUGF52+K6NVNErQmiwu/D
 dLKQ==
X-Gm-Message-State: APjAAAVEe51DNSdTY/OcZgMGOdm+meGlfAo/+xNs+ILVi1RzghWL/kwQ
 Z3OaytB2oxXq+SwofTuUfduyVirIb3mau7RVEak=
X-Google-Smtp-Source: APXvYqzAsobsTGH6EtZcj8Db6SFuTEUEQMhCqAUydZAQjh7d5G+GE9Y63iULLZ4yyyEfi2S1c6WGGD+Sf1o9mqzQd5g=
X-Received: by 2002:ac8:7957:: with SMTP id r23mr30710060qtt.211.1574164169424; 
 Tue, 19 Nov 2019 03:49:29 -0800 (PST)
MIME-Version: 1.0
References: <20191116032658.42f4533d.kmx@HIDDEN> <87eey6jjds.fsf@HIDDEN>
 <CAJ3okZ0uOQn26BaFi7o7B_pgANzOHhbaELo_e-vw98hFCcH0uA@HIDDEN>
 <87zhgtgno6.fsf@HIDDEN>
 <CAJ3okZ3hOLcWKAhPW8NiJQDMSZuszQK1g2o15yogecgSb51f2A@HIDDEN>
 <87sgmlgd2t.fsf@HIDDEN>
In-Reply-To: <87sgmlgd2t.fsf@HIDDEN>
From: zimoun <zimon.toutoune@HIDDEN>
Date: Tue, 19 Nov 2019 12:49:17 +0100
Message-ID: <CAJ3okZ2pAijUaCfEiF=Se_LfW2AN=s4wwUHFwO4nPexkdJOkjQ@HIDDEN>
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?= <ludo@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 38226
Cc: 38226 <at> debbugs.gnu.org, Kai Mertens <kmx@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Ludo,

On Mon, 18 Nov 2019 at 21:10, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:
>
> zimoun <zimon.toutoune@HIDDEN> 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




Information forwarded to bug-guix@HIDDEN:
bug#38226; Package guix. Full text available.

Message received at 38226 <at> debbugs.gnu.org:


Received: (at 38226) by debbugs.gnu.org; 18 Nov 2019 20:19:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 18 15:19:26 2019
Received: from localhost ([127.0.0.1]:46297 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iWnUc-0002zG-0t
	for submit <at> debbugs.gnu.org; Mon, 18 Nov 2019 15:19:26 -0500
Received: from eggs.gnu.org ([209.51.188.92]:46244)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1iWnUa-0002yz-2B
 for 38226 <at> debbugs.gnu.org; Mon, 18 Nov 2019 15:19:25 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:33035)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1iWnUU-0002bJ-92; Mon, 18 Nov 2019 15:19:18 -0500
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57550 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1iWnUT-0005Ce-P9; Mon, 18 Nov 2019 15:19:18 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Kai Mertens <kmx@HIDDEN>
Subject: Re: bug#38226: guix pull: error: build failed: [...]
 ice-9/boot-9.scm:109:20: Syntax error:
References: <20191116032658.42f4533d.kmx@HIDDEN> <87eey6jjds.fsf@HIDDEN>
 <20191118121535.256353ae.kmx@HIDDEN>
Date: Mon, 18 Nov 2019 21:19:15 +0100
In-Reply-To: <20191118121535.256353ae.kmx@HIDDEN> (Kai Mertens's message
 of "Mon, 18 Nov 2019 12:15:35 +0100")
Message-ID: <87lfsdgcos.fsf@HIDDEN>
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 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

Kai Mertens <kmx@HIDDEN> skribis:

> hmm, I am on i686 =E2=80=93 is the trick still applicable?

Sure, you can try the command I gave with
"/gnu/store/ly0x0dk2qm0jk3fgwsrnl5cy8a1ybwkk-guix-900ef20b1.drv" for
instance.

> I will switch to root=E2=80=99s profile with =E2=80=9Csudo -i=E2=80=9D, b=
ut that is ok, right?

Yes, you can do that.  =E2=80=9Csudo -i guix pull=E2=80=9D means you=E2=80=
=99ll be updating
root=E2=80=99s Guix.  You=E2=80=99ll probably want to update your user=E2=
=80=99s Guix as well,
with just =E2=80=9Cguix pull=E2=80=9D.

> I guess I cannot use a simple =E2=80=9Csudo -i guix package -u guix=E2=80=
=9D as a
> workaround for the failing =E2=80=9Csudo -i guix pull=E2=80=9D, as it wou=
ld bring up
> the same issue?

Right, you have to get yourself a newer Guix first.  :-)

HTH!

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#38226; Package guix. Full text available.

Message received at 38226 <at> debbugs.gnu.org:


Received: (at 38226) by debbugs.gnu.org; 18 Nov 2019 20:11:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 18 15:11:00 2019
Received: from localhost ([127.0.0.1]:46293 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iWnMS-0002mi-3D
	for submit <at> debbugs.gnu.org; Mon, 18 Nov 2019 15:11:00 -0500
Received: from eggs.gnu.org ([209.51.188.92]:44096)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1iWnMQ-0002mV-8L
 for 38226 <at> debbugs.gnu.org; Mon, 18 Nov 2019 15:10:58 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:32882)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1iWnMK-0007YS-UL; Mon, 18 Nov 2019 15:10:53 -0500
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57532 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1iWnMK-0004Cd-H5; Mon, 18 Nov 2019 15:10:52 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: zimoun <zimon.toutoune@HIDDEN>
Subject: Re: bug#38226: guix pull: error: build failed: [...]
 ice-9/boot-9.scm:109:20: Syntax error:
References: <20191116032658.42f4533d.kmx@HIDDEN> <87eey6jjds.fsf@HIDDEN>
 <CAJ3okZ0uOQn26BaFi7o7B_pgANzOHhbaELo_e-vw98hFCcH0uA@HIDDEN>
 <87zhgtgno6.fsf@HIDDEN>
 <CAJ3okZ3hOLcWKAhPW8NiJQDMSZuszQK1g2o15yogecgSb51f2A@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 28 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: Mon, 18 Nov 2019 21:10:50 +0100
In-Reply-To: <CAJ3okZ3hOLcWKAhPW8NiJQDMSZuszQK1g2o15yogecgSb51f2A@HIDDEN>
 (zimoun's message of "Mon, 18 Nov 2019 17:44:43 +0100")
Message-ID: <87sgmlgd2t.fsf@HIDDEN>
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 <at> debbugs.gnu.org, Kai Mertens <kmx@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

zimoun <zimon.toutoune@HIDDEN> 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.

>> Now, I noticed that it doesn=E2=80=99t work so well when =E2=80=98guix p=
ublish --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-4de11dda7=
.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 above.

If you try again 5mn later, it should go a bit further, and so forth.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#38226; Package guix. Full text available.

Message received at 38226 <at> debbugs.gnu.org:


Received: (at 38226) by debbugs.gnu.org; 18 Nov 2019 16:45:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 18 11:45:02 2019
Received: from localhost ([127.0.0.1]:46143 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iWk97-00057p-UE
	for submit <at> 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 <zimon.toutoune@HIDDEN>) id 1iWk95-00057O-PW
 for 38226 <at> 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 <at> 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@HIDDEN> <87eey6jjds.fsf@HIDDEN>
 <CAJ3okZ0uOQn26BaFi7o7B_pgANzOHhbaELo_e-vw98hFCcH0uA@HIDDEN>
 <87zhgtgno6.fsf@HIDDEN>
In-Reply-To: <87zhgtgno6.fsf@HIDDEN>
From: zimoun <zimon.toutoune@HIDDEN>
Date: Mon, 18 Nov 2019 17:44:43 +0100
Message-ID: <CAJ3okZ3hOLcWKAhPW8NiJQDMSZuszQK1g2o15yogecgSb51f2A@HIDDEN>
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?= <ludo@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 38226
Cc: 38226 <at> debbugs.gnu.org, Kai Mertens <kmx@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Ludo,

On Mon, 18 Nov 2019 at 17:22, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> zimoun <zimon.toutoune@HIDDEN> skribis:

> > On Sun, 17 Nov 2019 at 22:15, Ludovic Court=C3=A8s <ludo@HIDDEN> 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




Information forwarded to bug-guix@HIDDEN:
bug#38226; Package guix. Full text available.

Message received at 38226 <at> debbugs.gnu.org:


Received: (at 38226) by debbugs.gnu.org; 18 Nov 2019 16:22:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 18 11:22:11 2019
Received: from localhost ([127.0.0.1]:46132 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iWjn1-0004Zw-Eo
	for submit <at> debbugs.gnu.org; Mon, 18 Nov 2019 11:22:11 -0500
Received: from eggs.gnu.org ([209.51.188.92]:37607)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1iWjmz-0004Ze-4T
 for 38226 <at> debbugs.gnu.org; Mon, 18 Nov 2019 11:22:09 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:57040)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1iWjmt-0007tf-Tu; Mon, 18 Nov 2019 11:22:03 -0500
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=43306 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1iWjmt-0003gU-Hs; Mon, 18 Nov 2019 11:22:03 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: zimoun <zimon.toutoune@HIDDEN>
Subject: Re: bug#38226: guix pull: error: build failed: [...]
 ice-9/boot-9.scm:109:20: Syntax error:
References: <20191116032658.42f4533d.kmx@HIDDEN> <87eey6jjds.fsf@HIDDEN>
 <CAJ3okZ0uOQn26BaFi7o7B_pgANzOHhbaELo_e-vw98hFCcH0uA@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 28 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: Mon, 18 Nov 2019 17:22:01 +0100
In-Reply-To: <CAJ3okZ0uOQn26BaFi7o7B_pgANzOHhbaELo_e-vw98hFCcH0uA@HIDDEN>
 (zimoun's message of "Mon, 18 Nov 2019 13:08:10 +0100")
Message-ID: <87zhgtgno6.fsf@HIDDEN>
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 <at> debbugs.gnu.org, Kai Mertens <kmx@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi!

zimoun <zimon.toutoune@HIDDEN> skribis:

> Hi Ludo,
>
> On Sun, 17 Nov 2019 at 22:15, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:
>
>> The only thing that=E2=80=99s missing here is that currently =E2=80=9Cgu=
ix build
>> /gnu/store/=E2=80=A6.drv=E2=80=9D fails if the .drv doesn=E2=80=99t alre=
ady 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 '."derivation"'
>
>
> outputs the derivation file. But how do you fetch it?

You don=E2=80=99t explicitly fetch it.  Instead, you run =E2=80=9Cguix buil=
d /=E2=80=A6.drv=E2=80=9D,
and the daemon automatically attempts to substitute it if it=E2=80=99s not
available in your store (note that you need commit
9c9982dc0c8c38ce3821b154b7e92509c1564317.)

Now, I noticed that it doesn=E2=80=99t work so well when =E2=80=98guix publ=
ish --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.

Apart from that it=E2=80=99s really fun, I wonder why I=E2=80=99ve never us=
ed that
feature before!

>> 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.  :-)

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#38226; Package guix. Full text available.

Message received at 38226 <at> debbugs.gnu.org:


Received: (at 38226) by debbugs.gnu.org; 18 Nov 2019 12:24:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 18 07:24:17 2019
Received: from localhost ([127.0.0.1]:43295 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iWg4n-00072X-A2
	for submit <at> debbugs.gnu.org; Mon, 18 Nov 2019 07:24:17 -0500
Received: from mail-qv1-f51.google.com ([209.85.219.51]:46647)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1iWg4k-00072J-Pn
 for 38226 <at> debbugs.gnu.org; Mon, 18 Nov 2019 07:24:15 -0500
Received: by mail-qv1-f51.google.com with SMTP id w11so6398333qvu.13
 for <38226 <at> debbugs.gnu.org>; Mon, 18 Nov 2019 04:24:14 -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=xrroTBA8aq9an1b4CS5fRV54XHXDKn0drIqL/xQbbMw=;
 b=QI1ynsr+7BGUUTVdFUj6+Kra/OybtMpVLXE5g+RcV+xKGyPG8MeE3DtTxAtZCGODSl
 jeGe5hhrOyoT1EYYy8suPc2KiZMzGccJH3R/XiMuUXGYDB692PMdWPWMhugcN5sI64wc
 fr7nQCCmSUF7uI0yw3mieRqj2RZT9zmALAKJB7+Zj50FJfdXRIVWjDy9lcYLDVoHJk4w
 ifrvE4SzZakl0+liDZJd36vXbRL/S1mxnBTqbIxlysX8jgdCibW8FGACDJF1xDuh5Jpq
 GDlcZsAecxzFsdpHaLCBxycn7nCUr6dG6T0pVorJmRuWsN9aRpdxgxQ9tHyt0pShIesy
 p5oA==
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=xrroTBA8aq9an1b4CS5fRV54XHXDKn0drIqL/xQbbMw=;
 b=L0CpL/0ZDKpeuT6Kx714TBbSX0C+9zzkQdb9hLv/bnVMz3wrFl8xr1IKNTr7CopKAo
 ariv76vPFgqFcvVCM5O5YCopwHPhdCikuvDBIEUg1uHZhM41pv31KvGnWFNQuWTThoBp
 KIAaYHR6Z90lQNfGzwjE/vWuczBe25mhCCfQnll3nneOp2Xtb2EP6hSh3EGpHVX+x9Xi
 XdCavy0rVqCuvwxAtcl481003U+VWN6b3dIcQDNVXKXkNFMN/Bmn9P/seB9XPFmj1GwS
 hCosjYA7uKRcgUnAWiLb3gj6Jwq0M3GOx7zVOYUeWLw6mQeLia9AY0jZch9MX43BY48X
 XjnQ==
X-Gm-Message-State: APjAAAVRpCvIW+nDA76B07f7QmdRVvq8/mA3pG0quFx4q320Orc+pErY
 a+6ORftR1d2dJ4gFKm+1rYIIqx3hgCSC5xXueHM=
X-Google-Smtp-Source: APXvYqzFjW+tq49VNLcdNS/PsjiSe+0RRChHuHlJReMCMKDhJOS6V7o3p7MHpvboOpPnb8D+yZGAfsUwG5ASn3Yu8mA=
X-Received: by 2002:a0c:904b:: with SMTP id o69mr19444870qvo.74.1574079849272; 
 Mon, 18 Nov 2019 04:24:09 -0800 (PST)
MIME-Version: 1.0
References: <20191116032658.42f4533d.kmx@HIDDEN> <87eey6jjds.fsf@HIDDEN>
 <20191118121535.256353ae.kmx@HIDDEN>
In-Reply-To: <20191118121535.256353ae.kmx@HIDDEN>
From: zimoun <zimon.toutoune@HIDDEN>
Date: Mon, 18 Nov 2019 13:23:58 +0100
Message-ID: <CAJ3okZ33Z7X3Q6ZKQf0iwGGrYujSLFg5KeRw7b57vSick1M7pg@HIDDEN>
Subject: Re: bug#38226: guix pull: error: build failed: [...]
 ice-9/boot-9.scm:109:20: Syntax error:
To: Kai Mertens <kmx@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 38226
Cc: =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>, 38226 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Kai,

On Mon, 18 Nov 2019 at 12:19, Kai Mertens <kmx@HIDDEN> wrote:

> On Sun, 17 Nov 2019 22:14:07 +0100
> Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> > Here=E2=80=99s a trick to do that (for commit 57c7bfec6, on x86_64-linu=
x):
>
> hmm, I am on i686 =E2=80=93 is the trick still applicable?
> I will switch to root=E2=80=99s profile with =E2=80=9Csudo -i=E2=80=9D, b=
ut that is ok, right?
> (If you please send your OK =E2=80=93 then I will try it...)

I think the evaluation [1] should do the job for i686.

[1] https://ci.guix.gnu.org/build/1943561/details




> I guess I cannot use a simple =E2=80=9Csudo -i guix package -u guix=E2=80=
=9D as a
> workaround for the failing =E2=80=9Csudo -i guix pull=E2=80=9D, as it wou=
ld bring up
> the same issue?

The issue you encounter comes from a compatibility break in Guix. Four
years later (more or less I guess), inferiors has bee introduced in
Guix. They allow to go back and forward with "guix pull --commit=3D".
Well, other said, your version of Guix is too old to be updated using
the usual way.

The only way is to apply the Ludo's "trick".  If I understand well:
 1. Fetch a recent enough derivation of Guix
 2. Build this derivation with your old Guix
 3. Manually pull to populate the store
 4. Then the profile ~/.config/guix/ should be ok


> Oh, I don't feel competent enough to give ideas, but =E2=80=9Cpull --resc=
ue=E2=80=9D
> sounds too generic to me. Maybe there will be other use cases that will
> require a (different) rescue trick in future. Instead, your commit
> 9c9982dc0 suggests a =E2=80=9Cpull --substitute-missing-derivations=E2=80=
=9D to me.

If I understand well, your version of Guix is too old to use the
feature described in commit 9c9982dc0.

And if I still understand correctly, "pull --rescue" should be
mechanism to easily update an old Guix (before the overhaul in 0.15.0)
instead of doing all the dance.


All the best,
simon




Information forwarded to bug-guix@HIDDEN:
bug#38226; Package guix. Full text available.

Message received at 38226 <at> debbugs.gnu.org:


Received: (at 38226) by debbugs.gnu.org; 18 Nov 2019 12:08:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 18 07:08:29 2019
Received: from localhost ([127.0.0.1]:43281 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iWfpV-0005rB-2n
	for submit <at> debbugs.gnu.org; Mon, 18 Nov 2019 07:08:29 -0500
Received: from mail-qk1-f178.google.com ([209.85.222.178]:38625)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1iWfpT-0005qy-5u
 for 38226 <at> debbugs.gnu.org; Mon, 18 Nov 2019 07:08:27 -0500
Received: by mail-qk1-f178.google.com with SMTP id e2so14136005qkn.5
 for <38226 <at> debbugs.gnu.org>; Mon, 18 Nov 2019 04:08:27 -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=yx+pdV3LhuU/h0dG/YHn3s21wqYS14/9nbwoPejyTi4=;
 b=D8P0O3+EVU//ghQtc/LO9sSFLkBW/+s8xdPkuy9NoQf5MEgZcOgCtZPirejnBfn4PG
 owMswbm/2ggjJMMXYnXIpysJlSVfCuXH7C2P8oEdeufP38muKSdYawml8ktYOBV7ak66
 fYq6DE/NIoHJnWhwsrzbZIxAy7ZeENA8iW4/snt3lWdOQ0Q2ZMt4V0u9SjvSw3TRJP55
 p+9En2LkapWnOVAD8YG3Rom5Yr8QPEZ1d2d8lTpSphRRLQT2t3G3rRlCZTZy7RfVj55/
 9JG1K8LLsypCVKA8AEL9YcA41xmSiPiBG7Ed6nqYISEWilbjevY81atLXHN61qVGpu/K
 pNIA==
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=yx+pdV3LhuU/h0dG/YHn3s21wqYS14/9nbwoPejyTi4=;
 b=bDONmrW3fDkMmV/y65k5AkQR1lmPEG5Jj74vrqHRdn8jbFSY5NUwyhc81erh1vmknr
 kgfG/QpJ5ICzu3ONff7rTKdnGN+Wm3OYCDeTTpshfvKqUTwQ18HskfyDAoD5OSJOaqxv
 40xkcQx0Wr2KVdsY5u6ipTbpZGX4b+g53SACdq6Q+epYn9Gkyre7j7noiKawj+Bv/xWJ
 tZktsTrjv9GJ4nVS5ZW6R/PpcnnQ3qTlyf9N8M0ye7H+JGILBU1v6dBLkPzUqFyVpUAm
 sGh4zqlaf86usUn6Q86VS4SJpLISXz2epNXSXdHzgWWFqFBTdjMGLqb/zXoJVpYLdr6C
 NCmg==
X-Gm-Message-State: APjAAAXHO4LjGrfYFVAaPBCdfMPoiMpbtXbOjtnJKo2gaeZPFFgzGMvg
 uU4HW8cSZ4qEMMKT++5KoFw5AtODlIChwiHRgN4=
X-Google-Smtp-Source: APXvYqzSui5JgcLstJMKIxWlpiIfWwJTVd0dbnxxrgJqazDf/TopHIMVqr8A6pkjmI+d3JJllfxd0YsAlo46v7IJpME=
X-Received: by 2002:a37:584:: with SMTP id 126mr10122254qkf.304.1574078901655; 
 Mon, 18 Nov 2019 04:08:21 -0800 (PST)
MIME-Version: 1.0
References: <20191116032658.42f4533d.kmx@HIDDEN> <87eey6jjds.fsf@HIDDEN>
In-Reply-To: <87eey6jjds.fsf@HIDDEN>
From: zimoun <zimon.toutoune@HIDDEN>
Date: Mon, 18 Nov 2019 13:08:10 +0100
Message-ID: <CAJ3okZ0uOQn26BaFi7o7B_pgANzOHhbaELo_e-vw98hFCcH0uA@HIDDEN>
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?= <ludo@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 38226
Cc: 38226 <at> debbugs.gnu.org, Kai Mertens <kmx@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Ludo,

On Sun, 17 Nov 2019 at 22:15, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> The only thing that=E2=80=99s missing here is that currently =E2=80=9Cgui=
x build
> /gnu/store/=E2=80=A6.drv=E2=80=9D fails if the .drv doesn=E2=80=99t alrea=
dy 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?

--8<---------------cut here---------------start------------->8---
$ wget -q -O - 'http://ci.guix.gnu.org/build/1943556' | jq '."derivation"'
--8<---------------cut here---------------start------------->8---

outputs the derivation file. But how do you fetch it?

I have not found in the Cuirass API doc. Maybe I missing the obvious.

Then, once I have downloaded this derivation, the old Guix should be
able to build it, right? No daemon issue?

--8<---------------cut here---------------start------------->8---
$ guix build "/gnu/store/bz1qqy225p1jlicwf07iiqr79icqddcv-guix-4de11dda7.dr=
v"
--8<---------------cut here---------------start------------->8---

This will populate the store with a new guix. Then I need to pull as
root, in order to also update the daemon, right?

--8<---------------cut here---------------start------------->8---
# /gnu/store/<hash-returned-by-previous-build>-guix-4de11dda7/bin/guix pull=
l
--8<---------------cut here---------------start------------->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?



All the best,
simon




Information forwarded to bug-guix@HIDDEN:
bug#38226; Package guix. Full text available.

Message received at 38226 <at> debbugs.gnu.org:


Received: (at 38226) by debbugs.gnu.org; 18 Nov 2019 11:16:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 18 06:16:55 2019
Received: from localhost ([127.0.0.1]:43249 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iWf1Z-0004ZL-Qn
	for submit <at> debbugs.gnu.org; Mon, 18 Nov 2019 06:16:54 -0500
Received: from mout02.posteo.de ([185.67.36.66]:55867)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kmx@HIDDEN>) id 1iWf1X-0004Z7-TO
 for 38226 <at> debbugs.gnu.org; Mon, 18 Nov 2019 06:16:52 -0500
Received: from submission (posteo.de [89.146.220.130]) 
 by mout02.posteo.de (Postfix) with ESMTPS id B6C582400FF
 for <38226 <at> debbugs.gnu.org>; Mon, 18 Nov 2019 12:16:45 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1574075805; bh=F2y++hRL9gsC/f8QZMH9eekiC4IBTf//8G0HJvj/tEg=;
 h=Date:From:To:Cc:Subject:From;
 b=R5zvIEZMni2pIbWoC0Gea+C8pe80hIIcaTQQN2KxHlFKlgwbZzxSXL8FLYTm75lLn
 JNQgNd4FgTTa1F9XXFlrlNiH+AVtdRqraSx0S2B4aawh9V0KqwmeyHHvBHbaT+rroQ
 nAjtNA33QrppF3tiEyw+A5/dy/Lg2Kwc0CyP863l23kaiQGZLo7oTbYTwG8hhyoSM+
 TBqS98s76UUzZkehBo2qpcs5pcluOqh9GDhioC7/0ohpkXEfLhSB/xxDUkz17Rkg59
 ydlMMrMrLoMCj9ccxY+GgWwESQzTTrzy6Y0Oeu6sy9Mb0QDysqDNJQU4LJEHjYlVc9
 bA7P6FAYQjaVQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 47GmcX4nwJz9rxN;
 Mon, 18 Nov 2019 12:16:44 +0100 (CET)
Date: Mon, 18 Nov 2019 12:15:35 +0100
From: Kai Mertens <kmx@HIDDEN>
To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= <ludo@HIDDEN>
Subject: Re: bug#38226: guix pull: error: build failed: [...]
 ice-9/boot-9.scm:109:20: Syntax error:
Message-ID: <20191118121535.256353ae.kmx@HIDDEN>
In-Reply-To: <87eey6jjds.fsf@HIDDEN>
References: <20191116032658.42f4533d.kmx@HIDDEN> <87eey6jjds.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/6_tpgtRBh7ihr1W9556Fz_t";
 protocol="application/pgp-signature"; micalg=pgp-sha512
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 38226
Cc: 38226 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--Sig_/6_tpgtRBh7ihr1W9556Fz_t
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Sun, 17 Nov 2019 22:14:07 +0100
Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

Hello Ludo=E2=80=99,

>=20
> Here=E2=80=99s a trick to do that (for commit 57c7bfec6, on x86_64-linux):

hmm, I am on i686 =E2=80=93 is the trick still applicable?
I will switch to root=E2=80=99s profile with =E2=80=9Csudo -i=E2=80=9D, but=
 that is ok, right?
(If you please send your OK =E2=80=93 then I will try it...)

My current root profile contains three packages:

~~~
glibc-utf8-locales	2.25	out	/gnu/store/9vv6szr949m8mrqfyj7bfkxi8g5mfr2y-gli=
bc-utf8-locales-2.25
guix	0.13.0-2.de9d8f0	out	/gnu/store/34541bys6lh3wjwjn81b9bxjb93q83qx-guix-=
0.13.0-2.de9d8f0
glibc	2.25	out	/gnu/store/2bw8y2k8fi9n6yl43ks0m62z919kgrfv-glibc-2.25
~~~

I guess I cannot use a simple =E2=80=9Csudo -i guix package -u guix=E2=80=
=9D as a
workaround for the failing =E2=80=9Csudo -i guix pull=E2=80=9D, as it would=
 bring up
the same issue?


> [...]
>=20
> Perhaps =E2=80=98guix pull=E2=80=99 should have a =E2=80=98--rescue=E2=80=
=99 option to do the trick
> above?

Oh, I don't feel competent enough to give ideas, but =E2=80=9Cpull --rescue=
=E2=80=9D
sounds too generic to me. Maybe there will be other use cases that will
require a (different) rescue trick in future. Instead, your commit
9c9982dc0 suggests a =E2=80=9Cpull --substitute-missing-derivations=E2=80=
=9D to me.

>=20
> HTH,
> Ludo=E2=80=99.

Thank you very much for that fast response and commits!
best regards
Kai



--=20
Kai Mertens <kmx@HIDDEN>
OpenPGP Key-ID: 0x40B15AB4B05B5BF1 on keys.gnupg.net
Key fingerprint =3D 7C83 0A80 01FF 679C 6E8E  AFD3 40B1 5AB4 B05B 5BF1
What is that? Please check: https://emailselfdefense.fsf.org/en/


--Sig_/6_tpgtRBh7ihr1W9556Fz_t
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfIMKgAH/Z5xujq/TQLFatLBbW/EFAl3SfVcACgkQQLFatLBb
W/GJcw/+Pcy0p36zddRs3qD9AnbCrekYT7KJwmO39aYfDckQV7ulG8Qp2jUkjYp8
XhJLQSRsaD1PmpX86Ows/YlX7pVNgzEx4moz8UDBabhur+j3BqjAMDH1BovtHnBJ
xG5pXGYeaSDBlFLpQP3vsCy4899mEHN0+MdyMvGaovmkKC8rx66JcbeezrUVBmVb
wQp3jkcmJ5QMyPva7hUNlG5zNHgK2sQLxQ3dzE8EJzBbNBoofIU0Qx3N7GG+eEMC
jS3J1KsPbafYBD+9V0Sms/ZwEJbVT6yZArr5KAI5HA7bccUlzGzeplKa7Vp5JkFS
hVC3rK35Ny0uyzJBvHNkmDdXadhreCTGWoQTevkEwPU1pYPsb/82O3f+mEq/nJu0
xdYlsZ+fjtdqtoLNZ4/h83PL+5SI0ej9vupak6ooJmYVghO4NEBOvKZ45lgbr1+o
o+kMt/vkc19KrmVG5ZjI1rx/tm0nthNVOL+CL2f0F6TGqobPgGRG5l2kn+rEzEEO
iUdgIcyMaB7ISlb08P2+K3DI6sOthXDyLqNW7VrabmSonKvH2rlJFTa30hcInMvS
KkK0F37Nkx8UYsypFl1u1YWsVm7AA6xte6/eJB3XfBWgN7uufb+c1Hxs6Avvu/k6
VGfouqlN5TiMZ6RoB51iNdQSAG2Ijo9u5bHIuajqFNVI5ONKRV4=
=DPgZ
-----END PGP SIGNATURE-----

--Sig_/6_tpgtRBh7ihr1W9556Fz_t--




Information forwarded to bug-guix@HIDDEN:
bug#38226; Package guix. Full text available.

Message received at 38226 <at> debbugs.gnu.org:


Received: (at 38226) by debbugs.gnu.org; 17 Nov 2019 21:14:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 17 16:14:18 2019
Received: from localhost ([127.0.0.1]:42788 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iWRsA-0001y7-AM
	for submit <at> 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 <ludo@HIDDEN>) id 1iWRs8-0001xu-H4
 for 38226 <at> 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 <ludo@HIDDEN>)
 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 <ludo@HIDDEN>)
 id 1iWRs1-0001AL-Ms; Sun, 17 Nov 2019 16:14:10 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Kai Mertens <kmx@HIDDEN>
Subject: Re: bug#38226: guix pull: error: build failed: [...]
 ice-9/boot-9.scm:109:20: Syntax error:
References: <20191116032658.42f4533d.kmx@HIDDEN>
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@HIDDEN> (Kai Mertens's message
 of "Sat, 16 Nov 2019 03:26:58 +0100")
Message-ID: <87eey6jjds.fsf@HIDDEN>
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 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello Kai,

Kai Mertens <kmx@HIDDEN> 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.




Information forwarded to bug-guix@HIDDEN:
bug#38226; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Nov 2019 02:33:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 15 21:33:33 2019
Received: from localhost ([127.0.0.1]:37547 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iVnu0-0002Q3-Rj
	for submit <at> debbugs.gnu.org; Fri, 15 Nov 2019 21:33:33 -0500
Received: from lists.gnu.org ([209.51.188.17]:40765)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kmx@HIDDEN>) id 1iVntv-0002Pc-JK
 for submit <at> debbugs.gnu.org; Fri, 15 Nov 2019 21:33:27 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:57576)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <kmx@HIDDEN>) id 1iVntu-0005Xl-8a
 for bug-guix@HIDDEN; Fri, 15 Nov 2019 21:33:27 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <kmx@HIDDEN>) id 1iVnts-000164-N2
 for bug-guix@HIDDEN; Fri, 15 Nov 2019 21:33:25 -0500
Received: from mout02.posteo.de ([185.67.36.66]:50197)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <kmx@HIDDEN>) id 1iVntr-00013W-Vy
 for bug-guix@HIDDEN; Fri, 15 Nov 2019 21:33:24 -0500
Received: from submission (posteo.de [89.146.220.130]) 
 by mout02.posteo.de (Postfix) with ESMTPS id D0D072400E6
 for <bug-guix@HIDDEN>; Sat, 16 Nov 2019 03:33:20 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1573871600; bh=JJE6Gr+WKy5C7h4gDuJsTRP6zwdBNOOCDf74CrFEGB0=;
 h=Date:From:To:Subject:From;
 b=OukH27GfTOfLOhC1n6W+hMpowHrxPBzJat1xgROtTUfnQNqcL3PrWIjHnit9+aUZq
 HxUas0/MdLk1czz+1NSGsmKYwYIc6u/OLL1QpfLcSJFTFcdd/srRNqHeFByKdbFFMs
 xmk1iG7UtN0A7CA5Jbk5zYT8tS3c87N6Gasx5RBGhS/TUjaBFNHVI1Vnd+cPduGIzM
 dgrtgwkUOHFq54qOyH0aqTiLUVGJQjp8XnwUJAzA/em2JUYkuF8JJSPCpm4J1IM6mX
 lJj7nK983qZdBfpxSjlRYjKeh2OJbf6NqcVHRZmJcrR9VqpTVM/6XFoGEM9AWjFdE5
 NFYxXqvKS3G4w==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 47FK5X2pjhz9rxL
 for <bug-guix@HIDDEN>; Sat, 16 Nov 2019 03:33:20 +0100 (CET)
Date: Sat, 16 Nov 2019 03:26:58 +0100
From: Kai Mertens <kmx@HIDDEN>
To: bug-guix@HIDDEN
Subject: guix pull: error: build failed: [...] ice-9/boot-9.scm:109:20:
 Syntax error:
Message-ID: <20191116032658.42f4533d.kmx@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/kjAS1y_PjYzvciT8UwQfH77";
 protocol="application/pgp-signature"; micalg=pgp-sha512
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 185.67.36.66
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--Sig_/kjAS1y_PjYzvciT8UwQfH77
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Dear Guix Developers,

unfortunately, I do not manage to update my outdated GNU Guix version
via

  =E2=80=9Csudo -i guix pull -c0=E2=80=9D.

The command fails with the listed message after being executed for
about 16hours. I tried it three times, on different days. The most
recent one was yesterday.

In difference to a recently posted failure, this time...
* my /tmp partition has enough space available (>12GB)
* and guix is substituting from https://ci.guix.gnu.org

I would very much apreciate if you find the time to investigate this
bug. I hope it is one, as I don't want to spoil the mailing list with
just personal obstacles in respect to guix usage.

What kind of information shall I provide, else?

The command =E2=80=9Csudo -i guix --version=E2=80=9D gives me:
  guix (GNU Guix) 20170703.13

I would have tried to update guix in smaller steps, but option
  =E2=80=9Cpull --commit=E2=80=9D
is not available.

~~~

[...]
grafting '/gnu/store/nk1w9h9998w5vyj6zw3h37idmm8c7xsd-guile-2.0.14-debug' -=
> '/gnu/store/1xbphq9bpylnv46y1dmax5866nbvxyjm-guile-2.0.14-debug'...
grafting '/gnu/store/brn8kcdv4xyjn445540zmpvawyzb4c38-guile-2.0.14' -> '/gn=
u/store/prq1xm7fp9dzp7whw8742djw4vsrsd4f-guile-2.0.14'...
ice-9/boot-9.scm:109:20: In procedure #<procedure 863fca0 at ice-9/boot-9.s=
cm:100:6 (thrown-k . args)>:
ice-9/boot-9.scm:109:20: Syntax error:
unknown location: unexpected syntax in form current-imported-modules
builder for `/gnu/store/qrsd2qvaj52fqsywdwlcrh6366gasiff-module-import-comp=
iled.drv' failed with exit code 1
cannot build derivation `/gnu/store/agyip2r3ars2yxjxnm3s3jlh4q5fjcpk-comput=
e-guix-derivation.drv': 1 dependencies couldn't be built
guix pull: error: build failed: build of `/gnu/store/agyip2r3ars2yxjxnm3s3j=
lh4q5fjcpk-compute-guix-derivation.drv' failed

~~~

best regards
Kai


--=20
Kai Mertens <kmx@HIDDEN>
OpenPGP Key-ID: 0x40B15AB4B05B5BF1 on keys.gnupg.net
Key fingerprint =3D 7C83 0A80 01FF 679C 6E8E  AFD3 40B1 5AB4 B05B 5BF1
What is that? Please check: https://emailselfdefense.fsf.org/en/


--Sig_/kjAS1y_PjYzvciT8UwQfH77
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfIMKgAH/Z5xujq/TQLFatLBbW/EFAl3PXnIACgkQQLFatLBb
W/EFCA/+PX1AmsZKMMai5AzdW8VFhx0P0730oN4JD42CjEpkk6WreZexzBFQCJT8
Qhsah89NDXqtt6PpxxaI9vX6DbRhx0i2Jfv/bsv7094uaNr5XiV5x7va/vI+qeKB
NaQoiFe0V/4JwEIWfFSxhAaamHq+K0LtW6V7TzootBy9FlDt7YaqDQjg26FgTim3
4b3DNGGr9TMfg/6KYWDqxiI90IhhtDMJYAkszJ9ryxhraPq/c2S0y+snqsEugMnK
5CmHj523NIFYnfqDzhcl0Kc4lO4EWMG9Vf+iKyNYWma9WU1ZinkHHy36WBhreQZJ
Xo26ozlmT+GwOtdO5Aoc71hXsi2kZCh+ZfZIx9wH8Y4Upm2iPdHv7hRuVSa4dxbZ
gZtmkQ4IKeMf3YznUC+dl1KAHksO2zqsHMf6tc128ejWF/UZhj/tHoWYR/KrtRhQ
OB0PmQj4bYKC4goVCqUT1kYKxou2xZc3V388p43aDQUf8jE7H03+zqZMo4YxONeV
cCkz/ObE8mqQkX1K5GBeG8TfB1HNwC0aagyR3P/fCyIqN2BEPbRWmPoHAgNo6WLM
P9yeB2KU4crsFKaS2gi5pr2SiyHs+fuR29elADzoZxENspU2d7D1Z/o9x8VbOjo0
+BxqFCqRkNirEtpWdWUEvpQcURBP6C0K2D/X+AHtm98v/YentYc=
=d45d
-----END PGP SIGNATURE-----

--Sig_/kjAS1y_PjYzvciT8UwQfH77--




Acknowledgement sent to Kai Mertens <kmx@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#38226; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.