GNU bug report logs -
#35138
guix system search needs installer
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35138 in the body.
You can then email your comments to 35138 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#35138
; Package
guix
.
(Thu, 04 Apr 2019 08:56:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 04 Apr 2019 08:56:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
during the use of the openSUSE package of Guix I found a little "bug".
Running "guix system search" results in:
guix system: warning: failed to load '(gnu system install)':
no code for module (gnu installer)
So I packaged guile-newt and configured the guix package with
"--enable-installer". Now this problem is gone :)
I just wonder if we should document this, so that it's clear
"--enable-installer" is not only needed for the installer. Or maybe
there is a way to remove the dependency for "guix system search" on (gnu
installer).
~Jonathan
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Thu, 04 Apr 2019 15:51:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
:
bug acknowledged by developer.
(Thu, 04 Apr 2019 15:51:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 35138-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Jonathan Brielmaier <jonathan.brielmaier <at> web.de> skribis:
> during the use of the openSUSE package of Guix I found a little "bug".
> Running "guix system search" results in:
>
> guix system: warning: failed to load '(gnu system install)':
> no code for module (gnu installer)
(Note that it’s a warning, not an error.)
I cannot reproduce this with a ‘guix’ coming from ‘guix pull’:
--8<---------------cut here---------------start------------->8---
$ guix system search . > /dev/null
$ echo $?
0
--8<---------------cut here---------------end--------------->8---
Indeed, the problem came from the makefiles, and is fixed in commit
a7ad4505b7a09f32e2727a333e11716739efb713.
Thanks!
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35138
; Package
guix
.
(Fri, 12 Apr 2019 10:52:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 35138 <at> debbugs.gnu.org (full text, mbox):
I think your fix in commit a7ad4505b7a09f32e2727a333e11716739efb713
introduced another bug.
So building guix now with "./configure --enable-installer" leads to this
error:
------------------------------------------------------------------
+ make clean
Makefile:5388: *** missing separator. Stop.
+ make -j8
Makefile:5388: *** missing separator. Stop.
------------------------------------------------------------------
The resulting Makefile looks as follow:
------------------------------------------------------------------
5384 scripts/guix: scripts/guix.in Makefile
5385 $(AM_V_at)rm -f $@ $@-t
5386 $(AM_V_at)$(MKDIR_P) "$(@D)"
5387 $(AM_V_GEN)$(do_subst) < "$(srcdir)/$@.in" > "$@-t"
5388 $(AM_V_at)chmod a+x,a-w "$@-t" && mv -f "$@-t" "$@"
5389 elif !ENABLE_INSTALLER
5390
------------------------------------------------------------------
My assumption is that the ENABLE_INSTALLER statement in gnu/local.mk
doesn't get evaluated "correctly".
------------------------------------------------------------------
621 # Always ship the installer modules but compile them only when
622 # ENABLE_INSTALLER is true.
623 if ENABLE_INSTALLER
624 GNU_SYSTEM_MODULES += $(INSTALLER_MODULES)
625 elif !ENABLE_INSTALLER
626 MODULES_NOT_COMPILED += $(INSTALLER_MODULES)
627 endif
------------------------------------------------------------------
With "./configure --disable-installer" the line 5389 in Makefile is
commented out.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35138
; Package
guix
.
(Fri, 12 Apr 2019 15:58:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 35138-done <at> debbugs.gnu.org (full text, mbox):
Hello!
Jonathan Brielmaier <jonathan.brielmaier <at> web.de> skribis:
> So building guix now with "./configure --enable-installer" leads to this
> error:
> ------------------------------------------------------------------
> + make clean
> Makefile:5388: *** missing separator. Stop.
> + make -j8
> Makefile:5388: *** missing separator. Stop.
> ------------------------------------------------------------------
>
> The resulting Makefile looks as follow:
> ------------------------------------------------------------------
> 5384 scripts/guix: scripts/guix.in Makefile
> 5385 $(AM_V_at)rm -f $@ $@-t
>
> 5386 $(AM_V_at)$(MKDIR_P) "$(@D)"
>
> 5387 $(AM_V_GEN)$(do_subst) < "$(srcdir)/$@.in" > "$@-t"
>
> 5388 $(AM_V_at)chmod a+x,a-w "$@-t" && mv -f "$@-t" "$@"
>
> 5389 elif !ENABLE_INSTALLER
>
> 5390
> ------------------------------------------------------------------
Oops, commit c8e070dad70cbc13b6f77d4f20d7d21d3931a835 should fix it.
Thanks for the report!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 11 May 2019 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 344 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.