all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Adonay Felipe Nogueira <adfeno@hyperbola.info>,
	Leo Famulari <leo@famulari.name>
Cc: 29519@debbugs.gnu.org
Subject: bug#29519: ./pre-inst-env: substitute: Failed to autoload make-session in (gnutls)
Date: Mon, 04 Dec 2017 10:07:40 +0100	[thread overview]
Message-ID: <87d13urhcz.fsf@gnu.org> (raw)
In-Reply-To: <878ten4h8j.fsf@hyperbola.info> (Adonay Felipe Nogueira's message of "Thu, 30 Nov 2017 18:57:32 -0200")

Hello,

Adonay Felipe Nogueira <adfeno@hyperbola.info> skribis:

> starting substituter program `/home/adfeno/Projetos/Software/guix/nix/scripts/substitute'
> substitute: guile: warning: failed to install locale
> substitute: warning: failed to install locale: Invalid argument
> substitute: guix substitute: warning: ACL for archive imports seems to be uninitialized, substitutes may be unavailable
> substitute: ;;; Failed to autoload make-session in (gnutls):
> substitute: ;;; ERROR: missing interface for module (gnutls)
> substitute: Backtrace:
> substitute:            1 (primitive-load "/home/adfeno/Projetos/Software/guix/sc?")
> substitute: In guix/ui.scm:
> substitute:   1452:12  0 (run-guix-command _ . _)
> substitute:
> substitute: guix/ui.scm:1452:12: In procedure run-guix-command:
> substitute: guix/ui.scm:1452:12: make-session: unbound variable
> guix build: error: build failed: substituter `substitute' died unexpectedly

The problem is that the (gnutls) module is not in the search path of
‘guix substitute’.

Usually the solution is to start the daemon using something like:

  sudo -E ./pre-inst-env guix-daemon …

so that ‘guix-daemon’ inherits the correct values for ‘GUILE_LOAD_PATH’,
etc.

Does that work for you?

We used to have this suggestion in the doc, but it was reverted in
commit 73a203450d21241eca50375aeb26fb418b287414.  Leo, do you think we
can reinstate it?  I’m not sure why it was reverted in the first place.

Thanks,
Ludo’.

  reply	other threads:[~2017-12-04  9:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-30 20:57 bug#29519: ./pre-inst-env: substitute: Failed to autoload make-session in (gnutls) Adonay Felipe Nogueira
2017-12-04  9:07 ` Ludovic Courtès [this message]
2018-01-16 18:40   ` Adonay Felipe Nogueira
2018-01-16 20:44     ` Leo Famulari
2018-01-17  8:54       ` Ludovic Courtès
2018-01-17 23:51         ` Leo Famulari
2018-01-17 23:53     ` Leo Famulari

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=87d13urhcz.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=29519@debbugs.gnu.org \
    --cc=adfeno@hyperbola.info \
    --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 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.