From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.lisp.guile.devel Subject: stable-2.0: In procedure module-lookup: Unbound variable: for-each Date: Wed, 16 Mar 2011 14:21:15 +0100 Organization: www.AvatarAcademy.nl Message-ID: <1300281675.12298.321.camel@vuurvlieg> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-hBFtJ7lSj/ibWemzc51b" X-Trace: dough.gmane.org 1300281707 23211 80.91.229.12 (16 Mar 2011 13:21:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Mar 2011 13:21:47 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 16 14:21:43 2011 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.69) (envelope-from ) id 1PzqfU-0008Qi-0Y for guile-devel@m.gmane.org; Wed, 16 Mar 2011 14:21:42 +0100 Original-Received: from localhost ([127.0.0.1]:45770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzqfO-0007qE-UU for guile-devel@m.gmane.org; Wed, 16 Mar 2011 09:21:35 -0400 Original-Received: from [140.186.70.92] (port=40157 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzqfE-0007mc-1D for guile-devel@gnu.org; Wed, 16 Mar 2011 09:21:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pzqf7-0008HL-BY for guile-devel@gnu.org; Wed, 16 Mar 2011 09:21:20 -0400 Original-Received: from smtp-vbr19.xs4all.nl ([194.109.24.39]:2227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pzqf7-0008G1-3K for guile-devel@gnu.org; Wed, 16 Mar 2011 09:21:17 -0400 Original-Received: from [192.168.1.112] (peder.onsbrabantnet.nl [88.159.206.46] (may be forged)) (authenticated bits=0) by smtp-vbr19.xs4all.nl (8.13.8/8.13.8) with ESMTP id p2GDLFnN097792; Wed, 16 Mar 2011 14:21:15 +0100 (CET) (envelope-from janneke-list@xs4all.nl) X-Mailer: Evolution 2.30.3 X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-operating-system: by eggs.gnu.org: FreeBSD 4.6-4.9 X-Received-From: 194.109.24.39 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:11884 Archived-At: --=-hBFtJ7lSj/ibWemzc51b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by smtp-vbr19.xs4all.nl id p2GDLFnN097792 Good news: with guile stable-2.0 (958173e4), the module-lookup for-each problem running from compiled cache http://lists.gnu.org/archive/html/guile-devel/2011-02/msg00213.html Yay! Bad news: schikkers-list still does not run, showing a similar problem. The problem is the same for a fresh and a compiled run (I guess this also is good news). With attached run.scm and use.scm in cwd, doing =20 $ ~/schikkers-list/usr/bin/guile -L . ./run.scm results in 14:18:05 janneke@vuurvlieg:~/vc/schikkers-list $ ~/schikkers-list/usr/bin/guile -L . ./run.scm=20 ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/janneke/vc/schikkers-list/./run.scm ;;; compiling /home/janneke/vc/schikkers-list/use.scm ;;; /home/janneke/vc/schikkers-list/use.scm:12:2: warning: possibly u= nbound variable `for-each' ;;; compiled /home/janneke/.cache/guile/ccache/2.0-LE-4-2.0/home/jann= eke/vc/schikkers-list/use.scm.go ;;; compiled /home/janneke/.cache/guile/ccache/2.0-LE-4-2.0/home/jann= eke/vc/schikkers-list/run.scm.go Backtrace: In ice-9/boot-9.scm: 170: 12 [catch #t # ...] In unknown file: ?: 11 [catch-closure] In ice-9/boot-9.scm: 62: 10 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 389: 9 [eval # #] In ice-9/boot-9.scm: 1917: 8 [save-module-excursion #] 3346: 7 [#] In unknown file: ?: 6 [load-compiled/vm "/home/janneke/.cache/guile/ccache/2.0-LE-4= -2.0/home/janneke/vc/schikkers-list/run.scm.go"] In /home/janneke/vc/schikkers-list/./run.scm: 11: 5 [#] In oop/goops.scm: 1556: 4 [# #] In unknown file: ?: 3 [%initialize-object #< 951cc60> ()] In oop/goops.scm: 1556: 2 [# #] In unknown file: ?: 1 [%initialize-object #< 951cbc0> ()] In /home/janneke/vc/schikkers-list/use.scm: 11: 0 [test-expr] /home/janneke/vc/schikkers-list/use.scm:10:0: In procedure test-expr: /home/janneke/vc/schikkers-list/use.scm:10:0: In procedure module-loo= kup: Unbound variable: for-each [1]14:18:10 janneke@vuurvlieg:~/vc/schikkers-list $=20 Greetings, Jan. --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.= nl =20 --=-hBFtJ7lSj/ibWemzc51b Content-Disposition: attachment; filename="run.scm" Content-Type: text/x-scheme; name="run.scm"; charset="UTF-8" Content-Transfer-Encoding: 7bit (define-module (run) #:use-module (oop goops) ;; #:use-module (use) #:export (main)) (define-class () (music #:init-form (make ))) (define-class () (notation #:init-value (make ))) (define (main) (format #t "hello\n")) (main) --=-hBFtJ7lSj/ibWemzc51b Content-Disposition: attachment; filename="use.scm" Content-Type: text/x-scheme; name="use.scm"; charset="UTF-8" Content-Transfer-Encoding: 7bit (define-module (use) #:use-module (oop goops) #:use-module (srfi srfi-1) ;; #:duplicates (merge-generics) #:export ( )) (define-class ()) (define (test-expr) (for-each display '())) (define-class () (music #:init-form (test-expr) #:init-keyword #:music)) --=-hBFtJ7lSj/ibWemzc51b--