Re: system vm fails (reprise)
2018-03-20 13:45 GMT+01:00 Björn Höfling : > On Tue, 20 Mar 2018 11:54:54 +0100 > l...@gnu.org (Ludovic Courtès) wrote: > > > Catonano skribis: > > > > > 2018-03-16 23:20 GMT+01:00 Björn Höfling > > > : > > > > > >> On Fri, 16 Mar 2018 21:54:24 +0100 > > >> Catonano wrote: > > >> > > >> > 2018-03-16 21:38 GMT+01:00 Marius Bakke : > > >> > > > >> > > Catonano writes: > > >> > > > > >> > > > ~$ guix system vm ~/configs/vm-config-desktop.scm \ > > >> > > >>--image-size=10GB \ > > >> > > >>--share=$HOME/transit=/transit > > >> > > > guix system: error: build failed: error parsing derivation > > >> > > > `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': > > >> > > > expected string `Derive([' > > > > [...] > > > > >> guix gc > > >> -d /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv > > >> > > >> And then start again with your `guix system vm ...` > > >> > > >> > > >> Björn > > >> > > > > > > > > > After "guix gc" it works !! > > > > Looks like you had corrupt files, which is a bad sign. > > > Marius opened a bug for this one: > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30875 > > Björn > Yes Björn, thank you, I saw it
Re: system vm fails (reprise)
On Tue, 20 Mar 2018 11:54:54 +0100 l...@gnu.org (Ludovic Courtès) wrote: > Catonano skribis: > > > 2018-03-16 23:20 GMT+01:00 Björn Höfling > > : > > > >> On Fri, 16 Mar 2018 21:54:24 +0100 > >> Catonano wrote: > >> > >> > 2018-03-16 21:38 GMT+01:00 Marius Bakke : > >> > > >> > > Catonano writes: > >> > > > >> > > > ~$ guix system vm ~/configs/vm-config-desktop.scm \ > >> > > >>--image-size=10GB \ > >> > > >>--share=$HOME/transit=/transit > >> > > > guix system: error: build failed: error parsing derivation > >> > > > `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': > >> > > > expected string `Derive([' > > [...] > > >> guix gc > >> -d /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv > >> > >> And then start again with your `guix system vm ...` > >> > >> > >> Björn > >> > > > > > > After "guix gc" it works !! > > Looks like you had corrupt files, which is a bad sign. Marius opened a bug for this one: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30875 Björn
Re: system vm fails (reprise)
Catonano skribis: > 2018-03-16 23:20 GMT+01:00 Björn Höfling > : > >> On Fri, 16 Mar 2018 21:54:24 +0100 >> Catonano wrote: >> >> > 2018-03-16 21:38 GMT+01:00 Marius Bakke : >> > >> > > Catonano writes: >> > > >> > > > ~$ guix system vm ~/configs/vm-config-desktop.scm \ >> > > >>--image-size=10GB \ >> > > >>--share=$HOME/transit=/transit >> > > > guix system: error: build failed: error parsing derivation >> > > > `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': >> > > > expected string `Derive([' [...] >> guix gc -d /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv >> >> And then start again with your `guix system vm ...` >> >> >> Björn >> > > > After "guix gc" it works !! Looks like you had corrupt files, which is a bad sign. Ludo’.
Re: system vm fails (reprise)
2018-03-16 23:20 GMT+01:00 Björn Höfling : > On Fri, 16 Mar 2018 21:54:24 +0100 > Catonano wrote: > > > 2018-03-16 21:38 GMT+01:00 Marius Bakke : > > > > > Catonano writes: > > > > > > > ~$ guix system vm ~/configs/vm-config-desktop.scm \ > > > >>--image-size=10GB \ > > > >>--share=$HOME/transit=/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 > > > > catonano@xps ~/projects/guix$ > > > > > > it's an empty file ! > > Just a blind guess, not sure if that thing is alive or dead: > > Can you try: > > guix gc -d /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv > > And then start again with your `guix system vm ...` > > > Björn > After "guix gc" it works !! Thanks !!
Re: system vm fails (reprise)
On Fri, 16 Mar 2018 21:54:24 +0100 Catonano wrote: > 2018-03-16 21:38 GMT+01:00 Marius Bakke : > > > Catonano writes: > > > > > ~$ guix system vm ~/configs/vm-config-desktop.scm \ > > >>--image-size=10GB \ > > >>--share=$HOME/transit=/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 > > catonano@xps ~/projects/guix$ > > > it's an empty file ! Just a blind guess, not sure if that thing is alive or dead: Can you try: guix gc -d /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv And then start again with your `guix system vm ...` Björn pgpTfqo_o5a7k.pgp Description: OpenPGP digital signature
Re: system vm fails (reprise)
Catonano writes: > ~$ guix system vm ~/configs/vm-config-desktop.scm \ >>--image-size=10GB \ >>--share=$HOME/transit=/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? signature.asc Description: PGP signature
Re: system vm fails (reprise)
2018-03-16 21:38 GMT+01:00 Marius Bakke : > Catonano writes: > > > ~$ guix system vm ~/configs/vm-config-desktop.scm \ > >>--image-size=10GB \ > >>--share=$HOME/transit=/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=10GB 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" _ _ # _ …) 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…> …)) 592:29 11 (map1 (#< path: "/gnu/store/2xg333…> …)) 592:29 10 (map1 (#< path: "/gnu/store/57car5…> …)) 592:29 9 (map1 (#< path: "/gnu/store/75a9hf…> …)) 592:29 8 (map1 (#< path: "/gnu/store/7fb2pw…> …)) 592:29 7 (map1 (#< path: "/gnu/store/bw12nm…> …)) 592:17 6 (map1 (#< path: "/gnu/store/dp8ywh…> …)) In guix/derivations.scm: 644:39 5 (_ _) In guix/memoization.scm: 100:0 4 (_ # "/gnu/store/dp8ywhh…" …) In guix/derivations.scm: 634:22 3 (_) 494:17 2 (read-derivation-from-file "/gnu/store/dp8ywhh22n8ixikq…") 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…" …) …) 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=$HOME/transit=/transit guix system: error: build failed: error parsing derivation `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': expected string `Derive([' catonano@xps ~/projects/guix$
Re: system vm fails (reprise)
2018-03-16 21:07 GMT+01:00 Marius Bakke : > Catonano writes: > > > Ok, so in running > > > > sudo -E guix ... > > > > I had messed up my installation, so guix pull didn't work anymore > > > > I think I fixed it now > > > > guix pull ust worked, I reconfigured my system > > > > but this still happens > > > > $ ./pre-inst-env guix system vm ~/configs/vm-config-desktop.scm \ > >>--image-size=10GB \ > >>--share=$HOME/transit=/transit > > guix system: error: build failed: error parsing derivation > > `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': expected > > string `Derive([' > > Do you get the same error if you don't use "./pre-inst-env"? > > What does 'git describe' output in your repository? > Thank you Marius This is without .pre-inst-env ~$ guix system vm ~/configs/vm-config-desktop.scm \ >--image-size=10GB \ >--share=$HOME/transit=/transit guix system: error: build failed: error parsing derivation `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': expected string `Derive([' catonano@xps ~$ and this is git describe in my repo ~/projects/guix$ git describe v0.14.0-3414-g1d97d8ffd
Re: system vm fails (reprise)
Catonano writes: > Ok, so in running > > sudo -E guix ... > > I had messed up my installation, so guix pull didn't work anymore > > I think I fixed it now > > guix pull ust worked, I reconfigured my system > > but this still happens > > $ ./pre-inst-env guix system vm ~/configs/vm-config-desktop.scm \ >>--image-size=10GB \ >>--share=$HOME/transit=/transit > guix system: error: build failed: error parsing derivation > `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': expected > string `Derive([' Do you get the same error if you don't use "./pre-inst-env"? What does 'git describe' output in your repository? signature.asc Description: PGP signature
system vm fails (reprise)
Ok, so in running sudo -E guix ... I had messed up my installation, so guix pull didn't work anymore I think I fixed it now guix pull ust worked, I reconfigured my system but this still happens $ ./pre-inst-env guix system vm ~/configs/vm-config-desktop.scm \ >--image-size=10GB \ >--share=$HOME/transit=/transit guix system: error: build failed: error parsing derivation `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': expected string `Derive([' catonano@xps ~/projects/guix$