unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39301: imported module (guix build utils) overrides core binding `delete'
@ 2020-01-26 20:35 strypsteen
  2020-02-02 21:14 ` Ludovic Courtès
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: strypsteen @ 2020-01-26 20:35 UTC (permalink / raw)
  To: 39301

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 
/gnu/store/p8miza2mpnjdlpmh8504dm9xz2q9nvfr-module-import/gnu/build/activation.scm
;;; WARNING: loading compiled file 
/gnu/store/5bd6ywmfcxxa4gvpzg0pdbjwmf24cxkl-module-import-compiled/gnu/build/accounts.go 
failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; compiling 
/gnu/store/p8miza2mpnjdlpmh8504dm9xz2q9nvfr-module-import/gnu/build/accounts.scm
;;; compiled 
/root/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/p8miza2mpnjdlpmh8504dm9xz2q9nvfr-module-import/gnu/build/accounts.scm.go
;;; compiled 
/root/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/p8miza2mpnjdlpmh8504dm9xz2q9nvfr-module-import/gnu/build/activation.scm.go
making '/gnu/store/iym6z6hkmdc1x0l1vh4bm08vmsiics2p-system' the current 
system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/8g5f1kbidns7jrqaxqjldkdldl78zv0n-etc...
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 
100.0%
building 
/gnu/store/pxmi01rf7rpcbgx2j041k01xsr9grm1c-module-import-compiled.drv...
building 
/gnu/store/alamdi63ns0ahis93jz1x4cndy4w09gf-install-bootloader.scm.drv...
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'
;;; WARNING: loading compiled file 
/gnu/store/62gvwndkddaq6203mrisshgiv13kkgcd-module-import-compiled/gnu/build/bootloader.go 
failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode kind
;;; compiling 
/gnu/store/wamhgn5mhgzf9mgp9gxx3w6jn64hw4yc-module-import/gnu/build/bootloader.scm
;;; compiled 
/root/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/wamhgn5mhgzf9mgp9gxx3w6jn64hw4yc-module-import/gnu/build/bootloader.scm.go
guix system: bootloader successfully installed on '/boot/efi'
WARNING: (guile-user): imported module (guix build utils) overrides core 
binding `delete'

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

* bug#39301: imported module (guix build utils) overrides core binding `delete'
  2020-01-26 20:35 bug#39301: imported module (guix build utils) overrides core binding `delete' strypsteen
@ 2020-02-02 21:14 ` Ludovic Courtès
  2020-02-02 22:59   ` Gábor Boskovits
  2020-04-02 21:19   ` Ludovic Courtès
       [not found] ` <handler.39301.D39301.158586239323364.notifdone@debbugs.gnu.org>
  2023-02-26 23:27 ` bug#39301: Guile warnings printed upon reconfigure due to 3.0/2.2 mismatch Maxime Devos
  2 siblings, 2 replies; 6+ messages in thread
From: Ludovic Courtès @ 2020-02-02 21:14 UTC (permalink / raw)
  To: strypsteen; +Cc: 39301

Hello!

strypsteen@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

[...]

> building
> /gnu/store/alamdi63ns0ahis93jz1x4cndy4w09gf-install-bootloader.scm.drv...
> WARNING: (guile-user): imported module (guix build utils) overrides
> core binding `delete'
> ;;; WARNING: loading compiled file
> /gnu/store/62gvwndkddaq6203mrisshgiv13kkgcd-module-import-compiled/gnu/build/bootloader.go
> failed:
> ;;; In procedure load-thunk-from-memory: incompatible bytecode kind
> ;;; compiling
> /gnu/store/wamhgn5mhgzf9mgp9gxx3w6jn64hw4yc-module-import/gnu/build/bootloader.scm
> ;;; compiled
> /root/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/wamhgn5mhgzf9mgp9gxx3w6jn64hw4yc-module-import/gnu/build/bootloader.scm.go
> guix system: bootloader successfully installed on '/boot/efi'
> WARNING: (guile-user): imported module (guix build utils) overrides
> core binding `delete'

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.

I’m not sure it’s worth it though.  The warnings will hopefully
disappear soon when we upgrade everything to 3.0.

Thoughts?

Ludo’.

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

* bug#39301: imported module (guix build utils) overrides core binding `delete'
  2020-02-02 21:14 ` Ludovic Courtès
@ 2020-02-02 22:59   ` Gábor Boskovits
  2020-04-02 21:19   ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Gábor Boskovits @ 2020-02-02 22:59 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: strypsteen, 39301

