hello! I’m not sure this is an issue on my end or of guile hoot 0.3.0, but going to the Info manual, and trying the first examples in a Geiser REPL (guile 3.0.9), I’m left with the following error and the REPL closing:
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument
GNU Guile 3.0.9
Copyright (C) 1995-2023 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> ,use (hoot compile)
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/hoot/compile.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/hoot/compile.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /home/davd33/.guix-profile/share/guile/site/3.0/hoot/compile.scm
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/language/cps/hoot.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/language/cps/hoot.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; compiling /home/davd33/.guix-profile/share/guile/site/3.0/language/cps/hoot.scm
;;; WARNING: compilation of /home/davd33/.guix-profile/share/guile/site/3.0/language/cps/hoot.scm failed:
;;; In procedure resolve-interface: no binding `primcall-raw-representations' in module (language cps utils)
;;; WARNING: compilation of /home/davd33/.guix-profile/share/guile/site/3.0/hoot/compile.scm failed:
;;; In procedure resolve-interface: no binding `primcall-raw-representations' in module (language cps utils)
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/hoot/library-group.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/hoot/library-group.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/hoot/inline-wasm.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/hoot/inline-wasm.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; compiling /home/davd33/.guix-profile/share/guile/site/3.0/hoot/inline-wasm.scm
;;; WARNING: compilation of /home/davd33/.guix-profile/share/guile/site/3.0/hoot/inline-wasm.scm failed:
;;; In procedure resolve-interface: no binding `add-primcall-effect-analyzer!' in module (language tree-il effects)
While executing meta-command:
In procedure resolve-interface: no binding `add-primcall-effect-analyzer!' in module (language tree-il effects)
scheme@(guile-user)> ,use (hoot reflect)
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/hoot/reflect.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/hoot/reflect.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/hoot/config.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/hoot/config.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/wasm/canonical-types.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/wasm/canonical-types.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/wasm/types.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/wasm/types.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/wasm/parse.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/wasm/parse.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/wasm/vm.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/wasm/vm.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/wasm/stack.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; WARNING: loading compiled file /home/davd33/.guix-profile/lib/guile/3.0/site-ccache/wasm/stack.go failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
scheme@(guile-user)> (define the-answer (compile 42))
scheme@(guile-user)> (define instance (hoot-instantiate the-answer))
jit.c:3855: fatal: assertion failed
Should I create an issue in Gitlab, or could someone help me?
Could it be an issue with my guix configuration?
Thank you,
David Rueda