all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gc failing
@ 2018-06-25 15:22 Hinko Kocevar
  2018-06-25 16:30 ` Hinko Kocevar
  0 siblings, 1 reply; 5+ messages in thread
From: Hinko Kocevar @ 2018-06-25 15:22 UTC (permalink / raw)
  To: help-guix@gnu.org

Hi,

I'm exploring the guix a bit for a project at hand.
I'm trying to wrap my head around the whole thing so bear with me. I was quite puzzled by the Schema at first, coming from C/Python here, but after a couple of days I'm doing some serious hacking by adding new packages to local guix checkout.. 

I have checked out git tree and managed to get development going - I can see stuff appear in the store!!

For some reason I started getting gc errors as these:

hinxx@obzen ~/guix/guix.git [dev]$ ./pre-inst-env guix gc --list-dead
finding garbage collector roots...
guix gc: error: build failed: program `/gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.14.0/libexec/guix/list-runtime-roots' failed with exit code 1

I was removing some stale entries as per manual.

A general question, should I worry about all the builds of the package in store for the one I'm developing?

Thank you in advance,
Hinko

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

* Re: gc failing
  2018-06-25 15:22 gc failing Hinko Kocevar
@ 2018-06-25 16:30 ` Hinko Kocevar
  2018-06-26 11:37   ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Hinko Kocevar @ 2018-06-25 16:30 UTC (permalink / raw)
  To: help-guix@gnu.org

More info from the guix-daemon console at the time of the failure:

accepted connection from pid 4357, user hinxx
guile: warning: failed to install locale
Backtrace:
           8 (apply-smob/1 #<catch-closure 1648a20>)
In ice-9/boot-9.scm:
    713:2  7 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
    619:8  6 (_ #(#(#<directory (guile-user) 16fd140>)))
In ice-9/boot-9.scm:
   2316:4  5 (save-module-excursion _)
  3823:12  4 (_)
In /gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.14.0/libexec/guix/list-runtime-roots:
   146:11  3 (_)
In srfi/srfi-1.scm:
   697:23  2 (filter-map #<procedure 186c120 at /gnu/store/pii5ci?> . #)
In /gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.14.0/libexec/guix/list-runtime-roots:
   139:38  1 (_ "/gnu/store")
In unknown file:
           0 (string-drop "/gnu/store" 11)

ERROR: In procedure string-drop:
ERROR: Value out of range 0 to 10: 11


Hope this helps.
/Hinko
________________________________________
From: Help-Guix <help-guix-bounces+hinko.kocevar=esss.se@gnu.org> on behalf of Hinko Kocevar <Hinko.Kocevar@esss.se>
Sent: Monday, June 25, 2018 5:22:00 PM
To: help-guix@gnu.org
Subject: gc failing

Hi,

I'm exploring the guix a bit for a project at hand.
I'm trying to wrap my head around the whole thing so bear with me. I was quite puzzled by the Schema at first, coming from C/Python here, but after a couple of days I'm doing some serious hacking by adding new packages to local guix checkout..

I have checked out git tree and managed to get development going - I can see stuff appear in the store!!

For some reason I started getting gc errors as these:

hinxx@obzen ~/guix/guix.git [dev]$ ./pre-inst-env guix gc --list-dead
finding garbage collector roots...
guix gc: error: build failed: program `/gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.14.0/libexec/guix/list-runtime-roots' failed with exit code 1

I was removing some stale entries as per manual.

A general question, should I worry about all the builds of the package in store for the one I'm developing?

Thank you in advance,
Hinko

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

* Re: gc failing
  2018-06-25 16:30 ` Hinko Kocevar
@ 2018-06-26 11:37   ` Ludovic Courtès
  2018-06-26 12:22     ` Hinko Kocevar
  2018-06-26 12:26     ` Hinko Kocevar
  0 siblings, 2 replies; 5+ messages in thread
From: Ludovic Courtès @ 2018-06-26 11:37 UTC (permalink / raw)
  To: Hinko Kocevar; +Cc: help-guix@gnu.org

Hello,

Hinko Kocevar <Hinko.Kocevar@esss.se> skribis:

