From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Newsgroups: gmane.lisp.guile.bugs Subject: [bug #33165] `load' uses a wrong relative path Date: Sat, 18 Jun 2011 17:57:54 +0000 Message-ID: <20110618-175754.sv15145.58470@savannah.gnu.org> References: <20110426-132016.sv15145.52753@savannah.gnu.org> <20110617-182324.sv20118.83754@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: dough.gmane.org 1308419814 10433 80.91.229.12 (18 Jun 2011 17:56:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2011 17:56:54 +0000 (UTC) To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= , Andy Wingo , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Jun 18 19:56:50 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QXzlJ-0002kJ-MP for guile-bugs@m.gmane.org; Sat, 18 Jun 2011 19:56:49 +0200 Original-Received: from localhost ([::1]:34664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXzlI-0006UC-Jl for guile-bugs@m.gmane.org; Sat, 18 Jun 2011 13:56:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXzl2-0006Tr-Ra for bug-guile@gnu.org; Sat, 18 Jun 2011 13:56:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXzl1-0002lY-SP for bug-guile@gnu.org; Sat, 18 Jun 2011 13:56:32 -0400 Original-Received: from colonialone.fsf.org ([140.186.70.51]:59567 helo=frontend.in.savannah.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXzl0-0002lD-MT; Sat, 18 Jun 2011 13:56:30 -0400 Original-Received: from www-data by frontend.in.savannah.gnu.org with local (Exim 4.72) (envelope-from ) id 1QXzmM-0007ec-Cy; Sat, 18 Jun 2011 17:57:54 +0000 X-PHP-Originating-Script: 0:sendmail.php X-Savane-Server: savannah.gnu.org:443 [10.1.0.103] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 33165 User-Agent: Mozilla/5.0 (GNU; rv:1.9.1.7) Gecko/20100107 IceCat/3.6 (like Firefox/3.6) X-Apparently-From: 80.67.176.83 (Savane authenticated user civodul) In-Reply-To: <20110617-182324.sv20118.83754@savannah.gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.51 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5663 Archived-At: Follow-up Comment #2, bug #33165 (project guile): I can reproduce it, and with an empty $GUILE_LOAD_PATH: #v+ [ludo@nixey:~/src/guile/bug33165]$ mkdir t [ludo@nixey:~/src/guile/bug33165]$ touch t/a.scm [ludo@nixey:~/src/guile/bug33165]$ mkdir t/d [ludo@nixey:~/src/guile/bug33165]$ echo '(load "a.scm")' > t/d/b.scm [ludo@nixey:~/src/guile/bug33165]$ ../meta/guile -l t/a.scm t/d/b.scm ;;; note: source file /home/ludo/src/guile/bug33165/t/a.scm ;;; newer than compiled /home/ludo/src/guile/cache/guile/ccache/2.0-LE-8-2.0/home/ludo/src/guile/bug33165/t/a.scm.go ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/ludo/src/guile/bug33165/t/a.scm ;;; compiled /home/ludo/src/guile/cache/guile/ccache/2.0-LE-8-2.0/home/ludo/src/guile/bug33165/t/a.scm.go ;;; note: source file /home/ludo/src/guile/bug33165/t/d/b.scm ;;; newer than compiled /home/ludo/src/guile/cache/guile/ccache/2.0-LE-8-2.0/home/ludo/src/guile/bug33165/t/d/b.scm.go ;;; compiling /home/ludo/src/guile/bug33165/t/d/b.scm ;;; compiled /home/ludo/src/guile/cache/guile/ccache/2.0-LE-8-2.0/home/ludo/src/guile/bug33165/t/d/b.scm.go Backtrace: In module/ice-9/boot-9.scm: 170: 11 [catch #t # ...] In unknown file: ?: 10 [catch-closure] In module/ice-9/boot-9.scm: 62: 9 [call-with-prompt prompt0 ...] In module/ice-9/eval.scm: 389: 8 [eval # #] In module/ice-9/boot-9.scm: 2103: 7 [save-module-excursion #] 3541: 6 [#] In unknown file: ?: 5 [load-compiled/vm "/home/ludo/src/guile/cache/guile/ccache/2.0-LE-8-2.0/home/ludo/src/guile/bug33165/t/d/b.scm.go"] In module/ice-9/boot-9.scm: 2103: 4 [save-module-excursion #] 3543: 3 [#] 1375: 2 [%start-stack load-stack ...] 1380: 1 [#] In unknown file: ?: 0 [primitive-load-path "bug33165/t/d/a.scm"] ERROR: In procedure primitive-load-path: ERROR: In procedure primitive-load-path: Unable to find file "bug33165/t/d/a.scm" in load path [ludo@nixey:~/src/guile/bug33165]$ ../meta/guile --version guile (GNU Guile) 2.0.1.131-c245d Copyright (C) 2011 Free Software Foundation, Inc. License LGPLv3+: GNU LGPL 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. [ludo@nixey:~/src/guile/bug33165]$ echo $GUILE_LOAD_COMPILED_PATH $GUILE_LOAD_PATH #v- But here that's the uninstalled environment, which presumably has ~/src/guile in its load path. Still... _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/