From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adonay Felipe Nogueira Subject: bug#29519: ./pre-inst-env: substitute: Failed to autoload make-session in (gnutls) Date: Thu, 30 Nov 2017 18:57:32 -0200 Message-ID: <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]:57339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKnxz-0001HY-Ke for bug-guix@gnu.org; Fri, 01 Dec 2017 11:16:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKnwx-0003ql-Bv for bug-guix@gnu.org; Fri, 01 Dec 2017 11:15:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59759) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKnww-0003ot-TD for bug-guix@gnu.org; Fri, 01 Dec 2017 11:14:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eKnww-0002LT-It for bug-guix@gnu.org; Fri, 01 Dec 2017 11:14:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKnu5-0005qo-2O for bug-guix@gnu.org; Fri, 01 Dec 2017 11:12:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKnsi-0005Qu-Sy for bug-guix@gnu.org; Fri, 01 Dec 2017 11:11:04 -0500 Received: from slow1-d.mail.gandi.net ([217.70.178.86]:38817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKnsh-0005OM-CP for bug-guix@gnu.org; Fri, 01 Dec 2017 11:09:40 -0500 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by slow1-d.mail.gandi.net (Postfix) with ESMTP id EA205496551 for ; Thu, 30 Nov 2017 21:57:39 +0100 (CET) Received: from adfeno-pc1 (unknown [179.220.58.153]) (Authenticated sender: adfeno@hyperbola.info) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id D4A32172095 for ; Thu, 30 Nov 2017 21:57:35 +0100 (CET) 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: 29519@debbugs.gnu.org I'm experimenting developing directly to the Git checkout instead of using GUIX_PACKAGE_PATH to develop and test package definitions. Currently this is what I do: --8<---------------cut here---------------start------------->8--- # If the local clone is somewhat dirty, clear it. git reset --hard HEAD git clean -fdx # Uptdate the local clone. git pull # Use my already-installed Guix to prepare environment to hack on Guix. guix environment guix # Follow the info pages. ./bootstrap # I checked contents of "/var" and it is indeed the localstatedir # because "guix" (and gc lock, temproots and so on) is there. ./configure --localstatedir=3D"/var" # Do I need to do `make'? Since I'm used to do it I'll do it anyways. make # Back to following the info pages. make check --8<---------------cut here---------------end--------------->8--- Now I keep the first terminal open, and in a second terminal, I also go to the local copy and do `guix environment guix', and keep that terminal for now. In a third terminal I stop the system's guix-daemon service, with something similar to `sudo service guix-daemon stop'. Then I go back to the first terminal, and do `sudo ./pre-inst-env guix-daemon --debug --build-users-group=3Dguixbuild', and that terminal is now busy logging the daemon's activity. In the second terminal I do `./pre-inst-env guix build --verbosity=3D4 hello' and I get this: --8<---------------cut here---------------start------------->8--- acquiring global GC lock `/var/guix/gc.lock' acquiring read lock on `/var/guix/temproots/26301' acquiring write lock on `/var/guix/temproots/26301' downgrading to read lock on `/var/guix/temproots/26301' [... Repetitions of the same last two messages...] starting substituter program `/home/adfeno/Projetos/Software/guix/nix/scrip= ts/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 u= ninitialized, 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/gu= ix/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 --8<---------------cut here---------------end--------------->8--- This also happens if I *don't* stop the already installed Guix daemon, with the difference that in this case after stopping the ./pre-inst-env guix-daemon, any further attempts to use the installed Guix daemon --- even if no longer in the environment and even in a new terminal --- will be denied, forcing me to restart this one. In both cases (./pre-inst-env guix-daemon with installed guix-daemon running or not), the ./pre-inst-env guix-daemon shows this: --8<---------------cut here---------------start------------->8--- extra chroot directories: '' automatic deduplication set to 1 listening on `/var/guix/daemon-socket/socket' accepted connection from pid 26186, user adfeno 443 operations --8<---------------cut here---------------end--------------->8--- I hope this helps finding out what the problem is. Respectfully, Adonay. --=20 - https://libreplanet.org/wiki/User:Adfeno - Palestrante e consultor sobre /software/ livre (n=C3=A3o confundir com gratis). - "WhatsApp"? Ele n=C3=A3o =C3=A9 livre. Por favor, veja formas de se comun= icar instantaneamente comigo no endere=C3=A7o abaixo. - Contato: https://libreplanet.org/wiki/User:Adfeno#vCard - Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft Office, MP3, MP4, WMA, WMV. - Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU GIMP, Inkscape SVG, JPG, LibreOffice (padr=C3=A3o ODF), OGG, OPUS, PDF (apenas sem DRM), PNG, TXT, WEBM.