unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils)
@ 2018-05-05  0:17 George myglc2 Clemmer
  2018-05-06 15:22 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: George myglc2 Clemmer @ 2018-05-05  0:17 UTC (permalink / raw)
  To: 31367

This just appears in the last day or so. Running guix (GNU Guix)
0.14.0.4837-d6ed4 I see ...

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
cannot build derivation `/gnu/store/mcfys0glgv1hnq5mrcs9xnmn4bpzr3ys-profile.drv': 1 dependencies couldn't be built
guix environment: error: build failed: build of `/gnu/store/mcfys0glgv1hnq5mrcs9xnmn4bpzr3ys-profile.drv' failed
make: *** [Makefile:9: guix/] Error 1

FWIW, guix (GNU Guix) 0.14.0-11.ab85cf7 doesn't generate the error.

HTH - George

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils)
  2018-05-05  0:17 bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils) George myglc2 Clemmer
@ 2018-05-06 15:22 ` Ludovic Courtès
  2018-05-06 18:13   ` George Clemmer
  2018-05-25  9:28   ` Roel Janssen
  0 siblings, 2 replies; 9+ messages in thread
From: Ludovic Courtès @ 2018-05-06 15:22 UTC (permalink / raw)
  To: George myglc2 Clemmer; +Cc: 31367

George myglc2 Clemmer <myglc2@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.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils)
  2018-05-06 15:22 ` Ludovic Courtès
@ 2018-05-06 18:13   ` George Clemmer
  2018-05-25  9:28   ` Roel Janssen
  1 sibling, 0 replies; 9+ messages in thread
From: George Clemmer @ 2018-05-06 18:13 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 31367

Hi Ludo’,

Ludovic Courtès writes:

> 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.

Thanks for the update. No rush, I have a workaround ;-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils)
  2018-05-06 15:22 ` Ludovic Courtès
  2018-05-06 18:13   ` George Clemmer
@ 2018-05-25  9:28   ` Roel Janssen
  2018-05-25  9:56     ` Ricardo Wurmus
  2018-05-25 10:03     ` Ludovic Courtès
  1 sibling, 2 replies; 9+ messages in thread
From: Roel Janssen @ 2018-05-25  9:28 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: George myglc2 Clemmer, 31367


Ludovic Courtès <ludo@gnu.org> writes:

> George myglc2 Clemmer <myglc2@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?

Kind regards,
Roel Janssen

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils)
  2018-05-25  9:28   ` Roel Janssen
@ 2018-05-25  9:56     ` Ricardo Wurmus
  2018-05-25 10:01       ` Roel Janssen
  2018-05-25 10:03     ` Ludovic Courtès
  1 sibling, 1 reply; 9+ messages in thread
From: Ricardo Wurmus @ 2018-05-25  9:56 UTC (permalink / raw)
  To: Roel Janssen; +Cc: George myglc2 Clemmer, 31367


Roel Janssen <roel@gnu.org> writes:

> I'm using a git checkout of Guix, and I am encountering this bug with
> version 217af8ae7.  Is there a work-around?

Does it happen all the time?

A work-around, as I understood it, is to ensure that you ensure that the
compilation only uses a single core.

--
Ricardo

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils)
  2018-05-25  9:56     ` Ricardo Wurmus
@ 2018-05-25 10:01       ` Roel Janssen
  0 siblings, 0 replies; 9+ messages in thread
From: Roel Janssen @ 2018-05-25 10:01 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: George myglc2 Clemmer, 31367


Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:

> Roel Janssen <roel@gnu.org> writes:
>
>> I'm using a git checkout of Guix, and I am encountering this bug with
>> version 217af8ae7.  Is there a work-around?
>
> Does it happen all the time?

Yes.  Consistently on multiple user profiles.

>
> A work-around, as I understood it, is to ensure that you ensure that the
> compilation only uses a single core.

Can I build a profile derivation using a single core from the
command-line?

Kind regards,
Roel Janssen

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils)
  2018-05-25  9:28   ` Roel Janssen
  2018-05-25  9:56     ` Ricardo Wurmus
@ 2018-05-25 10:03     ` Ludovic Courtès
  2018-05-25 12:22       ` Roel Janssen
       [not found]       ` <cucpnu4gaxm.fsf@gmail.com>
  1 sibling, 2 replies; 9+ messages in thread
From: Ludovic Courtès @ 2018-05-25 10:03 UTC (permalink / raw)
  To: Roel Janssen; +Cc: George myglc2 Clemmer, 31367

Roel Janssen <roel@gnu.org> skribis:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> George myglc2 Clemmer <myglc2@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’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils)
  2018-05-25 10:03     ` Ludovic Courtès
@ 2018-05-25 12:22       ` Roel Janssen
       [not found]       ` <cucpnu4gaxm.fsf@gmail.com>
  1 sibling, 0 replies; 9+ messages in thread
From: Roel Janssen @ 2018-05-25 12:22 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: George myglc2 Clemmer, 31367


Ludovic Courtès <ludo@gnu.org> writes:

> Roel Janssen <roel@gnu.org> skribis:
>
>> Ludovic Courtès <ludo@gnu.org> writes:
>>
>>> George myglc2 Clemmer <myglc2@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.

That solved it for me.  Thanks!

Kind regards,
Roel Janssen

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils)
       [not found]       ` <cucpnu4gaxm.fsf@gmail.com>
@ 2018-12-14  1:32         ` George Clemmer
  0 siblings, 0 replies; 9+ messages in thread
From: George Clemmer @ 2018-12-14  1:32 UTC (permalink / raw)
  Cc: 31367


ludo@gnu.org (Ludovic Courtès) writes:

> Roel Janssen <roel@gnu.org> skribis:
>
>> Ludovic Courtès <ludo@gnu.org> writes:
>>
>>> George myglc2 Clemmer <myglc2@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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-12-14  1:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-05  0:17 bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils) George myglc2 Clemmer
2018-05-06 15:22 ` Ludovic Courtès
2018-05-06 18:13   ` George Clemmer
2018-05-25  9:28   ` Roel Janssen
2018-05-25  9:56     ` Ricardo Wurmus
2018-05-25 10:01       ` Roel Janssen
2018-05-25 10:03     ` Ludovic Courtès
2018-05-25 12:22       ` Roel Janssen
     [not found]       ` <cucpnu4gaxm.fsf@gmail.com>
2018-12-14  1:32         ` George Clemmer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).