From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: [bug #33165] `load' uses a wrong relative path Date: Sun, 19 Jun 2011 20:16:51 +0000 Message-ID: <20110619-201650.sv20118.59450@savannah.gnu.org> References: <20110426-132016.sv15145.52753@savannah.gnu.org> <20110617-182324.sv20118.83754@savannah.gnu.org> <20110618-175754.sv15145.58470@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 1308514750 20588 80.91.229.12 (19 Jun 2011 20:19:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Jun 2011 20:19:10 +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 Sun Jun 19 22:19:05 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 1QYOSW-000305-H7 for guile-bugs@m.gmane.org; Sun, 19 Jun 2011 22:19:04 +0200 Original-Received: from localhost ([::1]:48028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYOSV-0005ff-9K for guile-bugs@m.gmane.org; Sun, 19 Jun 2011 16:19:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYOOz-00052m-03 for bug-guile@gnu.org; Sun, 19 Jun 2011 16:15:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QYOOx-0001n2-G7 for bug-guile@gnu.org; Sun, 19 Jun 2011 16:15:24 -0400 Original-Received: from colonialone.fsf.org ([140.186.70.51]:58278 helo=frontend.in.savannah.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QYOOv-0001mT-3n; Sun, 19 Jun 2011 16:15:21 -0400 Original-Received: from www-data by frontend.in.savannah.gnu.org with local (Exim 4.72) (envelope-from ) id 1QYOQN-0000HT-0c; Sun, 19 Jun 2011 20:16:51 +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 (X11; Linux x86_64) AppleWebKit/534.26+ (KHTML, like Gecko) Version/5.0 Safari/534.26+ Debian/sid/experimental (3.0.2-2) Epiphany/3.0.2 X-Apparently-From: 90.164.198.39 (Savane authenticated user wingo) In-Reply-To: <20110618-175754.sv15145.58470@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:5672 Archived-At: Follow-up Comment #3, bug #33165 (project guile): Hi Ludo, > [ludo@nixey:~/src/guile/bug33165]$ ../meta/guile -l t/a.scm t/d/b.scm Note that ~/src/guile is in your GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH in this case, because of (test-suite lib). This is an error IMO but it is how it is, and it explains the relative path here: > ?: 0 [primitive-load-path "bug33165/t/d/a.scm"] In this case the (load "a.scm") in bug33165/t/d/b.scm resolves "a.scm" relative to the the file doing the load, which is bug33165/t/d/b.scm. So to me things are working correctly here, as far as they can work. _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/