guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guild compile unknown character name ??


From: Kovacsics Róbert
Subject: guild compile unknown character name ??
Date: Tue, 5 May 2020 22:09:18 +0100

Hi,

I have an odd error, which is (while compiling
https://gitlab.com/kavalogic-inc/inspekt3d/)

# compile-env sets
# 
GUILE_LOAD_PATH=/build/sourceRoot:/nix/store/nn2981g1l78gw55w6994qcliv4877p5h-guile-opengl-0.1.0/share/guile/site/2.2:/nix/store/drd0g592qs11nzh9vfqd8vg6ijq6vdnz-libfive-unstable-2020-02-15/share/guile/site:/nix/store/nn2981g1l78gw55w6994qcliv4877p5h-guile-opengl-0.1.0/share/guile/site/2.2:/nix/store/drd0g592qs11nzh9vfqd8vg6ijq6vdnz-libfive-unstable-2020-02-15/share/guile/site
# 
GUILE_LOAD_COMPILED_PATH=/build/sourceRoot:/build/sourceRoot:/nix/store/nn2981g1l78gw55w6994qcliv4877p5h-guile-opengl-0.1.0/share/guile/site/2.2:/nix/store/drd0g592qs11nzh9vfqd8vg6ijq6vdnz-libfive-unstable-2020-02-15/share/guile/site:/nix/store/nn2981g1l78gw55w6994qcliv4877p5h-guile-opengl-0.1.0/share/guile/site/2.2:/nix/store/drd0g592qs11nzh9vfqd8vg6ijq6vdnz-libfive-unstable-2020-02-15/share/guile/site

./compile-env /nix/store/6vazrblhsyafnn13iwj6mc9gg6cf8pjv-guile-2.2.7/bin/guild
compile -Wunbound-variable -Warity-mismatch -Wformat -o
"inspekt3d/library.go" "inspekt3d/library.scm"
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /nix/store/6vazrblhsyafnn13iwj6mc9gg6cf8pjv-guile-2.2.7/bin/guild
;;; WARNING: compilation of
/nix/store/6vazrblhsyafnn13iwj6mc9gg6cf8pjv-guile-2.2.7/bin/guild
failed:
;;; failed to create path for auto-compiled file
"/nix/store/6vazrblhsyafnn13iwj6mc9gg6cf8pjv-guile-2.2.7/bin/guild"
ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
In procedure scm_lreadr: #<unknown port>:410:18: unknown character name ??
make: *** [Makefile:763: inspekt3d/library.go] Error 1

What makes it odd, is that when I set the GUILE_*_PATHs and execute
the `/nix/.../guild compile` command, it compiles fine. It's the same
guild executable, the same files, so not sure why it's not working
inside a nix builder, but working outside it. Mainly asking if anyone
has a way I could try to debug it (guild/guile side) or any intuition
of why it might not be happy. From the nix side, this guild compile is
being ran in a sandbox, perhaps it cannot access some file (and thus
gets an EOF or something it cannot access), and the error message is
just unhelpful?

Here is the build log, with strace on the guild command, it seems to
be able to find the "libfive-guile.so" from the load-extension

Thanks,
Robert

Attachment: build.log
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]