From: ludo@gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita@karetnikov.org>
Cc: bug-guix@gnu.org
Subject: Re: Binary substituter
Date: Tue, 23 Apr 2013 13:41:59 +0200 [thread overview]
Message-ID: <87k3ntxym0.fsf@gnu.org> (raw)
In-Reply-To: <87vc7drd4o.fsf@karetnikov.org> (Nikita Karetnikov's message of "Tue, 23 Apr 2013 10:10:15 +0400")
Nikita Karetnikov <nikita@karetnikov.org> skribis:
> I suppose it shouldn't fail like this:
Indeed. :-)
> # ./pre-inst-env guix package -i gnutls
> accepted connection from pid 23127, uid 0
> The following package will be installed:
> gnutls-3.1.9.1 /nix/store/7k65yjwz4xs6vfyqggi77lbacj5hwcz7-gnutls-3.1.9.1
>
> guix package: error: build failed: substituter `/home/guix-test/nix/scripts/substitute-binary' failed: Backtrace:
> In ice-9/boot-9.scm:
> 157: 9 [catch #t #<catch-closure 9258ef0> ...]
> In unknown file:
> ?: 8 [apply-smob/1 #<catch-closure 9258ef0>]
> In ice-9/boot-9.scm:
> 63: 7 [call-with-prompt prompt0 ...]
> In ice-9/eval.scm:
> 432: 6 [eval # #]
> In ice-9/boot-9.scm:
> 2320: 5 [save-module-excursion #<procedure 91a3e80 at ice-9/boot-9.scm:3961:3 ()>]
> 3966: 4 [#<procedure 91a3e80 at ice-9/boot-9.scm:3961:3 ()>]
> In unknown file:
> ?: 3 [load-compiled/vm "/root/.cache/guile/ccache/2.0-LE-4-2.0/home/guix-test/scripts/guix.go"]
> In guix/ui.scm:
> 403: 2 [guix-main "/home/guix-test/scripts/guix" "substitute-binary" "--query"]
> In guix/scripts/substitute-binary.scm:
> 422: 1 [guix-substitute-binary "--query"]
> In ice-9/threads.scm:
> 99: 0 [loop (#)]
>
> ice-9/threads.scm:99:22: In procedure loop:
> ice-9/threads.scm:99:22: In procedure string-append: Wrong type (expecting string): #f
Unfortunately, the backtrace isn’t helpful because of threads, and I
can’t reproduce it.
Could you replace ‘par-map’ with ‘map’ and try again?
You can also add ‘pk’ calls in ‘lookup-narinfo’ and similar to get more
details.
TIA,
Ludo’.
next prev parent reply other threads:[~2013-04-23 11:42 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-03 22:14 Binary substituter Ludovic Courtès
2013-04-12 17:08 ` Ludovic Courtès
2013-04-15 21:54 ` Ludovic Courtès
2013-04-16 22:10 ` Ludovic Courtès
2013-04-18 16:44 ` Andreas Enge
2013-04-18 20:56 ` Ludovic Courtès
2013-04-19 7:38 ` Andreas Enge
2013-04-19 10:02 ` Ludovic Courtès
2013-04-18 16:49 ` Nikita Karetnikov
2013-04-18 20:54 ` Ludovic Courtès
2013-04-23 6:10 ` Nikita Karetnikov
2013-04-23 7:10 ` Nikita Karetnikov
2013-04-23 11:41 ` Ludovic Courtès [this message]
2013-04-18 20:52 ` Ludovic Courtès
2013-04-19 7:41 ` Andreas Enge
2013-04-25 21:35 ` Ludovic Courtès
2013-04-26 16:15 ` Andreas Enge
2013-04-26 20:18 ` Ludovic Courtès
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=87k3ntxym0.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=bug-guix@gnu.org \
--cc=nikita@karetnikov.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).