GNU bug report logs - #31367
ERROR: In procedure scm-error: no code for module (guix build utils)

Previous Next

Package: guile;

Reported by: George myglc2 Clemmer <myglc2 <at> gmail.com>

Date: Sat, 5 May 2018 00:18:01 UTC

Severity: serious

Tags: unreproducible

Merged with 27476, 27652, 28144, 31294, 31740, 32385, 34112, 34319

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: George Clemmer <myglc2 <at> gmail.com>
Cc: 31367 <at> debbugs.gnu.org
Subject: bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils)
Date: Thu, 13 Dec 2018 20:32:06 -0500
ludo <at> gnu.org (Ludovic Courtès) writes:

> Roel Janssen <roel <at> gnu.org> skribis:
>
>> Ludovic Courtès <ludo <at> gnu.org> writes:
>>
>>> George myglc2 Clemmer <myglc2 <at> gmail.com> 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’m merging it with <https://bugs.gnu.org/28144>.  No fix yet but we’re
>>> working on it.  In the meantime, ‘guix pull’ 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’re in a checkout that’s easy, otherwise you may have to re-run
> ‘guix pull’, which isn’t great.
>
> Ludo’.

Hi Ludo’,

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




This bug report was last modified 4 years and 157 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.