all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* system vm fails
@ 2018-03-15 21:02 Catonano
  2018-03-15 21:58 ` Catonano
  2018-03-16 14:57 ` Leo Famulari
  0 siblings, 2 replies; 10+ messages in thread
From: Catonano @ 2018-03-15 21:02 UTC (permalink / raw)
  To: help-guix

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

after some time that I didn't try, I issued this command

~$ guix system vm ~/configs/vm-config-desktop.scm \
>    --image-size=10GB \
>    --share=$HOME/transit=/transit


and I got


Backtrace:
In srfi/srfi-1.scm:
   592:29 19 (map1 (#<<derivation-input> path: "/gnu/store/1w63bv…> …))
   592:29 18 (map1 (#<<derivation-input> path: "/gnu/store/29lkk2…> …))
   592:29 17 (map1 (#<<derivation-input> path: "/gnu/store/2b2d0d…> …))
   592:29 16 (map1 (#<<derivation-input> path: "/gnu/store/2r3bal…> …))
   592:29 15 (map1 (#<<derivation-input> path: "/gnu/store/3a8fqh…> …))
   592:29 14 (map1 (#<<derivation-input> path: "/gnu/store/4clx1c…> …))
   592:29 13 (map1 (#<<derivation-input> path: "/gnu/store/4xvb3r…> …))
   592:29 12 (map1 (#<<derivation-input> path: "/gnu/store/6m75lp…> …))
   592:29 11 (map1 (#<<derivation-input> path: "/gnu/store/6zy8h2…> …))
   592:29 10 (map1 (#<<derivation-input> path: "/gnu/store/72n0a3…> …))
   592:29  9 (map1 (#<<derivation-input> path: "/gnu/store/75z1k3…> …))
   592:29  8 (map1 (#<<derivation-input> path: "/gnu/store/7fb2pw…> …))
   592:29  7 (map1 (#<<derivation-input> path: "/gnu/store/998x1z…> …))
   592:17  6 (map1 (#<<derivation-input> path: "/gnu/store/ajqj00…> …))
In guix/derivations.scm:
   644:39  5 (_ _)
In guix/memoization.scm:
    100:0  4 (_ #<hash-table 112f040 2288/3517> "/gnu/store/ajqj00q…" …)
In guix/derivations.scm:
   634:22  3 (_)
   494:17  2 (read-derivation-from-file "/gnu/store/ajqj00qwkah0hgvs…")
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/ajqj00qwkah0hgvs1dw3glfwavw37whj-shepherd-file-systems.scm.drv
14> ()

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

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

* Re: system vm fails
  2018-03-15 21:02 system vm fails Catonano
@ 2018-03-15 21:58 ` Catonano
  2018-03-15 22:14   ` Catonano
  2018-03-16 14:57 ` Leo Famulari
  1 sibling, 1 reply; 10+ messages in thread
From: Catonano @ 2018-03-15 21:58 UTC (permalink / raw)
  To: help-guix

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

I tried with a checked out guix and I got what follows


...
validating RUNPATH of 1 binaries in
"/gnu/store/kydnvbnz4vy4b7j2j595jjkc678lvn03-xdg-user-dirs-0.17/bin"...
phase `validate-runpath' succeeded after 0.0 seconds
starting phase `validate-documentation-location'
phase `validate-documentation-location' succeeded after 0.0 seconds
starting phase `delete-info-dir-file'
phase `delete-info-dir-file' succeeded after 0.0 seconds
starting phase `patch-dot-desktop-files'
phase `patch-dot-desktop-files' succeeded after 0.0 seconds
starting phase `install-license-files'
installing 1 license files
phase `install-license-files' succeeded after 0.0 seconds
starting phase `reset-gzip-timestamps'
phase `reset-gzip-timestamps' succeeded after 0.0 seconds
starting phase `compress-documentation'
compressing documentation in
'/gnu/store/kydnvbnz4vy4b7j2j595jjkc678lvn03-xdg-user-dirs-0.17/share/man'
with "gzip" and flags ("--best" "--no-name")
phase `compress-documentation' succeeded after 0.0 seconds
guix system: error: build failed: error parsing derivation
`/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': expected
string `Derive(['


the file /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv' seems
to be empty. I opened it with nano

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

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

* Re: system vm fails
  2018-03-15 21:58 ` Catonano
@ 2018-03-15 22:14   ` Catonano
  0 siblings, 0 replies; 10+ messages in thread
From: Catonano @ 2018-03-15 22:14 UTC (permalink / raw)
  To: help-guix

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

and this is my configuration

;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS.

(use-modules (gnu) (gnu system nss))
(use-modules (gnu packages tryton))
(use-modules (gnu packages databases))
(use-service-modules desktop)
(use-package-modules certs gnome)
(use-service-modules databases)
;(use-service-modules trytond)

(operating-system
  (host-name "antelope")
  (timezone "Europe/Paris")
  (locale "it_IT.utf8")

  ;;This is to be able to login into a guest system
  (kernel-arguments '("console=ttyS0"))

  ;; Assuming /dev/sdX is the target hard disk, and "my-root"
  ;; is the label of the target root file system.
  (bootloader (grub-configuration (target "/dev/sda")))

  (file-systems (cons (file-system
                        (device "my-root")
                        (title 'label)
                        (mount-point "/")
                        (type "ext4")

                      )
                      %base-file-systems))

  (users (cons (user-account
                (name "catonano")
                (comment "Alice's brother")
                (group "users")
                (supplementary-groups '("wheel" "netdev"
                                        "audio" "video"))
                (home-directory "/home/catonano"))
               %base-user-accounts))

  ;; This is where we specify system-wide packages.
  (packages (cons* nss-certs         ;for HTTPS access
                   gvfs              ;for user mounts
           ;;python-trytond
           ;;tryton
           ;;postgresql
                   %base-packages))

  ;; Add GNOME and/or Xfce---we can choose at the log-in
  ;; screen with F1.  Use the "desktop" services, which
  ;; include the X11 log-in service, networking with Wicd,
  ;; and more.
  (services (cons* ;(postgresql-service #:locale "it_IT.UTF-8")
                   ;(service trytond-service-type)
                   (gnome-desktop-service)
                   ;(xfce-desktop-service)
           (service agetty-service-type
                (agetty-configuration (tty "ttyS0")))
                   %desktop-services))

  ;; Allow resolution of '.local' host names with mDNS.
  (name-service-switch %mdns-host-lookup-nss))

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

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

* Re: system vm fails
  2018-03-15 21:02 system vm fails Catonano
  2018-03-15 21:58 ` Catonano
@ 2018-03-16 14:57 ` Leo Famulari
  2018-03-16 15:12   ` Catonano
  1 sibling, 1 reply; 10+ messages in thread
From: Leo Famulari @ 2018-03-16 14:57 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

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

On Thu, Mar 15, 2018 at 10:02:02PM +0100, Catonano wrote:
> after some time that I didn't try, I issued this command
> 
> ~$ guix system vm ~/configs/vm-config-desktop.scm \
> >    --image-size=10GB \
> >    --share=$HOME/transit=/transit
> 
> 
> and I got
> 
> 
> Backtrace:

What is the output of `guix --version`?

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

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

* Re: system vm fails
  2018-03-16 14:57 ` Leo Famulari
@ 2018-03-16 15:12   ` Catonano
  2018-03-16 15:36     ` Catonano
  0 siblings, 1 reply; 10+ messages in thread
From: Catonano @ 2018-03-16 15:12 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

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

2018-03-16 15:57 GMT+01:00 Leo Famulari <leo@famulari.name>:

> On Thu, Mar 15, 2018 at 10:02:02PM +0100, Catonano wrote:
> > after some time that I didn't try, I issued this command
> >
> > ~$ guix system vm ~/configs/vm-config-desktop.scm \
> > >    --image-size=10GB \
> > >    --share=$HOME/transit=/transit
> >
> >
> > and I got
> >
> >
> > Backtrace:
>
> What is the output of `guix --version`?
>


catonano@xps ~$ guix --version
guix (GNU Guix) 1b5905fe689716e73ad7defc1bf8c6a13966f3c1
Copyright (C) 2018 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.
catonano@xps ~$

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

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

* Re: system vm fails
  2018-03-16 15:12   ` Catonano
@ 2018-03-16 15:36     ` Catonano
  2018-03-16 17:04       ` Catonano
  0 siblings, 1 reply; 10+ messages in thread
From: Catonano @ 2018-03-16 15:36 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

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

2018-03-16 16:12 GMT+01:00 Catonano <catonano@gmail.com>:

>
>
> 2018-03-16 15:57 GMT+01:00 Leo Famulari <leo@famulari.name>:
>
>> On Thu, Mar 15, 2018 at 10:02:02PM +0100, Catonano wrote:
>> > after some time that I didn't try, I issued this command
>> >
>> > ~$ guix system vm ~/configs/vm-config-desktop.scm \
>> > >    --image-size=10GB \
>> > >    --share=$HOME/transit=/transit
>> >
>> >
>> > and I got
>> >
>> >
>> > Backtrace:
>>
>> What is the output of `guix --version`?
>>
>
>
> catonano@xps ~$ guix --version
> guix (GNU Guix) 1b5905fe689716e73ad7defc1bf8c6a13966f3c1
> Copyright (C) 2018 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.
> catonano@xps ~$
>
>

I just realized that

sudo guix pull

gives me

guix pull: error: could not find bootstrap binary 'guile-2.0.9.tar.xz' for
system 'x86_64-linux'

last time I used

sudo -E guix pull

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

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

* Re: system vm fails
  2018-03-16 15:36     ` Catonano
@ 2018-03-16 17:04       ` Catonano
  2018-03-16 17:14         ` Marius Bakke
  0 siblings, 1 reply; 10+ messages in thread
From: Catonano @ 2018-03-16 17:04 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

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

and from a checked out gix I get

~/projects/guix$ sudo ./pre-inst-env guix pull
guix pull: error: Guile-Git is missing but it is now required by 'guix
pull'.
Install it by running:

  guix package -i guile-git
  export
GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH
  export
GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/lib/guile/2.2/site-ccache:$GUILE_LOAD_COMPILED_PATH


2018-03-16 16:36 GMT+01:00 Catonano <catonano@gmail.com>:

>
>
> 2018-03-16 16:12 GMT+01:00 Catonano <catonano@gmail.com>:
>
>>
>>
>> 2018-03-16 15:57 GMT+01:00 Leo Famulari <leo@famulari.name>:
>>
>>> On Thu, Mar 15, 2018 at 10:02:02PM +0100, Catonano wrote:
>>> > after some time that I didn't try, I issued this command
>>> >
>>> > ~$ guix system vm ~/configs/vm-config-desktop.scm \
>>> > >    --image-size=10GB \
>>> > >    --share=$HOME/transit=/transit
>>> >
>>> >
>>> > and I got
>>> >
>>> >
>>> > Backtrace:
>>>
>>> What is the output of `guix --version`?
>>>
>>
>>
>> catonano@xps ~$ guix --version
>> guix (GNU Guix) 1b5905fe689716e73ad7defc1bf8c6a13966f3c1
>> Copyright (C) 2018 the Guix authors
>> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.h
>> tml>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.
>> catonano@xps ~$
>>
>>
>
> I just realized that
>
> sudo guix pull
>
> gives me
>
> guix pull: error: could not find bootstrap binary 'guile-2.0.9.tar.xz' for
> system 'x86_64-linux'
>
> last time I used
>
> sudo -E guix pull
>

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

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

* Re: system vm fails
  2018-03-16 17:04       ` Catonano
@ 2018-03-16 17:14         ` Marius Bakke
  2018-03-16 17:35           ` Catonano
  0 siblings, 1 reply; 10+ messages in thread
From: Marius Bakke @ 2018-03-16 17:14 UTC (permalink / raw)
  To: Catonano, Leo Famulari; +Cc: help-guix

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

Catonano <catonano@gmail.com> writes:

> and from a checked out gix I get
>
> ~/projects/guix$ sudo ./pre-inst-env guix pull
> guix pull: error: Guile-Git is missing but it is now required by 'guix
> pull'.
> Install it by running:
>
>   guix package -i guile-git
>   export
> GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH
>   export
> GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/lib/guile/2.2/site-ccache:$GUILE_LOAD_COMPILED_PATH

When using a git checkout, you must run "./configure [...]" again every
time you wish to add new libraries to the environment.

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

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

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

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

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

> Catonano <catonano@gmail.com> writes:
>
> > and from a checked out gix I get
> >
> > ~/projects/guix$ sudo ./pre-inst-env guix pull
> > guix pull: error: Guile-Git is missing but it is now required by 'guix
> > pull'.
> > Install it by running:
> >
> >   guix package -i guile-git
> >   export
> > GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.2:$
> GUILE_LOAD_PATH
> >   export
> > GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/lib/guile/
> 2.2/site-ccache:$GUILE_LOAD_COMPILED_PATH
>
> When using a git checkout, you must run "./configure [...]" again every
> time you wish to add new libraries to the environment.
>


thank you

that didn't help :-/

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

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

* Re: system vm fails
  2018-03-16 17:35           ` Catonano
@ 2018-03-16 19:17             ` Catonano
  0 siblings, 0 replies; 10+ messages in thread
From: Catonano @ 2018-03-16 19:17 UTC (permalink / raw)
  To: Marius Bakke; +Cc: help-guix

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

2018-03-16 18:35 GMT+01:00 Catonano <catonano@gmail.com>:

>
>
> 2018-03-16 18:14 GMT+01:00 Marius Bakke <mbakke@fastmail.com>:
>
>> Catonano <catonano@gmail.com> writes:
>>
>> > and from a checked out gix I get
>> >
>> > ~/projects/guix$ sudo ./pre-inst-env guix pull
>> > guix pull: error: Guile-Git is missing but it is now required by 'guix
>> > pull'.
>> > Install it by running:
>> >
>> >   guix package -i guile-git
>> >   export
>> > GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.2:$GU
>> ILE_LOAD_PATH
>> >   export
>> > GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/lib/guile/2.2/
>> site-ccache:$GUILE_LOAD_COMPILED_PATH
>>
>> When using a git checkout, you must run "./configure [...]" again every
>> time you wish to add new libraries to the environment.
>>
>
>
> thank you
>
> that didn't help :-/
>




Ok

Chris Webber saved my day

I hhad messed p the permissions on ~/.cache/guix somehow

He suggested me to restore them and al of a sudden everything worked again !

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

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

end of thread, other threads:[~2018-03-16 19:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-15 21:02 system vm fails Catonano
2018-03-15 21:58 ` Catonano
2018-03-15 22:14   ` Catonano
2018-03-16 14:57 ` Leo Famulari
2018-03-16 15:12   ` Catonano
2018-03-16 15:36     ` Catonano
2018-03-16 17:04       ` Catonano
2018-03-16 17:14         ` Marius Bakke
2018-03-16 17:35           ` Catonano
2018-03-16 19:17             ` Catonano

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.