From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: Re: [bug #33165] `load' uses a wrong relative path Date: Tue, 26 Apr 2011 11:59:24 -0400 Message-ID: <87oc3txaub.fsf@netris.org> References: <20110426-132016.sv15145.52753@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1303833591 6561 80.91.229.12 (26 Apr 2011 15:59:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Apr 2011 15:59:51 +0000 (UTC) To: Ludovic =?utf-8?Q?Court=C3=A8s?= , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Apr 26 17:59:47 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 1QEkfy-0006Rd-SL for guile-bugs@m.gmane.org; Tue, 26 Apr 2011 17:59:47 +0200 Original-Received: from localhost ([::1]:44072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEkfy-0003wZ-35 for guile-bugs@m.gmane.org; Tue, 26 Apr 2011 11:59:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEkfv-0003wR-Js for bug-guile@gnu.org; Tue, 26 Apr 2011 11:59:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEkfu-0003us-Ne for bug-guile@gnu.org; Tue, 26 Apr 2011 11:59:43 -0400 Original-Received: from world.peace.net ([96.39.62.75]:54884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEkft-0003t3-En; Tue, 26 Apr 2011 11:59:41 -0400 Original-Received: from ip68-9-118-38.ri.ri.cox.net ([68.9.118.38] helo=freedomincluded) by world.peace.net with esmtpa (Exim 4.69) (envelope-from ) id 1QEkfd-0001GK-Mg; Tue, 26 Apr 2011 11:59:25 -0400 Original-Received: from mhw by freedomincluded with local (Exim 4.69) (envelope-from ) id 1QEkfc-00022Z-KT; Tue, 26 Apr 2011 11:59:24 -0400 In-Reply-To: <20110426-132016.sv15145.52753@savannah.gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22's?= message of "Tue, 26 Apr 2011 13:20:17 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 96.39.62.75 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:5522 Archived-At: Ludovic Court=C3=A8s writes: > ?: 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 FYI, I'm unable to reproduce this on Guile 2.0.0.215-fb9cf. Here's what I get: mhw@freedomincluded:~/guile-test$ mkdir t mhw@freedomincluded:~/guile-test$ cd t mhw@freedomincluded:~/guile-test/t$ touch a.scm mhw@freedomincluded:~/guile-test/t$ mkdir d mhw@freedomincluded:~/guile-test/t$ echo '(load "a.scm")' > d/b.scm mhw@freedomincluded:~/guile-test/t$ guile -l a.scm d/b.scm ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/mhw/guile-test/t/a.scm ;;; compiled /home/mhw/.cache/guile/ccache/2.0-LE-4-2.0/home/mhw/guile-test= /t/a.scm.go ;;; compiling /home/mhw/guile-test/t/d/b.scm ;;; compiled /home/mhw/.cache/guile/ccache/2.0-LE-4-2.0/home/mhw/guile-test= /t/d/b.scm.go Backtrace: In ice-9/boot-9.scm: 170: 11 [catch #t # ...] In unknown file: ?: 10 [catch-closure] In ice-9/boot-9.scm: 62: 9 [call-with-prompt prompt0 ...] In module/ice-9/eval.scm: 389: 8 [eval # #] In ice-9/boot-9.scm: 1918: 7 [save-module-excursion #] 3348: 6 [#] In unknown file: ?: 5 [load-compiled/vm "/home/mhw/.cache/guile/ccache/2.0-LE-4-2.0/home/= mhw/guile-test/t/d/b.scm.go"] In ice-9/boot-9.scm: 1918: 4 [save-module-excursion #] 3348: 3 [#] 1190: 2 [%start-stack load-stack #] 1195: 1 [#] In unknown file: ?: 0 [primitive-load "/home/mhw/guile-test/t/d/a.scm"] ERROR: In procedure primitive-load: ERROR: In procedure open-file: No such file or directory: "/home/mhw/guile-= test/t/d/a.scm" Best, Mark