I'm building Haunt on Ubuntu 20.04 and Guile 3.0.1 (comes with Ubuntu) and I'm running into some issues
I don't want to ask directly to David Thompson because recently he wrote on the fediverse about some tragic and emotionally draining events that hit him and his family I'd like to work around these issues for the time being and revive my blog, possibly with some help When David will be back we'll see. Hi David ! Hugs ! So, here's the issues: Some uses of "load" made the build process to emit some warnings about the modules not being immutable and a suggestion to add :#declarative? #t to the modules declaration I did so and those warning disappeared But some others remained and they could relates, as far as I know ./configure ... make ... ;;; WARNING: loading compiled file /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/serve/web-server.go failed: ;;; In procedure load-thunk-from-memory: incompatible bytecode kind ;;; WARNING: loading compiled file /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/serve/mime-types.go failed: ;;; In procedure load-thunk-from-memory: incompatible bytecode kind this warning is repeated over and over again This is the complete run $ make Making all in example make[1]: ingresso nella directory "/home/adriano/progetti/guile-related/haunt/example" make[1]: Nessuna operazione da eseguire per "all". make[1]: uscita dalla directory "/home/adriano/progetti/guile-related/haunt/example" Making all in website make[1]: ingresso nella directory "/home/adriano/progetti/guile-related/haunt/website" make[1]: Nessuna operazione da eseguire per "all". make[1]: uscita dalla directory "/home/adriano/progetti/guile-related/haunt/website" make[1]: ingresso nella directory "/home/adriano/progetti/guile-related/haunt" GEN haunt/config.go wrote `haunt/config.go' GEN haunt/utils.go wrote `haunt/utils.go' GEN haunt/post.go wrote `haunt/post.go' GEN haunt/page.go wrote `haunt/page.go' GEN haunt/asset.go wrote `haunt/asset.go' GEN haunt/site.go ;;; note: source file /home/adriano/progetti/guile-related/haunt/haunt/reader.scm ;;; newer than compiled /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/reader.go wrote `haunt/site.go' GEN haunt/html.go wrote `haunt/html.go' GEN haunt/builder/assets.go ;;; note: source file /home/adriano/progetti/guile-related/haunt/haunt/reader.scm ;;; newer than compiled /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/reader.go wrote `haunt/builder/assets.go' GEN haunt/builder/atom.go ;;; note: source file /home/adriano/progetti/guile-related/haunt/haunt/reader.scm ;;; newer than compiled /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/reader.go ;;; WARNING: loading compiled file /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/serve/mime-types.go failed: ;;; In procedure load-thunk-from-memory: incompatible bytecode kind wrote `haunt/builder/atom.go' GEN haunt/builder/blog.go ;;; note: source file /home/adriano/progetti/guile-related/haunt/haunt/reader.scm ;;; newer than compiled /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/reader.go wrote `haunt/builder/blog.go' GEN haunt/builder/rss.go ;;; note: source file /home/adriano/progetti/guile-related/haunt/haunt/reader.scm ;;; newer than compiled /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/reader.go ;;; WARNING: loading compiled file /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/serve/mime-types.go failed: ;;; In procedure load-thunk-from-memory: incompatible bytecode kind wrote `haunt/builder/rss.go' GEN haunt/reader.go wrote `haunt/reader.go' GEN haunt/reader/texinfo.go wrote `haunt/reader/texinfo.go' GEN haunt/ui.go wrote `haunt/ui.go' GEN haunt/ui/build.go wrote `haunt/ui/build.go' GEN haunt/ui/serve.go ;;; WARNING: loading compiled file /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/serve/web-server.go failed: ;;; In procedure load-thunk-from-memory: incompatible bytecode kind ;;; WARNING: loading compiled file /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/serve/mime-types.go failed: ;;; In procedure load-thunk-from-memory: incompatible bytecode kind wrote `haunt/ui/serve.go' GEN haunt/serve/mime-types.go wrote `haunt/serve/mime-types.go' GEN haunt/serve/web-server.go wrote `haunt/serve/web-server.go' GEN haunt/reader/commonmark.go wrote `haunt/reader/commonmark.go' make[1]: uscita dalla directory "/home/adriano/progetti/guile-related/haunt" What is this all about ? Why are any modules not compatible ? How do I solve this ? Should I resort to guile 2.x in order to keep using Haunt for the time being ? Thanks