GNU bug report logs -
#23475
no code for module (guix ui)
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Sat, 7 May 2016 03:00:02 UTC
Severity: normal
Tags: moreinfo, unreproducible
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23475 in the body.
You can then email your comments to 23475 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#23475
; Package
guix
.
(Sat, 07 May 2016 03:00:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo Famulari <leo <at> famulari.name>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 07 May 2016 03:00:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From commit bdb2d56ee (gnu: mutt: Update to 1.6.1.), I applied a patch
from guix-devel [0], tried to build a package, and got a backtrace as
shown below.
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"]
In ice-9/eval.scm:
411: 3 [eval # #]
387: 2 [eval # #]
In ice-9/boot-9.scm:
2867: 1 [resolve-interface (guix ui) #:select ...]
In unknown file:
?: 0 [scm-error misc-error #f "~A ~S" ("no code for module" (guix ui)) #f]
ERROR: In procedure scm-error:
ERROR: no code for module (guix ui)
---
[0] I've had this issue several times recently, without this patch.
It was this patch:
http://lists.gnu.org/archive/html/guix-devel/2016-05/msg00204.html
It commits as 13416a10afdbad6546ef7943d93aba795ee5703b
Information forwarded
to
bug-guix <at> gnu.org
:
bug#23475
; Package
guix
.
(Sun, 08 May 2016 16:11:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 23475 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Leo Famulari <leo <at> 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’.
[Message part 2 (text/x-patch, inline)]
--- 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 <at> gnu.org>
+# Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo <at> 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 "$@"
Information forwarded
to
bug-guix <at> gnu.org
:
bug#23475
; Package
guix
.
(Sun, 22 May 2016 21:37:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 23475 <at> debbugs.gnu.org (full text, mbox):
Ping! :-)
Ludo’.
ludo <at> gnu.org (Ludovic Courtès) skribis:
> Leo Famulari <leo <at> 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 <at> gnu.org>
> +# Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo <at> 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 "$@"
Information forwarded
to
bug-guix <at> gnu.org
:
bug#23475
; Package
guix
.
(Mon, 23 May 2016 03:23:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 23475 <at> debbugs.gnu.org (full text, mbox):
On Sun, May 22, 2016 at 11:36:38PM +0200, Ludovic Courtès wrote:
> >> ?: 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?
It happened again, and scripts/guix was present. Next time I will take a
snapshot of the broken state.
Added tag(s) moreinfo.
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Tue, 24 May 2016 22:00:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#23475
; Package
guix
.
(Sun, 31 Jul 2016 16:41:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 23475 <at> debbugs.gnu.org (full text, mbox):
Leo Famulari <leo <at> famulari.name> skribis:
> On Sun, May 22, 2016 at 11:36:38PM +0200, Ludovic Courtès wrote:
>> >> ?: 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?
>
> It happened again, and scripts/guix was present. Next time I will take a
> snapshot of the broken state.
Any updates? :-)
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#23475
; Package
guix
.
(Tue, 02 Aug 2016 01:31:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 23475 <at> debbugs.gnu.org (full text, mbox):
On Sun, Jul 31, 2016 at 06:40:00PM +0200, Ludovic Courtès wrote:
> Any updates? :-)
I've noticed that it happens if I do this:
$ guix gc && ./pre-inst-env guix build foo
If I then do the following, it works again:
$ guix environment guix
$ exit
$ ./pre-inst-env guix build foo
I don't have all of the Guix dependencies in my profile or my Debian
environment (I see this on my Debian machine), so I guess that something
important is garbage collected, but I haven't figured out what yet.
So, I think it's not much of a bug, since I am deliberately invoking the
garbage collector. WDYT?
Information forwarded
to
bug-guix <at> gnu.org
:
bug#23475
; Package
guix
.
(Tue, 02 Aug 2016 09:18:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 23475 <at> debbugs.gnu.org (full text, mbox):
Leo Famulari <leo <at> famulari.name> skribis:
> On Sun, Jul 31, 2016 at 06:40:00PM +0200, Ludovic Courtès wrote:
>> Any updates? :-)
>
> I've noticed that it happens if I do this:
>
> $ guix gc && ./pre-inst-env guix build foo
>
> If I then do the following, it works again:
>
> $ guix environment guix
> $ exit
> $ ./pre-inst-env guix build foo
>
> I don't have all of the Guix dependencies in my profile or my Debian
> environment (I see this on my Debian machine), so I guess that something
> important is garbage collected, but I haven't figured out what yet.
>
> So, I think it's not much of a bug, since I am deliberately invoking the
> garbage collector. WDYT?
Possibly. If you use ./configure -C, the ‘config.cache’ file also gets
stale after GC. But even if you don’t, (guix config) might be referring
to things that have been collected, so you have to:
rm -f config.cache && ./configure
I’m closing this bug, but do reopen it if you think something’s really
broken. :-)
Thanks!
Ludo’.
Added tag(s) unreproducible.
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Tue, 02 Aug 2016 22:34:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
23475 <at> debbugs.gnu.org and Leo Famulari <leo <at> famulari.name>
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Tue, 02 Aug 2016 22:34:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 31 Aug 2016 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 290 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.