[-- Attachment #1: Type: text/plain, Size: 2299 bytes --]

Ludovic Courtès <ludo@gnu.org> ezt írta (időpont: 2020. febr. 2., Vas
22:15):

> Hello!
>
> strypsteen@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
>
> [...]
>
> > building
> > /gnu/store/alamdi63ns0ahis93jz1x4cndy4w09gf-install-bootloader.scm.drv...
> > WARNING: (guile-user): imported module (guix build utils) overrides
> > core binding `delete'
> > ;;; WARNING: loading compiled file
> >
> /gnu/store/62gvwndkddaq6203mrisshgiv13kkgcd-module-import-compiled/gnu/build/bootloader.go
> > failed:
> > ;;; In procedure load-thunk-from-memory: incompatible bytecode kind
> > ;;; compiling
> >
> /gnu/store/wamhgn5mhgzf9mgp9gxx3w6jn64hw4yc-module-import/gnu/build/bootloader.scm
> > ;;; compiled
> >
> /root/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/wamhgn5mhgzf9mgp9gxx3w6jn64hw4yc-module-import/gnu/build/bootloader.scm.go
> > guix system: bootloader successfully installed on '/boot/efi'
> > WARNING: (guile-user): imported module (guix build utils) overrides
> > core binding `delete'
>
> 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.
>
> I’m not sure it’s worth it though.  The warnings will hopefully
> disappear soon when we upgrade everything to 3.0.
>
> Thoughts?
>

I believe it is ok to wait until the transition complete.


> Ludo’.
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 3251 bytes --]

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

* bug#39301: imported module (guix build utils) overrides core binding `delete'
  2020-02-02 21:14 ` Ludovic Courtès
  2020-02-02 22:59   ` Gábor Boskovits
@ 2020-04-02 21:19   ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2020-04-02 21:19 UTC (permalink / raw)
  To: strypsteen; +Cc: 39301-done

Hi,

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

> strypsteen@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’.

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

* bug#39301: closed (Re: bug#39301: imported module (guix build utils) overrides core binding `delete')
       [not found] ` <handler.39301.D39301.158586239323364.notifdone@debbugs.gnu.org>
@ 2020-04-03 10:59   ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2020-04-03 10:59 UTC (permalink / raw)
  To: strypsteen, 39301

Hi,

help-debbugs@gnu.org (GNU bug Tracking System) skribis:

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

That was misguided because it removed all error checks.

Fixed in 9fb3ff31c15f36545bad11c1d9b11eaf0333f831, this time for good, I
hope!

Ludo’.

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

* bug#39301: Guile warnings printed upon reconfigure due to 3.0/2.2 mismatch
  2020-01-26 20:35 bug#39301: imported module (guix build utils) overrides core binding `delete' strypsteen
  2020-02-02 21:14 ` Ludovic Courtès
       [not found] ` <handler.39301.D39301.158586239323364.notifdone@debbugs.gnu.org>
