From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#29519: ./pre-inst-env: substitute: Failed to autoload make-session in (gnutls) Date: Mon, 04 Dec 2017 10:07:40 +0100 Message-ID: <87d13urhcz.fsf@gnu.org> References: <878ten4h8j.fsf@hyperbola.info> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLmjN-0008Gl-UO for bug-guix@gnu.org; Mon, 04 Dec 2017 04:08:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLmjK-00071D-Kw for bug-guix@gnu.org; Mon, 04 Dec 2017 04:08:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:35593) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eLmjK-000716-Gn for bug-guix@gnu.org; Mon, 04 Dec 2017 04:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eLmjK-0007LK-2j for bug-guix@gnu.org; Mon, 04 Dec 2017 04:08:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <878ten4h8j.fsf@hyperbola.info> (Adonay Felipe Nogueira's message of "Thu, 30 Nov 2017 18:57:32 -0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Adonay Felipe Nogueira , Leo Famulari Cc: 29519@debbugs.gnu.org Hello, Adonay Felipe Nogueira skribis: > starting substituter program `/home/adfeno/Projetos/Software/guix/nix/scr= ipts/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 unexpected= ly The problem is that the (gnutls) module is not in the search path of =E2=80=98guix substitute=E2=80=99. Usually the solution is to start the daemon using something like: sudo -E ./pre-inst-env guix-daemon =E2=80=A6 so that =E2=80=98guix-daemon=E2=80=99 inherits the correct values for =E2= =80=98GUILE_LOAD_PATH=E2=80=99, 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=E2=80=99m not sure why it was reverted in the first pl= ace. Thanks, Ludo=E2=80=99.