unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Matt Wette <matt.wette@gmail.com>
To: 32164@debbugs.gnu.org
Subject: bug#32164: guile --language=xxx fails with outdated go file
Date: Sun, 15 Jul 2018 09:03:46 -0700	[thread overview]
Message-ID: <5f97fc86-253a-cc6b-ceb6-ea4ba161160c@gmail.com> (raw)

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	other threads:[~2018-07-15 16:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-15 16:03 Matt Wette [this message]
2018-07-15 16:05 ` bug#32164: guile --language=xxx Matt Wette

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=5f97fc86-253a-cc6b-ceb6-ea4ba161160c@gmail.com \
    --to=matt.wette@gmail.com \
    --cc=32164@debbugs.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).