From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: GOOPS/compiler circular dependency Date: Thu, 03 Dec 2009 21:09:15 +0000 Message-ID: <87d42vpxxg.fsf@ossau.uklinux.net> References: <874oogc4zk.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1259874626 27386 80.91.229.12 (3 Dec 2009 21:10:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 21:10:26 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Dec 03 22:10:19 2009 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NGIwG-0008SQ-6s for guile-devel@m.gmane.org; Thu, 03 Dec 2009 22:10:12 +0100 Original-Received: from localhost ([127.0.0.1]:53180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGIwF-0005nm-MK for guile-devel@m.gmane.org; Thu, 03 Dec 2009 16:10:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGIwC-0005nY-UZ for guile-devel@gnu.org; Thu, 03 Dec 2009 16:10:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGIw8-0005n5-BF for guile-devel@gnu.org; Thu, 03 Dec 2009 16:10:08 -0500 Original-Received: from [199.232.76.173] (port=35679 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGIw8-0005n2-3d for guile-devel@gnu.org; Thu, 03 Dec 2009 16:10:04 -0500 Original-Received: from mail3.uklinux.net ([80.84.72.33]:52314) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGIw3-0003pB-LP; Thu, 03 Dec 2009 16:09:59 -0500 Original-Received: from arudy (host86-145-153-90.range86-145.btcentralplus.com [86.145.153.90]) by mail3.uklinux.net (Postfix) with ESMTP id 7C5731F6857; Thu, 3 Dec 2009 21:09:20 +0000 (GMT) Original-Received: from arudy (arudy [127.0.0.1]) by arudy (Postfix) with ESMTP id 60AB838024; Thu, 3 Dec 2009 21:09:16 +0000 (GMT) In-Reply-To: <874oogc4zk.fsf@gnu.org> ("Ludovic =?iso-8859-1?Q?Court=E8s?= =?iso-8859-1?Q?=22's?= message of "Fri, 27 Nov 2009 17:22:23 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:9734 Archived-At: ludo@gnu.org (Ludovic Court=E8s) 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 [#] 1776: 17 [save-module-excursion #] 2375: 16 [#] In unknown file: ?: 15 [#] In ice-9/boot-9.scm: 2205: 14 [process-define-module ((language glil) #:use-module (#) #:use-mod= ule ...)] 1481: 13 [call-with-deferred-observers #] 2208: 12 [#] 3053: 11 [module-export! # #] 3054: 10 [# glil-kw-pre= lude-rest] 1702: 9 [module-ensure-local-variable! # glil-kw-prelu= de-rest] 1474: 8 [module-modified #] In oop/goops/dispatch.scm: 200: 7 [# # #] 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 #= (#)] In system/base/language.scm: 77: 1 [lp tree-il ((# . #))] 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$=20 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