unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 29862-done@debbugs.gnu.org
Subject: bug#29862: list-runtime-root is broken
Date: Sun, 31 Dec 2017 11:19:13 +0100	[thread overview]
Message-ID: <87fu7r2o9q.fsf@gnu.org> (raw)
In-Reply-To: <20171227100743.44be1b2b@scratchpost.org> (Danny Milosavljevic's message of "Wed, 27 Dec 2017 10:07:43 +0100")

Hi,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> /gnu/store/mwvmdfksm9iwj1symfiinlikiz56s2nl-guix-0.13.0-9.ff23b47/libexec/guix/list-runtime-roots
> ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
> ;;;       or pass the --no-auto-compile argument to disable.
> ;;; compiling /gnu/store/mwvmdfksm9iwj1symfiinlikiz56s2nl-guix-0.13.0-9.ff23b47/libexec/guix/list-runtime-roots
> ;;; compiled /home/dannym/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/mwvmdfksm9iwj1symfiinlikiz56s2nl-guix-0.13.0-9.ff23b47/libexec/guix/list-runtime-roots.go
> Backtrace:
>            8 (apply-smob/1 #<catch-closure c8d780>)
> 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) d10140>)))
> In ice-9/boot-9.scm:
>    2316:4  5 (save-module-excursion _)
>   3823:12  4 (_)
> In /gnu/store/mwvmdfksm9iwj1symfiinlikiz56s2nl-guix-0.13.0-9.ff23b47/libexec/guix/list-runtime-roots:
>    145:11  3 (_)
> In srfi/srfi-1.scm:
>    697:23  2 (filter-map #<procedure 12ec540 at /gnu/store/mwvmdf…> . #)
> In /gnu/store/mwvmdfksm9iwj1symfiinlikiz56s2nl-guix-0.13.0-9.ff23b47/libexec/guix/list-runtime-roots:
>    138: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

Good catch!  I believe this is fixed by
091191c3dcbfb9f01070d26bf15cb2c4dd07b1b5.

Thanks,
Ludo’.

      reply	other threads:[~2017-12-31 10:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-27  9:07 bug#29862: list-runtime-root is broken Danny Milosavljevic
2017-12-31 10:19 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fu7r2o9q.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=29862-done@debbugs.gnu.org \
    --cc=dannym@scratchpost.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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).