@ 2023-02-26 23:27 ` Maxime Devos
  2 siblings, 0 replies; 6+ messages in thread
From: Maxime Devos @ 2023-02-26 23:27 UTC (permalink / raw)
  To: 39301, ludo, strypsteen, Gábor Boskovits


[-- Attachment #1.1.1: Type: text/plain, Size: 2806 bytes --]

These kind of errors happen again:

$ guix system build /etc/config.scm
/etc/config.scm:233:14: waarschuwing: the 'target' field is deprecated, 
please use 'targets' instead
substitute: lijst van substituten van ‘https://ci.guix.gnu.org’ aan het 
bijwerken... 100.0%
substitute: lijst van substituten van ‘https://bordeaux.guix.gnu.org’ 
aan het bijwerken... 100.0%
substitute: lijst van substituten van ‘https://substitutes.nonguix.org’ 
aan het bijwerken... 100.0%
The following derivations will be built:
   /gnu/store/f0s8dnja8qli9qclpprlkj43nma54pm2-system.drv
   /gnu/store/2qlkyj3cgbfykqg3frqmyadq8k2brckn-boot.drv
   /gnu/store/mcilwp3nrjh8sg6fw98xs2j1bk3s5da4-shepherd.conf.drv
   /gnu/store/023jq2rnz9ilww080676qwnl2arz2q80-shepherd-cups.go.drv
   /gnu/store/7kgzwyy4rajwdkm6qgb11asgpqxb2pfw-shepherd-cups.scm.drv
/gnu/store/7kgzwyy4rajwdkm6qgb11asgpqxb2pfw-shepherd-cups.scm.drv bouwen...
/gnu/store/7kgzwyy4rajwdkm6qgb11asgpqxb2pfw-shepherd-cups.scm.drv 
succesvol gebouwd
/gnu/store/023jq2rnz9ilww080676qwnl2arz2q80-shepherd-cups.go.drv bouwen...
;;; WARNING: loading compiled file 
/gnu/store/4nw0zb4swga0cb8i35nvng3rg6z5qm8p-shepherd-0.9.3/lib/guile/3.0/site-ccache/shepherd/service.go 
failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file 
/gnu/store/4nw0zb4swga0cb8i35nvng3rg6z5qm8p-shepherd-0.9.3/lib/guile/3.0/site-ccache/shepherd/support.go 
failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file 
/gnu/store/4nw0zb4swga0cb8i35nvng3rg6z5qm8p-shepherd-0.9.3/lib/guile/3.0/site-ccache/shepherd/config.go 
failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file 
/gnu/store/4nw0zb4swga0cb8i35nvng3rg6z5qm8p-shepherd-0.9.3/lib/guile/3.0/site-ccache/shepherd/comm.go 
failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file 
/gnu/store/4nw0zb4swga0cb8i35nvng3rg6z5qm8p-shepherd-0.9.3/lib/guile/3.0/site-ccache/shepherd/system.go 
failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
/gnu/store/023jq2rnz9ilww080676qwnl2arz2q80-shepherd-cups.go.drv 
succesvol gebouwd
/gnu/store/mcilwp3nrjh8sg6fw98xs2j1bk3s5da4-shepherd.conf.drv bouwen...
/gnu/store/mcilwp3nrjh8sg6fw98xs2j1bk3s5da4-shepherd.conf.drv succesvol 
gebouwd
/gnu/store/2qlkyj3cgbfykqg3frqmyadq8k2brckn-boot.drv bouwen...
/gnu/store/2qlkyj3cgbfykqg3frqmyadq8k2brckn-boot.drv succesvol gebouwd
/gnu/store/f0s8dnja8qli9qclpprlkj43nma54pm2-system.drv bouwen...
/gnu/store/f0s8dnja8qli9qclpprlkj43nma54pm2-system.drv succesvol gebouwd
/gnu/store/fw1da6r6y4f1k8ddrfq4rr5xlgm9gzsc-system

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

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

end of thread, other threads:[~2023-02-26 23:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-26 20:35 bug#39301: imported module (guix build utils) overrides core binding `delete' strypsteen
2020-02-02 21:14 ` Ludovic Courtès
2020-02-02 22:59   ` Gábor Boskovits
2020-04-02 21:19   ` Ludovic Courtès
     [not found] ` <handler.39301.D39301.158586239323364.notifdone@debbugs.gnu.org>
2020-04-03 10:59   ` bug#39301: closed (Re: bug#39301: imported module (guix build utils) overrides core binding `delete') Ludovic Courtès
2023-02-26 23:27 ` bug#39301: Guile warnings printed upon reconfigure due to 3.0/2.2 mismatch Maxime Devos

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