From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils) Date: Fri, 25 May 2018 12:03:53 +0200 Message-ID: <87k1rs3vcm.fsf@gnu.org> References: <87r2mrdkhu.fsf@gmail.com> <87y3gwn70q.fsf@gnu.org> <87r2m0gk3b.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]:60043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fM9as-0001zn-2D for bug-guix@gnu.org; Fri, 25 May 2018 06:05:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fM9ao-0007rp-UQ for bug-guix@gnu.org; Fri, 25 May 2018 06:05:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39572) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fM9ao-0007rZ-Rd for bug-guix@gnu.org; Fri, 25 May 2018 06:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fM9ao-0004DA-ER for bug-guix@gnu.org; Fri, 25 May 2018 06:05:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87r2m0gk3b.fsf@gnu.org> (Roel Janssen's message of "Fri, 25 May 2018 11:28:40 +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: Roel Janssen Cc: George myglc2 Clemmer , 31367@debbugs.gnu.org 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 bu= t we=E2=80=99re >> working on it. In the meantime, =E2=80=98guix pull=E2=80=99 may allow y= ou 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 have= to re-run =E2=80=98guix pull=E2=80=99, which isn=E2=80=99t great. Ludo=E2=80=99.