From: ludo@gnu.org (Ludovic Courtès)
To: Leo Famulari <leo@famulari.name>
Cc: 23475@debbugs.gnu.org
Subject: bug#23475: no code for module (guix ui)
Date: Sun, 22 May 2016 23:36:38 +0200 [thread overview]
Message-ID: <8760u5pyft.fsf@gnu.org> (raw)
In-Reply-To: <87k2j45y59.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 08 May 2016 18:10:10 +0200")
Ping! :-)
Ludo’.
ludo@gnu.org (Ludovic Courtès) skribis:
> Leo Famulari <leo@famulari.name> skribis:
>
>> I had rebuilt from the git tree recently, but I'm not sure exactly when.
>>
>> It goes away after I rebuild.
>>
>> ---
>> $ ./pre-inst-env guix build hello
>> Backtrace:
>> In ice-9/boot-9.scm:
>> 157: 12 [catch #t #<catch-closure 19e4ba0> ...]
>> In unknown file:
>> ?: 11 [apply-smob/1 #<catch-closure 19e4ba0>]
>> In ice-9/boot-9.scm:
>> 63: 10 [call-with-prompt prompt0 ...]
>> In ice-9/eval.scm:
>> 432: 9 [eval # #]
>> In ice-9/boot-9.scm:
>> 2401: 8 [save-module-excursion #<procedure 1a01940 at ice-9/boot-9.scm:4045:3 ()>]
>> 4050: 7 [#<procedure 1a01940 at ice-9/boot-9.scm:4045:3 ()>]
>> 1724: 6 [%start-stack load-stack ...]
>> 1729: 5 [#<procedure 1a18ea0 ()>]
>> In unknown file:
>> ?: 4 [primitive-load "/gnu/store/9p7mf2a21c6a5k06jgbb9yg9abx7ilh9-guix-0.10.0-0.8062/bin/.guix-real"]
>
> Why is this file being loaded, instead of scripts/guix? Could it be
> that scripts/guix was missing at that time?
>
> Maybe it would be wise to apply a patch as attached to prevent such
> situations from arising. WDYT?
>
> Thanks,
> Ludo’.
>
> --- a/build-aux/pre-inst-env.in
> +++ b/build-aux/pre-inst-env.in
> @@ -1,7 +1,7 @@
> #!/bin/sh
>
> # GNU Guix --- Functional package management for GNU
> -# Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
> +# Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
> #
> # This file is part of GNU Guix.
> #
> @@ -68,4 +68,11 @@ export NIX_HASH
> GUIX_UNINSTALLED=1
> export GUIX_UNINSTALLED
>
> +guix="$abs_top_builddir/scripts/guix"
> +if [ ! -x "$guix" ]
> +then
> + echo "'$guix' is missing, please run 'make'." >&2
> + exit 1
> +fi
> +
> exec "$@"
next prev parent reply other threads:[~2016-05-22 21:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-07 2:59 bug#23475: no code for module (guix ui) Leo Famulari
2016-05-08 16:10 ` Ludovic Courtès
2016-05-22 21:36 ` Ludovic Courtès [this message]
2016-05-23 3:22 ` Leo Famulari
2016-07-31 16:40 ` Ludovic Courtès
2016-08-02 1:30 ` Leo Famulari
2016-08-02 9:17 ` 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=8760u5pyft.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=23475@debbugs.gnu.org \
--cc=leo@famulari.name \
/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).