unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* system vm fails (reprise)
@ 2018-03-16 19:47 Catonano
  2018-03-16 20:07 ` Marius Bakke
  0 siblings, 1 reply; 10+ messages in thread
From: Catonano @ 2018-03-16 19:47 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

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$

[-- Attachment #2: Type: text/html, Size: 687 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: system vm fails (reprise)
  2018-03-16 19:47 system vm fails (reprise) Catonano
@ 2018-03-16 20:07 ` Marius Bakke
  2018-03-16 20:12   ` Catonano
  0 siblings, 1 reply; 10+ messages in thread
From: Marius Bakke @ 2018-03-16 20:07 UTC (permalink / raw)
  To: Catonano, help-guix

[-- Attachment #1: Type: text/plain, Size: 658 bytes --]

Catonano <catonano@gmail.com> 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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 483 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: system vm fails (reprise)
  2018-03-16 20:07 ` Marius Bakke
@ 2018-03-16 20:12   ` Catonano
  2018-03-16 20:38     ` Marius Bakke
  0 siblings, 1 reply; 10+ messages in thread
From: Catonano @ 2018-03-16 20:12 UTC (permalink / raw)
  To: Marius Bakke; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1191 bytes --]

2018-03-16 21:07 GMT+01:00 Marius Bakke <mbakke@fastmail.com>:

> Catonano <catonano@gmail.com> 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

[-- Attachment #2: Type: text/html, Size: 1902 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: system vm fails (reprise)
  2018-03-16 20:12   ` Catonano
@ 2018-03-16 20:38     ` Marius Bakke
  2018-03-16 20:54       ` Catonano
  0 siblings, 1 reply; 10+ messages in thread
From: Marius Bakke @ 2018-03-16 20:38 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 525 bytes --]

Catonano <catonano@gmail.com> 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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: system vm fails (reprise)
  2018-03-16 20:38     ` Marius Bakke
@ 2018-03-16 20:54       ` Catonano
  2018-03-16 22:20         ` Björn Höfling
  0 siblings, 1 reply; 10+ messages in thread
From: Catonano @ 2018-03-16 20:54 UTC (permalink / raw)
  To: Marius Bakke; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 3167 bytes --]

2018-03-16 21:38 GMT+01:00 Marius Bakke <mbakke@fastmail.com>:

