From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.lisp.guile.bugs Subject: bug#10474: Building guile 2.x under mingw + msys Date: Tue, 17 Jan 2012 10:09:21 +0200 Message-ID: <83ehuy698u.fsf@gnu.org> References: <87pqerdxq4.fsf@pobox.com> Reply-To: Eli Zaretskii 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 1326788379 856 80.91.229.12 (17 Jan 2012 08:19:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2012 08:19:39 +0000 (UTC) Cc: 10474@debbugs.gnu.org, commander.sirow@googlemail.com To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Jan 17 09:19:35 2012 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 1Rn4GT-0005Az-Lb for guile-bugs@m.gmane.org; Tue, 17 Jan 2012 09:19:33 +0100 Original-Received: from localhost ([::1]:58691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn4GT-00075M-0N for guile-bugs@m.gmane.org; Tue, 17 Jan 2012 03:19:33 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:57089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn47O-0006Di-QF for bug-guile@gnu.org; Tue, 17 Jan 2012 03:10:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rn47H-0004uJ-Fc for bug-guile@gnu.org; Tue, 17 Jan 2012 03:10:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn47H-0004uA-E3 for bug-guile@gnu.org; Tue, 17 Jan 2012 03:10:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rn48D-0001Bh-Sc for bug-guile@gnu.org; Tue, 17 Jan 2012 03:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 17 Jan 2012 08:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10474 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 10474-submit@debbugs.gnu.org id=B10474.13267878294524 (code B ref 10474); Tue, 17 Jan 2012 08:11:01 +0000 Original-Received: (at 10474) by debbugs.gnu.org; 17 Jan 2012 08:10:29 +0000 Original-Received: from localhost ([127.0.0.1]:32829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rn47h-0001Av-8r for submit@debbugs.gnu.org; Tue, 17 Jan 2012 03:10:29 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:43244) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rn47e-0001Al-1w for 10474@debbugs.gnu.org; Tue, 17 Jan 2012 03:10:27 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LXX00C00NY74O00@a-mtaout20.012.net.il> for 10474@debbugs.gnu.org; Tue, 17 Jan 2012 10:09:12 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.115.9]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LXX00BRFNZA5SB0@a-mtaout20.012.net.il>; Tue, 17 Jan 2012 10:09:11 +0200 (IST) In-reply-to: <87pqerdxq4.fsf@pobox.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Tue, 17 Jan 2012 03:19:31 -0500 X-BeenThere: bug-guile@gnu.org 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:6055 Archived-At: [I removed guile-user@gnu.org from the CC list; let me know if that i= s not TRT.] > Date: Tue, 10 Jan 2012 23:00:35 +0100 > Cc: guile-user@gnu.org, 10474@debbugs.gnu.org >=20 > > so I've been trying to build guile 2.0.3 from source with mingw (= gcc 4.6.2) + msys. >=20 > Thanks for the report! I have a similar, although slightly different in details, experience. (I will post the details as soon as the saga is finished for me and I have all it figured out ;-) > > make[3]: Entering directory `/home/Commander/guile-2.0.3/libguile= ' > > =C2=A0 GEN=C2=A0=C2=A0=C2=A0 guile-procedures.texi > > Throw without catch before boot: > > Throw to key system-error with args ("canonicalize-path" "~A" ("N= o such file or > > directory") (2))Aborting. >=20 > AIUI the canonicalize_path binding that gnulib provides for mingw e= nds > up shelling out to `rm' and other commands. I don't think this is true; at least I don't see any such shelling ou= t in lib/canonicalize-lgpl.c, which I believe is the module you allude to. The problem, AFAIK, is entirely different and quite mundane: canonicalize_file_name simply does not support Windows-style D:/foo/bar file names, nor does it support backslashes as separators in file names. My evidence is that I added an fprintf to canonicalize-path where it calls canonicalize_file_name, and the file name passed to it was entirely reasonable, something like D:\path\to\guile-2.03/module/ice-9/boot-9.scm (or some such, I'm writing this from my faulty memory). I think I know how to fix canonicalize_file_name, and I will send a tentative patch later, perhaps even today, when I have it working and get past this abort.