From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Flack Subject: bug#34637: inferiors example yields error from guix package Date: Wed, 6 Mar 2019 12:33:17 -0800 Message-ID: References: <87a7i8i09x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000dc06c8058372e713" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:42407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1dEq-0005VA-9Q for bug-guix@gnu.org; Wed, 06 Mar 2019 15:34:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1dEo-0000J0-Fd for bug-guix@gnu.org; Wed, 06 Mar 2019 15:34:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49413) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1dEo-0000Iq-Ba for bug-guix@gnu.org; Wed, 06 Mar 2019 15:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h1dEn-0002lr-VN for bug-guix@gnu.org; Wed, 06 Mar 2019 15:34:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87a7i8i09x.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: 34637@debbugs.gnu.org --000000000000dc06c8058372e713 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That said there was no log file, but I've pulled since, so I pulled again and redid the test. `` $ guix --version guix (GNU Guix) 3546e97f38bb4dfa4c016cd7a20d4add277ca8f7 Copyright (C) 2019 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ guix package -n -m example-inferior.scm Updating channel 'guix' from Git repository at ' https://git.savannah.gnu.org/git/guix.git'... Computing Guix derivation for 'x86_64-linux'... \ substitute: updating substitutes from 'https://bayfront.guixsd.org'... 100.0% The following derivation will be built: /gnu/store/b5qmqrs7fjd0w7zh5zgm4an21v1alich-profile.drv The following profile hook will be built: /gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv /guix package: error: exception thrown: # $ guix build --log-file /gnu/store/b5qmqrs7fjd0w7zh5zgm4an21v1alich-profile.drv guix build: error: no build log for '/gnu/store/b5qmqrs7fjd0w7zh5zgm4an21v1alich-profile.drv' ``` There is maybe an extra clue in guix environment output, regarding repl: ``` $ guix environment --ad-hoc -m example-inferior.scm Updating channel 'guix' from Git repository at ' https://git.savannah.gnu.org/git/guix.git'... Computing Guix derivation for 'x86_64-linux'... | The following derivation will be built: /gnu/store/caqr64cryz42nh687mg8p7dnpjk3dhqn-profile.drv The following profile hook will be built: /gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv building path(s) `/gnu/store/yd83jmcpivf6aqzbhx5qwv59fcv40wd9-guix-package-cache' guix: repl: command not found Try `guix --help' for more information. Backtrace: 1 (primitive-load "/gnu/store/fgxq3d1zix70k2acrrcg1yn9qj0?") 0 (scm-error misc-error #f "~A ~S" ("inferior failed" #) #f) ERROR: In procedure scm-error: inferior failed "/gnu/store/2gln2fjds54kb97yxyz1mfa3hrrcrwlv-profile" builder for `/gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv' failed with exit code 1 cannot build derivation `/gnu/store/caqr64cryz42nh687mg8p7dnpjk3dhqn-profile.drv': 1 dependencies couldn't be built guix environment: error: exception thrown: # ``` On Wed, Mar 6, 2019 at 5:46 AM Ludovic Court=C3=A8s wrote: > Hi Martin, > > Martin Flack skribis: > > > I'm getting an error trying the example here: > > https://www.gnu.org/software/guix/manual/en/html_node/Inferiors.html > > [...] > > > $ guix package -n -m example-inferior.scm > > Updating channel 'guix' from Git repository at ' > > https://git.savannah.gnu.org/git/guix.git'... > > Computing Guix derivation for 'x86_64-linux'... | > > substitute: updating substitutes from 'https://bayfront.guixsd.org'... > > 100.0% > > The following derivation will be built: > > /gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv > > The following profile hook will be built: > > /gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv > > guix package: error: exception thrown: # > [message: "build of > > `/gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv' failed" statu= s: > > 100] 1f80de0> > > Could you paste the file reported by: > > guix build --log-file > /gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv > > ? > > TIA, > Ludo=E2=80=99. > --=20 Martin --000000000000dc06c8058372e713 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That said there was no log file, but I've pulled since, so I = pulled again and redid the test.

``
$ gui= x --version
guix (GNU Guix) 3546e97f38bb4dfa4c016cd7a20d4add277ca= 8f7
Copyright (C) 2019 the Guix authors
License GPLv3+:= GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software:= you are free to change and redistribute it.
There is NO WARRANTY= , to the extent permitted by law.