> Catonano <catonano@gmail.com> 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 (_ #<build-daemon 256.97 2eb9eb0>)
In guix/derivations.scm:
   718:24 15 (derivation #<build-daemon 256.97 2eb9eb0> "etc" _ _ # _ …)
   674:39 14 (derivation-hash #<derivation #f =>  855daa0>)
   642:19 13 (derivation/masked-inputs _)
In srfi/srfi-1.scm:
   592:29 12 (map1 (#<<derivation-input> path: "/gnu/store/2qpk1f…> …))
   592:29 11 (map1 (#<<derivation-input> path: "/gnu/store/2xg333…> …))
   592:29 10 (map1 (#<<derivation-input> path: "/gnu/store/57car5…> …))
   592:29  9 (map1 (#<<derivation-input> path: "/gnu/store/75a9hf…> …))
   592:29  8 (map1 (#<<derivation-input> path: "/gnu/store/7fb2pw…> …))
   592:29  7 (map1 (#<<derivation-input> path: "/gnu/store/bw12nm…> …))
   592:17  6 (map1 (#<<derivation-input> path: "/gnu/store/dp8ywh…> …))
In guix/derivations.scm:
   644:39  5 (_ _)
In guix/memoization.scm:
    100:0  4 (_ #<hash-table 2972e20 2130/3517> "/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 #<input:
/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv 14> ()
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$

[-- Attachment #2: Type: text/html, Size: 4161 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: system vm fails (reprise)
  2018-03-16 20:54       ` Catonano
@ 2018-03-16 22:20         ` Björn Höfling
  2018-03-17  4:47           ` Catonano
  0 siblings, 1 reply; 10+ messages in thread
From: Björn Höfling @ 2018-03-16 22:20 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1350 bytes --]

On Fri, 16 Mar 2018 21:54:24 +0100
Catonano <catonano@gmail.com> wrote:

> 2018-03-16 21:38 GMT+01:00 Marius Bakke <mbakke@fastmail.com>:
> 
> > Catonano <catonano@gmail.com> 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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: system vm fails (reprise)
  2018-03-16 22:20         ` Björn Höfling
@ 2018-03-17  4:47           ` Catonano
  2018-03-20 10:54             ` Ludovic Courtès
  0 siblings, 1 reply; 10+ messages in thread
From: Catonano @ 2018-03-17  4:47 UTC (permalink / raw)
  To: Björn Höfling; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1554 bytes --]

2018-03-16 23:20 GMT+01:00 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
:

> On Fri, 16 Mar 2018 21:54:24 +0100
> Catonano <catonano@gmail.com> wrote:
>
> > 2018-03-16 21:38 GMT+01:00 Marius Bakke <mbakke@fastmail.com>:
> >
> > > Catonano <catonano@gmail.com> 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 !!

[-- Attachment #2: Type: text/html, Size: 2565 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: system vm fails (reprise)
  2018-03-17  4:47           ` Catonano
@ 2018-03-20 10:54             ` Ludovic Courtès
  2018-03-20 12:45               ` Björn Höfling
  0 siblings, 1 reply; 10+ messages in thread
From: Ludovic Courtès @ 2018-03-20 10:54 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

Catonano <catonano@gmail.com> skribis:

> 2018-03-16 23:20 GMT+01:00 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
> :
>
>> On Fri, 16 Mar 2018 21:54:24 +0100
>> Catonano <catonano@gmail.com> wrote:
>>
>> > 2018-03-16 21:38 GMT+01:00 Marius Bakke <mbakke@fastmail.com>:
>> >
>> > > Catonano <catonano@gmail.com> 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’.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: system vm fails (reprise)
  2018-03-20 10:54             ` Ludovic Courtès
@ 2018-03-20 12:45               ` Björn Höfling
  2018-03-20 13:23                 ` Catonano
  0 siblings, 1 reply; 10+ messages in thread
From: Björn Höfling @ 2018-03-20 12:45 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

On Tue, 20 Mar 2018 11:54:54 +0100
ludo@gnu.org (Ludovic Courtès) wrote:

> Catonano <catonano@gmail.com> skribis:
> 
> > 2018-03-16 23:20 GMT+01:00 Björn Höfling
> > <bjoern.hoefling@bjoernhoefling.de> :
> >  
> >> On Fri, 16 Mar 2018 21:54:24 +0100
> >> Catonano <catonano@gmail.com> wrote:
> >>  
> >> > 2018-03-16 21:38 GMT+01:00 Marius Bakke <mbakke@fastmail.com>:
> >> >  
> >> > > Catonano <catonano@gmail.com> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: system vm fails (reprise)
  2018-03-20 12:45               ` Björn Höfling
@ 2018-03-20 13:23                 ` Catonano
  0 siblings, 0 replies; 10+ messages in thread
From: Catonano @ 2018-03-20 13:23 UTC (permalink / raw)
  To: Björn Höfling; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1387 bytes --]

2018-03-20 13:45 GMT+01:00 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
:

> On Tue, 20 Mar 2018 11:54:54 +0100
> ludo@gnu.org (Ludovic Courtès) wrote:
>
> > Catonano <catonano@gmail.com> skribis:
> >
> > > 2018-03-16 23:20 GMT+01:00 Björn Höfling
> > > <bjoern.hoefling@bjoernhoefling.de> :
> > >
> > >> On Fri, 16 Mar 2018 21:54:24 +0100
> > >> Catonano <catonano@gmail.com> wrote:
> > >>
> > >> > 2018-03-16 21:38 GMT+01:00 Marius Bakke <mbakke@fastmail.com>:
> > >> >
> > >> > > Catonano <catonano@gmail.com> 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

[-- Attachment #2: Type: text/html, Size: 2659 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-03-20 13:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-16 19:47 system vm fails (reprise) Catonano
2018-03-16 20:07 ` Marius Bakke
2018-03-16 20:12   ` Catonano
2018-03-16 20:38     ` Marius Bakke
2018-03-16 20:54       ` Catonano
2018-03-16 22:20         ` Björn Höfling
2018-03-17  4:47           ` Catonano
2018-03-20 10:54             ` Ludovic Courtès
2018-03-20 12:45               ` Björn Höfling
2018-03-20 13:23                 ` Catonano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).