GNU bug report logs -
#33279
guile-readline: error: no code for module
Previous Next
Reported by: swedebugia <swedebugia <at> riseup.net>
Date: Mon, 5 Nov 2018 20:16:02 UTC
Severity: normal
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 33279 in the body.
You can then email your comments to 33279 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#33279
; Package
guix
.
(Mon, 05 Nov 2018 20:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
swedebugia <swedebugia <at> riseup.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 05 Nov 2018 20:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi
Found another error :p
This time after installing guile-readline it is not imediately available
to guile even though it is available in the path. Weird.
Install:
sdb <at> komputilo ~$ guix package -i guile-readline
--substitute-urls=http://berlin.guixsd.org
The following package will be installed:
guile-readline 2.2.3
/gnu/store/i0nqs30zn0bdij5zwagqx1chcdk460ai-guile-readline-2.2.3
substitute: updating substitutes from 'http://berlin.guixsd.org'... 100.0%
The following derivations will be built:
/gnu/store/rfaxkh0khj8b6f2fgj6s0yq1s7db4aak-profile.drv
/gnu/store/y6vzf4vlmigyhvy1mh0s1ybbajaiq9dr-ca-certificate-bundle.drv
/gnu/store/kybcp4pvjvz7xiwgzyv5x93ccszp1zv4-info-dir.drv
/gnu/store/90a77pf8006r914ma7f4wzn95ncqr3lq-fonts-dir.drv
/gnu/store/m1scixlkly42c6ckrn833h1kklbw0b41-manual-database.drv
Creating manual page database...
190 entries processed in 1.0 s
7 packages in profile
**NOTE: no env variables suggested**
Try to use it:
$ guile -c '(use-modules (ice-9 readline))'
Backtrace:
13 (apply-smob/1 #<catch-closure 1ac4280>)
In ice-9/boot-9.scm:
705:2 12 (call-with-prompt ("prompt") #<procedure 1acf0a0 at ic…> …)
In ice-9/eval.scm:
619:8 11 (_ #(#(#<directory (guile-user) 1b83140>)))
In ice-9/command-line.scm:
181:18 10 (_ #<input: string 1ba0a80>)
In unknown file:
9 (eval (use-modules (ice-9 readline)) #<directory (guile…>)
In ice-9/eval.scm:
721:20 8 (primitive-eval (use-modules (ice-9 readline)))
In ice-9/psyntax.scm:
1235:36 7 (expand-top-sequence ((use-modules (ice-9 readline))) _ …)
1182:24 6 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
285:10 5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
In ice-9/boot-9.scm:
3365:20 4 (process-use-modules _)
222:17 3 (map1 (((ice-9 readline))))
3366:31 2 (_ ((ice-9 readline)))
2791:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
In unknown file:
0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)
ERROR: In procedure scm-error:
no code for module (ice-9 readline)
--
sdb <at> komputilo ~$ guix --version
guix (GNU Guix) 1f44934fb6e2cefccbecd4fa347025349fa9ff76
sdb <at> komputilo ~$ guix package -I
openssh 7.7p1 out
/gnu/store/1lp98789cd5h1f1hv8z9bhbirvnaax5x-openssh-7.7p1
nss 3.36.1 out /gnu/store/lv63vga40p1g9bc8c8zxsjybxmqsdrgz-nss-3.36.1
guile-readline 2.2.3 out
/gnu/store/i0nqs30zn0bdij5zwagqx1chcdk460ai-guile-readline-2.2.3
file 5.32 out /gnu/store/pky001r9bbcrqvv3gdgvjj8b56hhifpv-file-5.32
wget 1.19.5 out
/gnu/store/7jd4nbdamp5bjvvi9acnk4nkk2dzyi71-wget-1.19.5
git 2.18.0 out /gnu/store/w9qwlwpfmhkyj6rqk3rvkk1a89vmymqf-git-2.18.0
git 2.18.0 send-email
/gnu/store/pvj35w3xlfvxdw3gljxxba2xjm2v7958-git-2.18.0-send-email
sdb <at> komputilo ~$ guile --version
guile (GNU Guile) 2.2.3
sdb <at> komputilo ~$ env |grep guile
GUILE_LOAD_COMPILED_PATH=/run/current-system/profile/lib/guile/2.2/site-ccache:/run/current-system/profile/share/guile/site/2.2
GUILE_LOAD_PATH=/run/current-system/profile/share/guile/site/2.2
sdb <at> komputilo ~$ file
.guix-profile/lib/guile/2.2/site-ccache/ice-9/readline.go
.guix-profile/lib/guile/2.2/site-ccache/ice-9/readline.go: ELF 64-bit
LSB shared object, no machine, version 1 (embedded), dynamically linked,
with debug_info, not stripped
--
exporting these variables did not help:
$ export GUILE_LOAD_PATH=~/.guix-profile/lib/guile/2.2/:$GUILE_LOAD_PATH
$ export
GUILE_LOAD_COMPILED_PATH=~/.guix-profile/lib/guile/2.2/:$GUILE_LOAD_COMPILED_PATH
Any ideas?
--
Cheers
Swedebugia
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Tue, 06 Nov 2018 11:37:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
swedebugia <swedebugia <at> riseup.net>
:
bug acknowledged by developer.
(Tue, 06 Nov 2018 11:37:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 33279-done <at> debbugs.gnu.org (full text, mbox):
Hello,
swedebugia <swedebugia <at> riseup.net> skribis:
> exporting these variables did not help:
>
> $ export GUILE_LOAD_PATH=~/.guix-profile/lib/guile/2.2/:$GUILE_LOAD_PATH
> $ export
> GUILE_LOAD_COMPILED_PATH=~/.guix-profile/lib/guile/2.2/:$GUILE_LOAD_COMPILED_PATH
Rather you need:
export GUILE_LOAD_PATH=~/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH
export GUILE_LOAD_COMPILED_PATH=~/.guix-profile/lib/guile/2.2/site-ccache:$GUILE_LOAD_COMPILED_PATH
Better yet, you can install both ‘guile’ and ‘guile-readline’ in the
same profile and you’ll get a message telling you what to do:
--8<---------------cut here---------------start------------->8---
$ guix package -p foo -i guile guile-readline
[...]
La jenaj medi-variablaj difinoj povos esti necesaj:
export PATH="foo/bin${PATH:+:}$PATH"
export GUILE_LOAD_PATH="foo/share/guile/site/2.2${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
export GUILE_LOAD_COMPILED_PATH="foo/lib/guile/2.2/site-ccache:foo/share/guile/site/2.2${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
--8<---------------cut here---------------end--------------->8---
HTH!
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#33279
; Package
guix
.
(Tue, 06 Nov 2018 19:06:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 33279-done <at> debbugs.gnu.org (full text, mbox):
Saluton :)
On 2018-11-06 12:36, Ludovic Courtès wrote:
> Hello,
>
> swedebugia <swedebugia <at> riseup.net> skribis:
>
>> exporting these variables did not help:
>>
>> $ export GUILE_LOAD_PATH=~/.guix-profile/lib/guile/2.2/:$GUILE_LOAD_PATH
>> $ export
>> GUILE_LOAD_COMPILED_PATH=~/.guix-profile/lib/guile/2.2/:$GUILE_LOAD_COMPILED_PATH
> Rather you need:
>
> export GUILE_LOAD_PATH=~/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH
> export GUILE_LOAD_COMPILED_PATH=~/.guix-profile/lib/guile/2.2/site-ccache:$GUILE_LOAD_COMPILED_PATH
>
> Better yet, you can install both ‘guile’ and ‘guile-readline’ in the
> same profile and you’ll get a message telling you what to do:
Thanks for the tip! I only installed guile-readline and it did not emit
any environment variable suggestions.
Could we make all guile-* packages emit this suggestion?
--
Cheers
Swedebugia
Information forwarded
to
bug-guix <at> gnu.org
:
bug#33279
; Package
guix
.
(Tue, 06 Nov 2018 20:15:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 33279-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
swedebugia <swedebugia <at> riseup.net> writes:
> Saluton :)
>
> On 2018-11-06 12:36, Ludovic Courtès wrote:
>> Hello,
>>
>> swedebugia <swedebugia <at> riseup.net> skribis:
>>
>>> exporting these variables did not help:
>>>
>>> $ export GUILE_LOAD_PATH=~/.guix-profile/lib/guile/2.2/:$GUILE_LOAD_PATH
>>> $ export
>>> GUILE_LOAD_COMPILED_PATH=~/.guix-profile/lib/guile/2.2/:$GUILE_LOAD_COMPILED_PATH
>> Rather you need:
>>
>> export GUILE_LOAD_PATH=~/.guix-profile/share/guile/site/2.2:$GUILE_LOAD_PATH
>> export GUILE_LOAD_COMPILED_PATH=~/.guix-profile/lib/guile/2.2/site-ccache:$GUILE_LOAD_COMPILED_PATH
>>
>> Better yet, you can install both ‘guile’ and ‘guile-readline’ in the
>> same profile and you’ll get a message telling you what to do:
>
> Thanks for the tip! I only installed guile-readline and it did not emit
> any environment variable suggestions.
>
> Could we make all guile-* packages emit this suggestion?
This limitation is the same as <https://bugs.gnu.org/22138>.
Alas, no good solution have surfaced. Perhaps we need a
"propagated-search-paths" package record or similar?
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#33279
; Package
guix
.
(Wed, 07 Nov 2018 16:41:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 33279-done <at> debbugs.gnu.org (full text, mbox):
Marius Bakke <mbakke <at> fastmail.com> skribis:
> swedebugia <swedebugia <at> riseup.net> writes:
[...]
>> Could we make all guile-* packages emit this suggestion?
>
> This limitation is the same as <https://bugs.gnu.org/22138>.
It’s actually a different issue here: the profile contains packages that
provide share/guile/2.2, but the same profile doesn’t contain any
package that “claims” share/guile/2.2. Thus, everything is working
according to plan, so to speak.
I understand this particular case is confusing though. It’s confusing
because Guile is already installed, albeit in another profile.
What we could do to avoid this confusion is pre-define GUILE_LOAD_PATH
and GUILE_LOAD_COMPILED_PATH in /etc/profile, just like we do for
INFOPATH et al.
WDYT?
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#33279
; Package
guix
.
(Wed, 07 Nov 2018 17:09:04 GMT)
Full text and
rfc822 format available.
Message #22 received at 33279-done <at> debbugs.gnu.org (full text, mbox):
Hi
On 2018-11-07 17:40, Ludovic Courtès wrote:
> Marius Bakke <mbakke <at> fastmail.com> skribis:
>
>> swedebugia <swedebugia <at> riseup.net> writes:
> [...]
>
>>> Could we make all guile-* packages emit this suggestion?
>> This limitation is the same as <https://bugs.gnu.org/22138>.
> It’s actually a different issue here: the profile contains packages that
> provide share/guile/2.2, but the same profile doesn’t contain any
> package that “claims” share/guile/2.2. Thus, everything is working
> according to plan, so to speak.
>
> I understand this particular case is confusing though. It’s confusing
> because Guile is already installed, albeit in another profile.
>
> What we could do to avoid this confusion is pre-define GUILE_LOAD_PATH
> and GUILE_LOAD_COMPILED_PATH in /etc/profile, just like we do for
> INFOPATH et al.
Sounds good to me.
What I am after is lowering the bar for the user to learn and use guile
and readline seems like a pretty important component to avoid typing
everything over and over.
We want guix to be guile land and for guile land to be nice and welcome
out the box.
I therefore suggest also adding guile-readline to %base-packages if it
does not produce too much overhead.
Cheers
Swedebugia
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 06 Dec 2018 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 279 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.