guile-user
[Top][All Lists]
Advanced

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

Re: guild compile unknown character name ??


From: Ludovic Courtès
Subject: Re: guild compile unknown character name ??
Date: Sat, 16 May 2020 22:47:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi,

Kovacsics Róbert <address@hidden> skribis:

> 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

Could you check what’s in inspekt3d/library.scm, line 410, column 18?

This error happens in a character literal with an invalid name, for
example:

  #\abc

Perhaps say name is a Unicode character (say λ) but the ‘guild’ process
is not running under an appropriate locale.

HTH,
Ludo’.




reply via email to

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