$ gui= x package -n -m example-inferior.scm=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0=C2=A0
Updating channel 'guix' from Git = repository at 'https://git.savannah.gnu.org/git/guix.git'...
Computi= ng Guix derivation for 'x86_64-linux'... \
substitute: up= dating substitutes from 'https:= //bayfront.guixsd.org'... 100.0%
The following derivation= will be built:
=C2=A0 =C2=A0/gnu/store/b5qmqrs7fjd0w7zh5zgm4an21= v1alich-profile.drv
The following profile hook will be built:
=C2=A0 =C2=A0/gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-packag= e-cache.drv
/guix package: error: exception thrown: #<conditio= n &store-protocol-error [message: "build of `/gnu/store/b5qmqrs7fj= d0w7zh5zgm4an21v1alich-profile.drv' failed" status: 100] 4a4c750&g= t;

$ guix build --log-file /gnu/store/b5qmqrs7fjd0= w7zh5zgm4an21v1alich-profile.drv
guix build: error: no build log = for '/gnu/store/b5qmqrs7fjd0w7zh5zgm4an21v1alich-profile.drv'
=
```

There is maybe an extra clue in= guix environment output, regarding repl:

```
$ guix environment --ad-hoc -m example-inferior.scm=C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0
Updati= ng channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/gui= x.git'...
Computing Guix derivation for 'x86_64-linux= '... |
The following derivation will be built:
=C2= =A0 =C2=A0/gnu/store/caqr64cryz42nh687mg8p7dnpjk3dhqn-profile.drv
The following profile hook will be built:
=C2=A0 =C2=A0/gnu/stor= e/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-cache.drv
buildin= g path(s) `/gnu/store/yd83jmcpivf6aqzbhx5qwv59fcv40wd9-guix-package-cache&#= 39;
guix: repl: command not found
Try `guix --help'= for more information.
Backtrace:
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A01 (primitive-load "/gnu/store/fgxq3d1zix70k2acrrcg= 1yn9qj0?")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00 (scm-e= rror misc-error #f "~A ~S" ("inferior failed" #) #f)

ERROR: In procedure scm-error:
inferior fa= iled "/gnu/store/2gln2fjds54kb97yxyz1mfa3hrrcrwlv-profile"
<= div>builder for `/gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-c= ache.drv' failed with exit code 1
cannot build derivation `/g= nu/store/caqr64cryz42nh687mg8p7dnpjk3dhqn-profile.drv': 1 dependencies = couldn't be built
guix environment: error: exception thrown: = #<condition &store-protocol-error [message: "build of `/gnu/sto= re/caqr64cryz42nh687mg8p7dnpjk3dhqn-profile.drv' failed" status: 1= 00] 52e43f0>
```

<= /div>

On Wed, Mar 6, 2019 at 5:46 AM Ludovic Court=C3=A8s <ludo@gnu.org> wrote:
Hi Martin,

Martin Flack <martin.flack@gmail.com> skribis:

> I'm getting an error trying the example here:
> https://www.gnu.org/softwar= e/guix/manual/en/html_node/Inferiors.html

[...]

> $ guix package -n -m example-inferior.scm
> Updating channel 'guix' from Git repository at '
> https://git.savannah.gnu.org/git/guix.git'.<= /a>..
> Computing Guix derivation for 'x86_64-linux'... |
> substitute: updating substitutes from '
https://bayfront.guixsd.o= rg'...
> 100.0%
> The following derivation will be built:
>=C2=A0 =C2=A0 /gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv > The following profile hook will be built:
>=C2=A0 =C2=A0 /gnu/store/gkhfa4z16x4336pbi1ha7njgdpm680yf-guix-package-= cache.drv
> guix package: error: exception thrown: #<condition &store-proto= col-error
> [message: "build of
> `/gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-profile.drv' failed&q= uot; status:
> 100] 1f80de0>

Could you paste the file reported by:

=C2=A0 guix build --log-file /gnu/store/zxrm9a410iywcdm71crjbg2j4ggpvdbv-pr= ofile.drv

?

TIA,
Ludo=E2=80=99.


--

Martin
--000000000000dc06c8058372e713--