From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: bug#33691: pre-inst-env: "no code for module (gcrypt hash)" Date: Mon, 10 Dec 2018 09:01:26 +0100 Message-ID: References: <87bm5uz5ks.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWGWx-0004yA-Ut for bug-guix@gnu.org; Mon, 10 Dec 2018 03:03:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWGWs-0001MS-BA for bug-guix@gnu.org; Mon, 10 Dec 2018 03:03:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:36432) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gWGWs-0001M8-6A for bug-guix@gnu.org; Mon, 10 Dec 2018 03:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gWGWs-0007mI-0O for bug-guix@gnu.org; Mon, 10 Dec 2018 03:03:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWGVb-0004ek-AM for bug-guix@gnu.org; Mon, 10 Dec 2018 03:01:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWGVU-00006W-Vl for bug-guix@gnu.org; Mon, 10 Dec 2018 03:01:42 -0500 Received: from mx1.riseup.net ([198.252.153.129]:44458) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gWGVQ-0008SO-M8 for bug-guix@gnu.org; Mon, 10 Dec 2018 03:01:34 -0500 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 899D91A01BB for ; Mon, 10 Dec 2018 00:01:29 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id C157D6A328 for ; Mon, 10 Dec 2018 00:01:28 -0800 (PST) In-Reply-To: <87bm5uz5ks.fsf@gmail.com> Content-Language: en-US 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: 33691@debbugs.gnu.org On 2018-12-09 23:41, 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 > Password: > 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 ran into this also and solved it with running guix environment guix=20 first. Did you try that? --=20 Cheers Swedebugia