From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Clemmer Subject: bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils) Date: Thu, 13 Dec 2018 20:32:06 -0500 Message-ID: References: <87r2mrdkhu.fsf@gmail.com> <87y3gwn70q.fsf@gnu.org> <87r2m0gk3b.fsf@gnu.org> <87k1rs3vcm.fsf@gnu.org> 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]:57237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXcLt-0006AF-Sa for bug-guix@gnu.org; Thu, 13 Dec 2018 20:33:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXcLg-0005tr-Ft for bug-guix@gnu.org; Thu, 13 Dec 2018 20:33:12 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42858) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXcLe-0005pM-FX for bug-guix@gnu.org; Thu, 13 Dec 2018 20:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gXcLe-0001dV-BU for bug-guix@gnu.org; Thu, 13 Dec 2018 20:33:02 -0500 In-Reply-To: <87r2mrdkhu.fsf@gmail.com> Sender: "Debbugs-submit" Resent-Message-ID: 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" Cc: 31367@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Roel Janssen skribis: > >> Ludovic Court=C3=A8s writes: >> >>> George myglc2 Clemmer skribis: >>> >>>> cd guix && guix environment guix -- make >>>> The following derivations will be built: >>>> /gnu/store/mcfys0glgv1hnq5mrcs9xnmn4bpzr3ys-profile.drv >>>> /gnu/store/qikmbskc6598vld2lhb2pn30h1rwxgc8-xdg-mime-database.drv >>>> /gnu/store/izxixb30i4r79gahirb4nj5ay0z8nzv1-info-dir.drv >>>> /gnu/store/bdg4x3925r9l3458li48hp1i26shd7yw-manual-database.drv >>>> Backtrace: >>>> 10 (primitive-load "/gnu/store/611mdvnasj59v5j46g8mhq7aw0g?") >>>> In ice-9/eval.scm: >>>> 721:20 9 (primitive-eval (begin (use-modules (guix build #) ?) ?)) >>>> In ice-9/psyntax.scm: >>>> 1235:36 8 (expand-top-sequence ((begin (use-modules (# # ?) ?) ?)) = ?) >>>> 1182:24 7 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?) >>>> 1182:24 6 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?) >>>> 285:10 5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) = ?) >>>> In ice-9/boot-9.scm: >>>> 3365:20 4 (process-use-modules _) >>>> 222:17 3 (map1 (((guix build utils)) ((srfi srfi-1)) ((srfi ?)) ?)) >>>> 3366:31 2 (_ ((guix build utils))) >>>> 2791:6 1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ ?) >>>> In unknown file: >>>> 0 (scm-error misc-error #f "~A ~S" ("no code for modu?" ?) = ?) >>>> >>>> ERROR: In procedure scm-error: >>>> no code for module (guix build utils) >>>> Creating manual page database... >>>> builder for `/gnu/store/izxixb30i4r79gahirb4nj5ay0z8nzv1-info-dir.drv'= failed with exit code 1 >>> >>> I=E2=80=99m merging it with . No fix yet b= ut we=E2=80=99re >>> working on it. In the meantime, =E2=80=98guix pull=E2=80=99 may allow = you to work >>> around it. >> >> I'm using a git checkout of Guix, and I am encountering this bug with >> version 217af8ae7. Is there a work-around? > > In essence you need to recompile guix/profiles.go. > > If you=E2=80=99re in a checkout that=E2=80=99s easy, otherwise you may ha= ve to re-run > =E2=80=98guix pull=E2=80=99, which isn=E2=80=99t great. > > Ludo=E2=80=99. Hi Ludo=E2=80=99, I continue to hit this error sporadically. Most recently today using guix (GNU Guix) 0.16.0.131-ce3fe and guile (GNU Guile) 2.2.4. The above mentioned workaround does seem to "work". At the moment, I have several examples of the error in my store. Please advise if it would helpful to provide these and, if so , what you want to see. TIA, George