[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29519: ./pre-inst-env: substitute: Failed to autoload make-session i

From: Ludovic Courtès
Subject: bug#29519: ./pre-inst-env: substitute: Failed to autoload make-session in (gnutls)
Date: Mon, 04 Dec 2017 10:07:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)


Adonay Felipe Nogueira <address@hidden> 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’,

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]