ERROR: In procedure scm-error: no code for module (guix build utils)

OpenSubmitted by George myglc2 Clemmer.
Details
5 participants
  • Chris Marusich
  • Ludovic Courtès
  • George myglc2 Clemmer
  • Ricardo Wurmus
  • Roel Janssen
Owner
unassigned
Severity
serious
Merged with
G
G
George myglc2 Clemmer wrote on 5 May 2018 02:17
(address . bug-guix@gnu.org)
87r2mrdkhu.fsf@gmail.com
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 -- makeThe 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.drvBacktrace: 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 1cannot build derivation `/gnu/store/mcfys0glgv1hnq5mrcs9xnmn4bpzr3ys-profile.drv': 1 dependencies couldn't be builtguix environment: error: build failed: build of `/gnu/store/mcfys0glgv1hnq5mrcs9xnmn4bpzr3ys-profile.drv' failedmake: *** [Makefile:9: guix/] Error 1
FWIW, guix (GNU Guix) 0.14.0-11.ab85cf7 doesn't generate the error.
HTH - George
L
L
Ludovic Courtès wrote on 6 May 2018 17:22
(name . George myglc2 Clemmer)(address . myglc2@gmail.com)(address . 31367@debbugs.gnu.org)
87y3gwn70q.fsf@gnu.org
George myglc2 Clemmer <myglc2@gmail.com> skribis:
Toggle quote (28 lines)> 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’reworking on it. In the meantime, ‘guix pull’ may allow you to workaround it.
Thanks,Ludo’.
L
L
Ludovic Courtès wrote on 6 May 2018 17:22
control message for bug #31367
(address . control@debbugs.gnu.org)
87r2mon702.fsf@gnu.org
severity 31367 important
L
L
Ludovic Courtès wrote on 6 May 2018 17:22
(address . control@debbugs.gnu.org)
87po28n700.fsf@gnu.org
tags 31367 unreproducible
L
L
Ludovic Courtès wrote on 6 May 2018 17:23
control message for bug #28144
(address . control@debbugs.gnu.org)
87o9hsn6zn.fsf@gnu.org
merge 28144 31367
G
G
George Clemmer wrote on 6 May 2018 20:13
Re: bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils)
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 31367@debbugs.gnu.org)
87bmdsabzc.fsf@gmail.com
Hi Ludo’,
Ludovic Courtès writes:
Toggle quote (4 lines)> 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 ;-)
R
R
Roel Janssen wrote on 25 May 2018 11:28
(name . Ludovic Courtès)(address . ludo@gnu.org)
87r2m0gk3b.fsf@gnu.org
Ludovic Courtès <ludo@gnu.org> writes:
Toggle quote (34 lines)> 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 withversion 217af8ae7. Is there a work-around?
Kind regards,Roel Janssen
R
R
Ricardo Wurmus wrote on 25 May 2018 11:56
(name . Roel Janssen)(address . roel@gnu.org)
878t88awjo.fsf@elephly.net
Roel Janssen <roel@gnu.org> writes:
Toggle quote (3 lines)> 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 thecompilation only uses a single core.
--Ricardo
R
R
Roel Janssen wrote on 25 May 2018 12:01
(name . Ricardo Wurmus)(address . ricardo.wurmus@mdc-berlin.de)
87po1kgik9.fsf@gnu.org
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
Toggle quote (7 lines)> 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.
Toggle quote (4 lines)>> 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 thecommand-line?
Kind regards,Roel Janssen
L
L
Ludovic Courtès wrote on 25 May 2018 12:03
(name . Roel Janssen)(address . roel@gnu.org)
87k1rs3vcm.fsf@gnu.org
Roel Janssen <roel@gnu.org> skribis:
Toggle quote (39 lines)> 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’.
R
R
Roel Janssen wrote on 25 May 2018 14:22
(name . Ludovic Courtès)(address . ludo@gnu.org)
87o9h3hqm2.fsf@gnu.org
Ludovic Courtès <ludo@gnu.org> writes:
Toggle quote (43 lines)> 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
C
C
Chris Marusich wrote on 10 Aug 2018 08:46
Re: Processed (with 1 errors): Reopen 32385 and merge with 28144
(name . GNU bug tracker automated control server)(address . control@debbugs.gnu.org)
871sb690rp.fsf@gmail.com
severity 32385 importantmerge 32385 28144thanks-- Chris
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlttNNoACgkQ3UCaFdgiRp0g9RAAprTGEFVcZV+5hyJx4pH4DSe2/WaGsb+6MkgI2ppky8z+OS1uTdwsU4+GESwGdphAWftooI1GCHFnbTaphwhlopcI+MHS3s7MR4UgIut4QLZaWy1ATFeIviYgRLTF8t8eKI48Pr49WncPwTeErbtKr7SBELAjbMoVqa/qixDycexXVk7KE1aJ17mgd7iIRUpbGTyhXhpk2bAiMy+7xId4Gp0Aazqo/5m31pDQbYbq7tpZBlgMiSgNbPa6oCLMqMJzbr/4eqnGzJVrR/UCOXLzpCsjlKzsT9OMoUHMD0FdPkYEbQJOiVSa4qe8YDF1CNbN/7pMfainLDWyP3EB8uHgJFBYJEUF/11306BjsFfBxzPmTimy6qlXlfCfEEsvzrMSRoXtgC9OrGo3C4Q89zt7Kv/WfmRRaaCfgmnf9jLkuFWzYrzLYXfhy4LG+o1ZP10yud1/sSyuH12gfyhO6JXIFNG4BqYKm16QfWqyEmc3TgF3GSH7N1bNehLsrbfiEmtXoKT5ZM5NnzXSbhh8gBRg8ZVgKqmrHOGPt6e0aYX4yMDfbQUn8cL/1ucOohEo7Oq0lwdX7GetRLwZaGwhob8HdDzLTy6uDyBaEklmwR7jU2V4rFhUiGa5NUmLD0HQV8RV6fYOQkFSGLTltzF0YR7gbrTmjGL/LHAjdICjIvnGUho==Kd9j-----END PGP SIGNATURE-----
G
G
George Clemmer wrote on 14 Dec 2018 02:32
Re: bug#31367: ERROR: In procedure scm-error: no code for module (guix build utils)
(address . 31367@debbugs.gnu.org)
cucwoocopux.fsf@gmail.com
ludo@gnu.org (Ludovic Courtès) writes:
Toggle quote (48 lines)> 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 usingguix (GNU Guix) 0.16.0.131-ce3fe and guile (GNU Guile) 2.2.4. The abovementioned workaround does seem to "work". At the moment, I have severalexamples of the error in my store. Please advise if it would helpful toprovide these and, if so , what you want to see.
TIA, George
L
L
Ludovic Courtès wrote on 6 Feb 2019 21:57
control message for bug #28144
(address . control@debbugs.gnu.org)
87imxw8wjw.fsf@gnu.org
severity 28144 serious
L
L
Ludovic Courtès wrote on 6 Feb 2019 21:57
control message for bug #27476
(address . control@debbugs.gnu.org)
87h8dg8wjq.fsf@gnu.org
merge 27476 28144
L
L
Ludovic Courtès wrote on 9 Feb 2019 23:11
(address . control@debbugs.gnu.org)
87sgwwpq85.fsf@gnu.org
reassign 27476 guile
?