unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: guile-user@gnu.org
Subject: Re: guild compile unknown character name ??
Date: Sat, 16 May 2020 22:47:36 +0200	[thread overview]
Message-ID: <87pnb3obdj.fsf@gnu.org> (raw)
In-Reply-To: CABPkNKk9JC7yYS3B2rWJLJQ0U=RaMRiF8kOJQu0vTh=U7Q-5Vw@mail.gmail.com

Hi,

Kovacsics Róbert <kovirobi@gmail.com> 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	other threads:[~2020-05-16 20:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-05 21:09 guild compile unknown character name ?? Kovacsics Róbert
2020-05-16 20:47 ` Ludovic Courtès [this message]
2020-11-24  3:34   ` Ben Sima

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnb3obdj.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).