unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
To: ludo@gnu.org (Ludovic Courtès)
Cc: guile-devel@gnu.org
Subject: Re: GOOPS/compiler circular dependency
Date: Thu, 03 Dec 2009 21:09:15 +0000	[thread overview]
Message-ID: <87d42vpxxg.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <874oogc4zk.fsf@gnu.org> ("Ludovic Courtès"'s message of "Fri, 27 Nov 2009 17:22:23 +0100")

ludo@gnu.org (Ludovic Courtès) writes:

[...]
> ERROR: In procedure scm-error:
> ERROR: no such language glil

Here's a similar looking case from me.

neil@arudy:~/SW/Guile/git$ meta/uninstalled-env guile --debug ../test-nj
Backtrace:
In ice-9/boot-9.scm:
2368: 19 [try-module-autoload (language glil)]
2371: 18 [#<program 934e760 at ice-9/boot-9.scm:2369:12 ()>]
1776: 17 [save-module-excursion #<program 934e6d0 at ice-9/boot-9.scm:2373:19 ()>]
2375: 16 [#<program 934e6d0 at ice-9/boot-9.scm:2373:19 ()>]
In unknown file:
   ?: 15 [#<program 934e5c0 ()>]
In ice-9/boot-9.scm:
2205: 14 [process-define-module ((language glil) #:use-module (#) #:use-module ...)]
1481: 13 [call-with-deferred-observers #<program 93596e0 at ice-9/boot-9.scm:2205:11 ()>]
2208: 12 [#<program 93596e0 at ice-9/boot-9.scm:2205:11 ()>]
3053: 11 [module-export! # #]
3054: 10 [#<program 9359680 at ice-9/boot-9.scm:3052:14 (name)> glil-kw-prelude-rest]
1702: 9 [module-ensure-local-variable! #<directory # 92501f8> glil-kw-prelude-rest]
1474: 8 [module-modified #<directory (language glil) 92501f8>]
In oop/goops/dispatch.scm:
 200: 7 [#<program 9340690 at oop/goops/dispatch.scm:195:4 args> # #]
 181: 6 [comp # #]
In system/base/compile.scm:
 239: 5 [compile (lambda (p45 c44 p43 ...) (case-lambda (# #) (args #))) #:key ...]
 178: 4 [compile-passes scheme value ()]
In system/base/language.scm:
  87: 3 [lookup-compilation-order scheme value]
In ice-9/boot-9.scm:
 129: 2 [or-map #<program 935ee00 at system/base/language.scm:79:21 (pair)> (#)]
In system/base/language.scm:
  77: 1 [lp tree-il ((# . #<program compile-tree-il (x e opts)>))]
In ice-9/boot-9.scm:
 692: 0 [error "no such language" tree-il]

ERROR: no such language tree-il
neil@arudy:~/SW/Guile/git$ 

This happened during investigation of the
no-meta-in-compiled-define-syntax-thunk problem.  I wondered if the
problem would persist if I could persuade psyntax to emit scheme instead
of tree-il when compiling - the hypothesis being that the bug is
somewhere in one of the `(case (fluid-ref *mode*) ((c) ...' fragments of
code in psyntax.scm.

So in language/scheme/compile-tree-il.scm I changed (sc-expand x 'c ...)
to (sc-expand x 'd ...), and since then have been stuck with "no such
language tree-il".

      Neil





  parent reply	other threads:[~2009-12-03 21:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-27 16:22 GOOPS/compiler circular dependency Ludovic Courtès
2009-12-02 20:57 ` Neil Jerram
2009-12-03 21:09 ` Neil Jerram [this message]
2009-12-14 22:27 ` Ludovic Courtès

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=87d42vpxxg.fsf@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=guile-devel@gnu.org \
    --cc=ludo@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).