bug-guile
[Top][All Lists]
Advanced

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

bug#32164: guile --language=xxx fails with outdated go file


From: Matt Wette
Subject: bug#32164: guile --language=xxx fails with outdated go file
Date: Sun, 15 Jul 2018 09:03:46 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

If using ``--language='' option with `guile' and one of the language source
files is newer than the .go file, guile will fail with "no such language".
See below.  Apparently the file is compiled.  I'm guessing this could be an
issue a circular dependency.

mwette$ guile --language=javascript ,zz.js
mwette$ touch separser.scm
mwette$ guile --language=javascript ,zz.js
;;; note: source file 
/home/mwette/repo/sv/nyacc-modev/examples/nyacc/lang/javascript/separser.scm
;;;       newer than compiled 
/home/mwette/.cache/guile/ccache/2.2-LE-8-3.A/home/mwette/repo/sv/nyacc-modev/examples/nyacc/lang/javascript/separser.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling 
/home/mwette/repo/sv/nyacc-modev/examples/nyacc/lang/javascript/separser.scm
;;; WARNING: compilation of 
/home/mwette/repo/sv/nyacc-modev/examples/nyacc/lang/javascript/separser.scm 
failed:
;;; no such language javascript
mwette$ guild compile separser.scm
wrote 
`/home/mwette/.cache/guile/ccache/2.2-LE-8-3.A/home/mwette/repo/sv/nyacc-modev/examples/nyacc/lang/javascript/separser.scm.go'
mwette$ guile --language=javascript ,zz.js
mwette$






reply via email to

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