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: Tue, 26 Apr 2011 13:20:17 +0000 Message-ID: <20110426-132016.sv15145.52753@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 1303823618 7006 80.91.229.12 (26 Apr 2011 13:13:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Apr 2011 13:13:38 +0000 (UTC) To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Apr 26 15:13:29 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 1QEi53-0005yA-K4 for guile-bugs@m.gmane.org; Tue, 26 Apr 2011 15:13:29 +0200 Original-Received: from localhost ([::1]:48386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEi52-00057R-Nh for guile-bugs@m.gmane.org; Tue, 26 Apr 2011 09:13:28 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEi4z-00057B-FG for bug-guile@gnu.org; Tue, 26 Apr 2011 09:13:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEi4y-00031J-IY for bug-guile@gnu.org; Tue, 26 Apr 2011 09:13:25 -0400 Original-Received: from colonialone.fsf.org ([140.186.70.51]:33119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEi4x-000310-F0; Tue, 26 Apr 2011 09:13:23 -0400 Original-Received: from [10.1.0.103] (helo=frontend.in.savannah.gnu.org) by colonialone.fsf.org with esmtp (Exim 4.69) (envelope-from ) id 1QEi4x-0003By-94; Tue, 26 Apr 2011 13:13:23 +0000 Original-Received: from www-data by frontend.in.savannah.gnu.org with local (Exim 4.72) (envelope-from ) id 1QEiBd-00080W-Ln; Tue, 26 Apr 2011 13:20:17 +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: 193.50.110.208 (Savane authenticated user civodul) Original-References: In-Reply-To: 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:5519 Archived-At: URL: Summary: `load' uses a wrong relative path Project: Guile Submitted by: civodul Submitted on: Tue 26 Apr 2011 01:20:16 PM GMT Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Hello! Consider this session: #v+ $ mkdir t $ cd t t$ touch a.scm t$ mkdir d t$ echo '(load "a.scm")' > d/b.scm t$ guile -l a.scm d/b.scm ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/ludo/src/kanren-book/t/a.scm ;;; compiled /home/ludo/.cache/guile/ccache/2.0-LE-8-2.0/home/ludo/src/kanren-book/t/a.scm.go ;;; compiling /home/ludo/src/kanren-book/t/d/b.scm ;;; compiled /home/ludo/.cache/guile/ccache/2.0-LE-8-2.0/home/ludo/src/kanren-book/t/d/b.scm.go Backtrace: [...] ?: 0 [primitive-load-path "home/ludo/src/kanren-book/t/d/a.scm"] ERROR: In procedure primitive-load-path: ERROR: In procedure primitive-load-path: Unable to find file "home/ludo/src/kanren-book/t/d/a.scm" in load path #v- The relative path computed by `load' above is broken. Adding a leading `/' would fix it. Ludo'. _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/