From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: system vm fails (reprise) Date: Fri, 16 Mar 2018 21:54:24 +0100 Message-ID: References: <877eqbbx96.fsf@fastmail.com> <874llfbvt1.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000490e4e05678dd03b" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewwMu-0007Du-WC for help-guix@gnu.org; Fri, 16 Mar 2018 16:54:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewwMt-0000dC-J6 for help-guix@gnu.org; Fri, 16 Mar 2018 16:54:29 -0400 Received: from mail-yw0-x22f.google.com ([2607:f8b0:4002:c05::22f]:41779) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ewwMt-0000cQ-CC for help-guix@gnu.org; Fri, 16 Mar 2018 16:54:27 -0400 Received: by mail-yw0-x22f.google.com with SMTP id w12so7845302ywa.8 for ; Fri, 16 Mar 2018 13:54:27 -0700 (PDT) In-Reply-To: <874llfbvt1.fsf@fastmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Marius Bakke Cc: help-guix --000000000000490e4e05678dd03b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2018-03-16 21:38 GMT+01:00 Marius Bakke : > Catonano writes: > > > ~$ guix system vm ~/configs/vm-config-desktop.scm \ > >> --image-size=3D10GB \ > >> --share=3D$HOME/transit=3D/transit > > guix system: error: build failed: error parsing derivation > > `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': expected > > string `Derive([' > > This is very odd. Can you paste the output of: > > cat /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv ? > > Does it make any difference if you drop --image-size (which is now > autodetected) and/or --share? > catonano@xps ~/projects/guix$ cat /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv catonano@xps ~/projects/guix$ also catonano@xps ~/projects/guix$ ls -lha /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv -r--r--r-- 2 root root 0 1 gen 1970 /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv catonano@xps ~/projects/guix$ it's an empty file ! This is without the --share thing catonano@xps ~/projects/guix$ guix system vm ~/configs/vm-config-desktop.scm \ > --image-size=3D10GB Backtrace: In guix/gexp.scm: 637:2 19 (_ _) In guix/monads.scm: 485:9 18 (_ _) In guix/gexp.scm: 519:22 17 (_ _) In guix/store.scm: 1362:38 16 (_ #) In guix/derivations.scm: 718:24 15 (derivation # "etc" _ _ # _ =E2= =80=A6) 674:39 14 (derivation-hash # 855daa0>) 642:19 13 (derivation/masked-inputs _) In srfi/srfi-1.scm: 592:29 12 (map1 (#< path: "/gnu/store/2qpk1f=E2=80=A6>= =E2=80=A6)) 592:29 11 (map1 (#< path: "/gnu/store/2xg333=E2=80=A6>= =E2=80=A6)) 592:29 10 (map1 (#< path: "/gnu/store/57car5=E2=80=A6>= =E2=80=A6)) 592:29 9 (map1 (#< path: "/gnu/store/75a9hf=E2=80=A6>= =E2=80=A6)) 592:29 8 (map1 (#< path: "/gnu/store/7fb2pw=E2=80=A6>= =E2=80=A6)) 592:29 7 (map1 (#< path: "/gnu/store/bw12nm=E2=80=A6>= =E2=80=A6)) 592:17 6 (map1 (#< path: "/gnu/store/dp8ywh=E2=80=A6>= =E2=80=A6)) In guix/derivations.scm: 644:39 5 (_ _) In guix/memoization.scm: 100:0 4 (_ # "/gnu/store/dp8ywhh=E2=80= =A6" =E2=80=A6) In guix/derivations.scm: 634:22 3 (_) 494:17 2 (read-derivation-from-file "/gnu/store/dp8ywhh22n8ixikq=E2=80= =A6") In ice-9/ports.scm: 444:17 1 (call-with-input-file _ _ #:binary _ #:encoding _ # _) In unknown file: 0 (scm-error misc-error #f "~A ~S ~S" ("failed to par=E2=80=A6" = =E2=80=A6) =E2=80=A6) ERROR: In procedure scm-error: failed to parse derivation # () catonano@xps ~/projects/guix$ guix system vm ~/configs/vm-config-desktop.scm and this is without the image size thing catonano@xps ~/projects/guix$ guix system vm ~/configs/vm-config-desktop.scm \ > --share=3D$HOME/transit=3D/transit guix system: error: build failed: error parsing derivation `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': expected string `Derive([' catonano@xps ~/projects/guix$ --000000000000490e4e05678dd03b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2018-03-16 21:38 GMT+01:00 Marius Bakke <mbakke@fastmail.com&g= t;:
Catonano <= catonano@gmail.com> writes:
> ~$ guix system vm ~/configs/vm-config-desktop.scm \
>>=C2=A0 =C2=A0 --image-size=3D10GB \
>>=C2=A0 =C2=A0 --share=3D$HOME/transit=3D/transit
> guix system: error: build failed: error parsing derivation
> `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv= ': expected
> string `Derive(['

This is very odd.=C2=A0 Can you paste the output of:

cat /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv ?=

Does it make any difference if you drop --image-size (which is now
autodetected) and/or --share?


catonano@xps ~/projects/guix$ cat /gnu/store/dp8= ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv
catonano@xps ~/projects/gu= ix$

also

catonano@xps ~/proj= ects/guix$ ls -lha /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.= drv
-r--r--r-- 2 root root 0=C2=A0 1 gen=C2=A0 1970 /gnu/store/dp8ywhh22= n8ixikqdvsb6w6qbn4iw899-environment.drv
catonano@xps ~/projects/guix$

it's an empty file !

<= /div>
This is without the --share thing

ca= tonano@xps ~/projects/guix$ guix system vm ~/configs/vm-config-desktop.scm = \
>=C2=A0=C2=A0=C2=A0 --image-size=3D10GB
Backtrace:
In guix/ge= xp.scm:
=C2=A0=C2=A0=C2=A0 637:2 19 (_ _)
In guix/monads.scm:
=C2= =A0=C2=A0=C2=A0 485:9 18 (_ _)
In guix/gexp.scm:
=C2=A0=C2=A0 519:22 = 17 (_ _)
In guix/store.scm:
=C2=A0 1362:38 16 (_ #<build-daemon 25= 6.97 2eb9eb0>)
In guix/derivations.scm:
=C2=A0=C2=A0 718:24 15 (de= rivation #<build-daemon 256.97 2eb9eb0> "etc" _ _ # _ =E2= =80=A6)
=C2=A0=C2=A0 674:39 14 (derivation-hash #<derivation #f =3D&g= t;=C2=A0 855daa0>)
=C2=A0=C2=A0 642:19 13 (derivation/masked-inputs _= )
In srfi/srfi-1.scm:
=C2=A0=C2=A0 592:29 12 (map1 (#<<derivati= on-input> path: "/gnu/store/2qpk1f=E2=80=A6> =E2=80=A6))
=C2= =A0=C2=A0 592:29 11 (map1 (#<<derivation-input> path: "/gnu/s= tore/2xg333=E2=80=A6> =E2=80=A6))
=C2=A0=C2=A0 592:29 10 (map1 (#<= <derivation-input> path: "/gnu/store/57car5=E2=80=A6> =E2=80= =A6))
=C2=A0=C2=A0 592:29=C2=A0 9 (map1 (#<<derivation-input> p= ath: "/gnu/store/75a9hf=E2=80=A6> =E2=80=A6))
=C2=A0=C2=A0 592:2= 9=C2=A0 8 (map1 (#<<derivation-input> path: "/gnu/store/7fb2p= w=E2=80=A6> =E2=80=A6))
=C2=A0=C2=A0 592:29=C2=A0 7 (map1 (#<<d= erivation-input> path: "/gnu/store/bw12nm=E2=80=A6> =E2=80=A6))<= br>=C2=A0=C2=A0 592:17=C2=A0 6 (map1 (#<<derivation-input> path: &= quot;/gnu/store/dp8ywh=E2=80=A6> =E2=80=A6))
In guix/derivations.scm:=
=C2=A0=C2=A0 644:39=C2=A0 5 (_ _)
In guix/memoization.scm:
=C2=A0= =C2=A0=C2=A0 100:0=C2=A0 4 (_ #<hash-table 2972e20 2130/3517> "/= gnu/store/dp8ywhh=E2=80=A6" =E2=80=A6)
In guix/derivations.scm:
= =C2=A0=C2=A0 634:22=C2=A0 3 (_)
=C2=A0=C2=A0 494:17=C2=A0 2 (read-deriva= tion-from-file "/gnu/store/dp8ywhh22n8ixikq=E2=80=A6")
In ice-= 9/ports.scm:
=C2=A0=C2=A0 444:17=C2=A0 1 (call-with-input-file _ _ #:bin= ary _ #:encoding _ # _)
In unknown file:
=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 (scm-error misc-error #f "~A ~S ~S= " ("failed to par=E2=80=A6" =E2=80=A6) =E2=80=A6)

ERR= OR: In procedure scm-error:
failed to parse derivation #<input: /gnu/= store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv 14> ()
catonan= o@xps ~/projects/guix$ guix system vm ~/configs/vm-config-desktop.scm=C2=A0= =C2=A0=C2=A0


and this is witho= ut the image size thing

catonano@xps ~/projects/guix$ guix system vm= ~/configs/vm-config-desktop.scm \
>=C2=A0=C2=A0=C2=A0 --share=3D$HOM= E/transit=3D/transit
guix system: error: build failed: error parsing der= ivation `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': = expected string `Derive(['
catonano@xps ~/projects/guix$

--000000000000490e4e05678dd03b--