> Backtrace:
>            8 (apply-smob/1 #<catch-closure 1648a20>)
> In ice-9/boot-9.scm:
>     713:2  7 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
> In ice-9/eval.scm:
>     619:8  6 (_ #(#(#<directory (guile-user) 16fd140>)))
> In ice-9/boot-9.scm:
>    2316:4  5 (save-module-excursion _)
>   3823:12  4 (_)
> In /gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.14.0/libexec/guix/list-runtime-roots:
>    146:11  3 (_)
> In srfi/srfi-1.scm:
>    697:23  2 (filter-map #<procedure 186c120 at /gnu/store/pii5ci?> . #)
> In /gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.14.0/libexec/guix/list-runtime-roots:
>    139:38  1 (_ "/gnu/store")
> In unknown file:
>            0 (string-drop "/gnu/store" 11)
>
> ERROR: In procedure string-drop:
> ERROR: Value out of range 0 to 10: 11

This was fixed shortly after the 0.14.0 release:
<https://bugs.gnu.org/29862>.

I’d encourage you to upgrade your daemon.  If you installed Guix using
the binary tarball on a “foreign distro”, you can do that by running
these commands as root:

  guix pull
  guix package -u guix
  systemctl restart guix-daemon.service  # or similar

HTH!

Ludo’.

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

* Re: gc failing
  2018-06-26 11:37   ` Ludovic Courtès
@ 2018-06-26 12:22     ` Hinko Kocevar
  2018-06-26 12:26     ` Hinko Kocevar
  1 sibling, 0 replies; 5+ messages in thread
From: Hinko Kocevar @ 2018-06-26 12:22 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix@gnu.org

Hi Ludovic,

nice. .. guix pull is already underway .. it seems it want to compile all the packages... no problem.

/hinko
________________________________________
From: Ludovic Courtès <ludo@gnu.org>
Sent: Tuesday, June 26, 2018 1:37:51 PM
To: Hinko Kocevar
Cc: help-guix@gnu.org
Subject: Re: gc failing

Hello,

Hinko Kocevar <Hinko.Kocevar@esss.se> skribis:

> Backtrace:
>            8 (apply-smob/1 #<catch-closure 1648a20>)
> In ice-9/boot-9.scm:
>     713:2  7 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
> In ice-9/eval.scm:
>     619:8  6 (_ #(#(#<directory (guile-user) 16fd140>)))
> In ice-9/boot-9.scm:
>    2316:4  5 (save-module-excursion _)
>   3823:12  4 (_)
> In /gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.14.0/libexec/guix/list-runtime-roots:
>    146:11  3 (_)
> In srfi/srfi-1.scm:
>    697:23  2 (filter-map #<procedure 186c120 at /gnu/store/pii5ci?> . #)
> In /gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.14.0/libexec/guix/list-runtime-roots:
>    139:38  1 (_ "/gnu/store")
> In unknown file:
>            0 (string-drop "/gnu/store" 11)
>
> ERROR: In procedure string-drop:
> ERROR: Value out of range 0 to 10: 11

This was fixed shortly after the 0.14.0 release:
<https://bugs.gnu.org/29862>.

I’d encourage you to upgrade your daemon.  If you installed Guix using
the binary tarball on a “foreign distro”, you can do that by running
these commands as root:

  guix pull
  guix package -u guix
  systemctl restart guix-daemon.service  # or similar

HTH!

Ludo’.

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

* Re: gc failing
  2018-06-26 11:37   ` Ludovic Courtès
  2018-06-26 12:22     ` Hinko Kocevar
@ 2018-06-26 12:26     ` Hinko Kocevar
  1 sibling, 0 replies; 5+ messages in thread
From: Hinko Kocevar @ 2018-06-26 12:26 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix@gnu.org

Done!

[hinxx@obzen guix]**GUIX**$ guix --version
guix (GNU Guix) 7c7323e432620a42f896056f076020a748c1fd6d
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.

Thanks!
/hinko
________________________________________
From: Ludovic Courtès <ludo@gnu.org>
Sent: Tuesday, June 26, 2018 1:37 PM
To: Hinko Kocevar
Cc: help-guix@gnu.org
Subject: Re: gc failing

Hello,

Hinko Kocevar <Hinko.Kocevar@esss.se> skribis:

> Backtrace:
>            8 (apply-smob/1 #<catch-closure 1648a20>)
> In ice-9/boot-9.scm:
>     713:2  7 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
> In ice-9/eval.scm:
>     619:8  6 (_ #(#(#<directory (guile-user) 16fd140>)))
> In ice-9/boot-9.scm:
>    2316:4  5 (save-module-excursion _)
>   3823:12  4 (_)
> In /gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.14.0/libexec/guix/list-runtime-roots:
>    146:11  3 (_)
> In srfi/srfi-1.scm:
>    697:23  2 (filter-map #<procedure 186c120 at /gnu/store/pii5ci?> . #)
> In /gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.14.0/libexec/guix/list-runtime-roots:
>    139:38  1 (_ "/gnu/store")
> In unknown file:
>            0 (string-drop "/gnu/store" 11)
>
> ERROR: In procedure string-drop:
> ERROR: Value out of range 0 to 10: 11

This was fixed shortly after the 0.14.0 release:
<https://bugs.gnu.org/29862>.

I’d encourage you to upgrade your daemon.  If you installed Guix using
the binary tarball on a “foreign distro”, you can do that by running
these commands as root:

  guix pull
  guix package -u guix
  systemctl restart guix-daemon.service  # or similar

HTH!

Ludo’.

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

end of thread, other threads:[~2018-06-26 12:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-25 15:22 gc failing Hinko Kocevar
2018-06-25 16:30 ` Hinko Kocevar
2018-06-26 11:37   ` Ludovic Courtès
2018-06-26 12:22     ` Hinko Kocevar
2018-06-26 12:26     ` Hinko Kocevar

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.