From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#28144: info-dir ERROR: no code for module (guix build utils) Date: Mon, 13 Nov 2017 11:03:15 +0100 Message-ID: <87efp2a42k.fsf@gnu.org> References: <20170819012022.7aad5fa6@cbaines.net> 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]:40920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEBb5-0004yx-OV for bug-guix@gnu.org; Mon, 13 Nov 2017 05:04:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEBb0-0006KB-0q for bug-guix@gnu.org; Mon, 13 Nov 2017 05:04:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57284) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eEBaz-0006K1-Ta for bug-guix@gnu.org; Mon, 13 Nov 2017 05:04:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eEBaz-0005EZ-Kt for bug-guix@gnu.org; Mon, 13 Nov 2017 05:04:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170819012022.7aad5fa6@cbaines.net> (Christopher Baines's message of "Sat, 19 Aug 2017 01:20:22 +0100") 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: Christopher Baines Cc: 28144@debbugs.gnu.org Hello, Christopher Baines skribis: > The following derivations will be built: > /gnu/store/8qi10kwz4ghabdj5p7s252z11snvhhgf-profile.drv > /gnu/store/0jxiph2hvmvakcj6gkz9d00a8ncma903-info-dir.drv > Backtrace: > In ice-9/boot-9.scm: > 160: 18 [catch #t # ...] > In unknown file: > ?: 17 [apply-smob/1 #] > In ice-9/boot-9.scm: > 66: 16 [call-with-prompt prompt0 ...] > In ice-9/eval.scm: > 432: 15 [eval # #] > In ice-9/boot-9.scm: > 2412: 14 [save-module-excursion #] > 4089: 13 [#] > 1734: 12 [%start-stack load-stack #] > 1739: 11 [#] > In unknown file: > ?: 10 [primitive-load "/gnu/store/9ywpf5jc12svv04gvbx96j5z1kpllwn4-inf= o-dir-builder"] > In ice-9/eval.scm: > 505: 9 [# (begin # # # .= ..)] > In ice-9/psyntax.scm: > 1107: 8 [expand-top-sequence ((begin # # # ...)) () ((top)) ...] > 990: 7 [scan ((begin (use-modules # # ...) (define # #) ...)) () ...] > 990: 6 [scan ((use-modules # # ...) (define # #) (define # #) ...) () ..= .] > 279: 5 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...] > In ice-9/boot-9.scm: > 3622: 4 [process-use-modules ((#) (#) (#) (#))] > 712: 3 [map # (= # # # #)] > 3623: 2 [# (#)] > 2903: 1 [resolve-interface (guix build utils) #:select ...] > In unknown file: > ?: 0 [scm-error misc-error #f ...] > > ERROR: In procedure scm-error: > ERROR: no code for module (guix build utils) > builder for `/gnu/store/0jxiph2hvmvakcj6gkz9d00a8ncma903-info-dir.drv' fa= iled with exit code 1 I=E2=80=99ve just experienced it! As in your case, info-dir.drv contained no references to module-import.drv or anything like that, and the =E2=80=98guile=E2=80=99 co= mmand line lacked =E2=80=98-L =E2=80=A6-module-import=E2=80=99. Then I recompiled guix/profiles.go, and the problem went away. My guess is that Guile 2.2.2 sometimes mishandles syntax parameters. In this case, the syntax param used by =E2=80=98with-imported-modules=E2=80=99= was seen as '() during macro expansion whereas it should have been '((guix build utils)). This is very similar to what we see in . Ludo=E2=80=99.