From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: bug#33691: pre-inst-env: "no code for module (gcrypt hash)" Date: Tue, 11 Dec 2018 09:14:44 +0200 Message-ID: <20181211071444.GB1323@macbook41> References: <87bm5uz5ks.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWcG6-00071c-St for bug-guix@gnu.org; Tue, 11 Dec 2018 02:15:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWcG3-0006Ti-Lq for bug-guix@gnu.org; Tue, 11 Dec 2018 02:15:10 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:38456) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gWcG3-0006Se-D1 for bug-guix@gnu.org; Tue, 11 Dec 2018 02:15:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gWcG2-0007NL-PP for bug-guix@gnu.org; Tue, 11 Dec 2018 02:15:07 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87bm5uz5ks.fsf@gmail.com> 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: Chris Marusich Cc: 33691@debbugs.gnu.org --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 09, 2018 at 02:41:07PM -0800, Chris Marusich wrote: > Hi, >=20 > I tried reconfiguring my system recently using pre-inst-env, using > commit 08861d259b453442c38fe93477bc62d2080b1442. I got this error: >=20 > --8<---------------cut here---------------start------------->8--- > $ sudo ./pre-inst-env guix system --fallback reconfigure ~/config.scm=20 > Password:=20 > Backtrace: > In ice-9/boot-9.scm: > 2726:13 19 (_) > In ice-9/threads.scm: > 390:8 18 (_ _) > In ice-9/boot-9.scm: > 2994:20 17 (_) > 2312:4 16 (save-module-excursion _) > 3014:26 15 (_) > In unknown file: > 14 (primitive-load-path "guix/store" #) > In guix/store.scm: > 20:0 13 (_) > In ice-9/boot-9.scm: > 2874:4 12 (define-module* _ #:filename _ #:pure _ #:version _ # _ =E2= =80=A6) > 2887:24 11 (_) > 222:29 10 (map1 (((guix utils)) ((guix config)) ((guix #)) ((=E2=80=A6= )) =E2=80=A6)) > 222:29 9 (map1 (((guix config)) ((guix memoization)) ((guix =E2=80=A6= )) =E2=80=A6)) > 222:29 8 (map1 (((guix memoization)) ((guix serialization)) (#) =E2= =80=A6)) > 222:29 7 (map1 (((guix serialization)) ((guix monads)) ((# #)) =E2=80= =A6)) > 222:29 6 (map1 (((guix monads)) ((guix records)) ((guix #)) (#) =E2= =80=A6)) > 222:29 5 (map1 (((guix records)) ((guix base16)) ((guix #)) (#) =E2= =80=A6)) > 222:29 4 (map1 (((guix base16)) ((guix base32)) ((gcrypt #)) # =E2=80= =A6)) > 222:29 3 (map1 (((guix base32)) ((gcrypt hash)) ((guix #)) (#) =E2=80= =A6)) > 222:17 2 (map1 (((gcrypt hash)) ((guix profiling)) ((rnrs #)) # =E2= =80=A6)) > 2803:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ =E2= =80=A6) > In unknown file: > 0 (scm-error misc-error #f "~A ~S" ("no code for modu=E2=80=A6= " =E2=80=A6) =E2=80=A6) >=20 > ERROR: In procedure scm-error: > no code for module (gcrypt hash) > --8<---------------cut here---------------end--------------->8--- >=20 > I expected pre-inst-env to make all the necessary dependencies > available. I was surprised that the guix command was unable to find > (gcrypt hash), even though I thought pre-inst-env would make it > available. >=20 > Is this a bug, or am I doing something wrong? >=20 I come across this sometimes. I don't have a 100% method of fixing it, but I normally run: guix pull guix environment --pure guix make clean-go =2E/bootstrap =2E/configure --localstatedir=3D/var --sysconfdir=3D/etc exit =2E/pre-inst-env guix environment guix -- make --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlwPY98ACgkQQarn3Mo9 g1FE2A//VSTuYU0scoV8WgG9TYFME+54GV7GTfZ5G0fooJtEljBXi4IljJYmidAH 829ySKNXunSnDaL62NWrPLYFlQAnfxWgzoBcKuIHZoREHi4k3q7qvyw/2ykH3y5t cBLUc58a/5JcSxa3nLTz0bmy3IUnfRp7L802/Nx4Tm9UO7lytrvm7sHrql9XeGtW ZYiWuGPChIjSHyN+0EolbSL9oT6F6W/sVoND5699HocV+CO/o7UMj4OQDibXKaN3 lkSGNo3BB5oeh7SKwDpe90E9eaJovbhqjWCRru2TTZvyE1r1tSQuzvOtoUz5g0Gg yz9iLlx49UorOjIX4dV6Xg5bO1We4zGoyqrpht3bxt/mnSr24V+17+Otbu6gSiyB 6C7rnR2yJ10f6RIrMr86NHf2UoIRYZxh2QJGeQwwKUl6zoUcyACGVX80zVndXNj/ d6y+pEgK9bQ2qQEyE8+5wmOK7+z9erRuJWfZTY3pFbXwB2nYcHEXrBOBX4K5EEpP KsdmWVxBbZgs9XuUYB4dSc7oJYLCORKfX0nfHD/VpKykAl4FN3z/nexVD2hAVzcB v7dVUtxlcHe7f4npg49gLOBRraBDoR8Pj3HyCgCY2LQd/TQoc0njsGkGmoIbV7Gf Z9NrTqNjxmnVILLNg30aiBD2kPUsdCd8vBPbi5thlJVGdFWczAQ= =MylA -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK--