GNU bug report logs -
#39301
Guile warnings printed upon reconfigure due to 3.0/2.2 mismatch
Previous Next
Full log
Message #20 received at 39301-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Ludovic Courtès <ludo <at> gnu.org> skribis:
> strypsteen <at> posteo.net skribis:
>
>> Whenever running "sudo guix system reconfigure /path/to/config.scm I
>> get the following warnings:
>>
>> building
>> /gnu/store/vpazjd711byj3jszh7jrk5d8lq51077g-switch-to-system.scm.drv...
>> ;;; WARNING: loading compiled file
>> /gnu/store/5bd6ywmfcxxa4gvpzg0pdbjwmf24cxkl-module-import-compiled/gnu/build/activation.go
>> failed:
>> ;;; In procedure load-thunk-from-memory: incompatible bytecode kind
>> ;;; compiling
[...]
> All these warnings are harmless and stem from the Guile 2.2/3.0
> transition. Specifically, it comes from the fact that ‘guix system
> reconfigure’ evaluates this code with the host Guile (in this case 3.0),
> whereas the modules are built for 2.2, which is what the Shepherd
> depends on.
>
> The culprit is ‘local-eval’ in (guix scripts system), which simply uses
> ‘primitive-eval’ to evaluate the code, thus disregarding the Guile
> version that should be used.
>
> One possibility would be to instead evaluate the expression in a
> separate Guile process for the intended Guile version.
It turns out to be easy to implement, and better than let people be
confused when they install the new release.
Done in commit 5517750344be05c91bc2979c1a0e2348a9ae902d.
Thanks,
Ludo’.
This bug report was last modified 2 years and 106 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.