From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#18955: Makefile:382: recipe for target 'src' failed Date: Sun, 9 Nov 2014 21:10:58 +0100 Message-ID: References: <0d4mudlgty.fsf@fencepost.gnu.org> <83ppd1t2eh.fsf@gnu.org> <83fvdwthpx.fsf@gnu.org> <8361est9ri.fsf@gnu.org> <838ujnrq7v.fsf@gnu.org> <83389vrow2.fsf@gnu.org> <83wq74nuwq.fsf@gnu.org> <83vbmonoky.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1415563885 3741 80.91.229.3 (9 Nov 2014 20:11:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2014 20:11:25 +0000 (UTC) Cc: Alexander Shukaev , 18955@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 09 21:11:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XnYpS-0004Pe-UN for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Nov 2014 21:11:19 +0100 Original-Received: from localhost ([::1]:39857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnYpS-0003tL-9u for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Nov 2014 15:11:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnYpK-0003tF-EY for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 15:11:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnYpC-0007x2-KJ for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 15:11:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnYpC-0007wy-GA for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 15:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XnYpB-00088i-PU for bug-gnu-emacs@gnu.org; Sun, 09 Nov 2014 15:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Nov 2014 20:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18955 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18955-submit@debbugs.gnu.org id=B18955.141556386131285 (code B ref 18955); Sun, 09 Nov 2014 20:11:01 +0000 Original-Received: (at 18955) by debbugs.gnu.org; 9 Nov 2014 20:11:01 +0000 Original-Received: from localhost ([127.0.0.1]:55126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnYpA-00088T-L0 for submit@debbugs.gnu.org; Sun, 09 Nov 2014 15:11:00 -0500 Original-Received: from mail-wg0-f53.google.com ([74.125.82.53]:58219) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnYp8-00088K-Uh for 18955@debbugs.gnu.org; Sun, 09 Nov 2014 15:10:59 -0500 Original-Received: by mail-wg0-f53.google.com with SMTP id b13so7308370wgh.40 for <18955@debbugs.gnu.org>; Sun, 09 Nov 2014 12:10:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yi13kTHHJFaY330C40SLNoQCmhFNAMHPDKVytHmQtMQ=; b=UVX2csgZ6Yq4drAvcBll+XajY2fRguvEB0OpIhE/j7UP0rCyBEkBVxr5u/TpRHgufq vJ7NoQWd7zUV9cYN9bo1zXl6OxI/YbtX2qTCFPJAhckQWrvLKQ/6LnZ1JLZPsKsBkiNo gKHg0rHkFzngeH2gI62cI/WNaM4nTt7v3ewXgOoVWppFqKYp4OVs4Gzfuq3cmG6YLOA7 nTAFmsA7LdaAl4p6gwkFg2pVQjiX0MDLJStQNKrGr4ZbdniV63usocNCM4bpb03utwIA ve484bq15SaNJqFGQdiBCYKOh6ICLm/UGvSQBjsRPdKMhyorzS9E5oVI2gI7stXm8QXb BWzQ== X-Received: by 10.180.198.145 with SMTP id jc17mr24499601wic.67.1415563858327; Sun, 09 Nov 2014 12:10:58 -0800 (PST) Original-Received: by 10.217.152.70 with HTTP; Sun, 9 Nov 2014 12:10:58 -0800 (PST) In-Reply-To: <83vbmonoky.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95794 > It's not Emacs who becomes confused, it's MSYS. When MSYS invokes a > native Windows program, it converts /c/foo/bar file names into the > Windows C:\foo\bar form, because otherwise native Windows programs > will not be able to access such files. There's some logic in MSYS > that is used to decide when to do this conversion, and that logic > fails when the /c/foo/bar file name is not at the beginning of the > command-line argument, as in this case. Indeed, and FWIW, that logic is documented here: http://www.mingw.org/wiki/Posix_path_conversion > That's why we use > unmsys--file-name: to paper over these failures of MSYS. > >> I believe it's better to teach it to treat "/C" as "C:" by default, i.e. to >> accept both variants because there is no ambiguity here and, as a result, it >> will support both Windows and MSYS(2)/Cygwin paths out of the box. MSYS paths are not only those of the form "/c/foo". For example: "/home/dani/foo", "/usr/local" and, in general any UNIX-like path are valid MSYS paths. And moreover, any MSYS path could be mounted to any Windows-native path (type "mount" to see the current mapping). Therefore, it is clear that supporting MSYS/Cygwin paths from the MS-Windows port of Emacs is far more complex that simply translating "/C" into "C:". -- Dani Moncayo