From: Federico Beffa <beffa@ieee.org>
To: Guix-devel <guix-devel@gnu.org>
Subject: guix can't find (gnutls)
Date: Sat, 4 Feb 2017 15:50:37 +0100 [thread overview]
Message-ID: <CAKrPhPM8yg10k8AhWY-X7ptkZjzWefk5GAfY+QgMsMtr7kuT5w@mail.gmail.com> (raw)
Hi,
for some reason Guix can't find (gnutls) despite the module being
installed and usable in Guile:
------------------------------------------------------------------------------
$ echo $GUILE_LOAD_PATH
/home/beffa/.guix-profile/share/guile/site/2.0:/usr/local/share/guile/site/2.0:/usr/share/guile/site:/usr/share/guile/site/2.0
$ echo $GUILE_LOAD_COMPILED_PATH
/home/beffa/.guix-profile/lib/guile/2.0/site-ccache:/home/beffa/.guix-profile/share/guile/site/2.0
$ ls /home/beffa/.guix-profile/share/guile/site/2.0
cairo cairo.scm gnutls gnutls.scm json json.go json.scm
minikanren minikanren.go minikanren.scm ssh
$ guix environment --ad-hoc ghc
substitute: warning: failed to install locale: Invalid argument
The following derivations will be built:
/gnu/store/rgzwdcw04i0x56ywmg3glicvrn8xk7sd-profile.drv
/gnu/store/rrakjd0ym7q2qcx1kr3xsp7y9kxf4sdv-fonts-dir.drv
/gnu/store/r48q6lmxwlsxjq30h2mrv1sp30ahx0fw-ghc-package-cache.drv
/gnu/store/p2ijlnhbbc0sj8v5qcd2vj5fxgm3qaim-ca-certificate-bundle.drv
/gnu/store/50l8wnbkmw98svirfsjcamxfsdsiyjly-info-dir.drv
The following file will be downloaded:
/gnu/store/h2zf6y4f52wmh4qa8lckssxzffnxjvrv-ghc-8.0.2
warning: failed to install locale: Invalid argument
Downloading https://mirror.hydra.gnu.org/nar/h2zf6y4f52wmh4qa8lckssxzffnxjvrv-ghc-8.0.2
(1011.3MiB installed)...
;;; Failed to autoload make-session in (gnutls):
;;; ERROR: missing interface for module (gnutls)
Backtrace:
In ice-9/boot-9.scm:
160: 9 [catch #t #<catch-closure 22e3da0> ...]
In unknown file:
?: 8 [apply-smob/1 #<catch-closure 22e3da0>]
In ice-9/boot-9.scm:
66: 7 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
432: 6 [eval # #]
In ice-9/boot-9.scm:
2404: 5 [save-module-excursion #<procedure 2303900 at
ice-9/boot-9.scm:4051:3 ()>]
4056: 4 [#<procedure 2303900 at ice-9/boot-9.scm:4051:3 ()>]
1727: 3 [%start-stack load-stack ...]
1732: 2 [#<procedure 2316c00 ()>]
In unknown file:
?: 1 [primitive-load "/usr/local/bin/guix"]
In guix/ui.scm:
1228: 0 [run-guix-command substitute "--substitute" ...]
guix/ui.scm:1228:8: In procedure run-guix-command:
guix/ui.scm:1228:8: In procedure module-lookup: Unbound variable: make-session
guix environment: error: build failed: some substitutes for the
outputs of derivation
`/gnu/store/y8ih837wbsxlhsscj8yg37pa6ycarrp8-ghc-8.0.2.drv' failed
(usually happens due to networking issues); try `--fallback' to build
derivation from source
------------------------------------------------------------------------------
I can load the module in Guile without problems:
------------------------------------------------------------------------------
$ guile
GNU Guile 2.0.13
Copyright (C) 1995-2016 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> ,use (gnutls)
scheme@(guile-user)> make-session
$1 = #<procedure make-session (_)>
scheme@(guile-user)>
------------------------------------------------------------------------------
Any suggestion?
Thanks,
Fede
next reply other threads:[~2017-02-04 14:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-04 14:50 Federico Beffa [this message]
2017-02-04 19:02 ` guix can't find (gnutls) Alex Kost
2017-02-05 10:48 ` Federico Beffa
2017-02-05 19:23 ` Alex Kost
2017-02-05 8:38 ` Alex Vong
2017-02-05 11:10 ` Federico Beffa
2017-02-09 11:10 ` Alex Vong
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKrPhPM8yg10k8AhWY-X7ptkZjzWefk5GAfY+QgMsMtr7kuT5w@mail.gmail.com \
--to=beffa@ieee.org \
--cc=guix-devel@gnu.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.