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...@gnu.org> on behalf of 
Hinko Kocevar <hinko.koce...@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


Reply via email to