From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.devel Subject: Re: build failure 2 emacs-26 branch on Mingw64 Date: Mon, 1 Jan 2018 17:52:33 +0000 Message-ID: References: <86d12tvhrq.fsf@stephe-leake.org> <412C46F6-F70B-41F2-BCEF-352C11739B96@gnu.org> <864lo5v5md.fsf@stephe-leake.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1514829074 12538 195.159.176.226 (1 Jan 2018 17:51:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 1 Jan 2018 17:51:14 +0000 (UTC) Cc: emacs-devel To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 01 18:51:10 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eW4Ev-0002y5-LA for ged-emacs-devel@m.gmane.org; Mon, 01 Jan 2018 18:51:09 +0100 Original-Received: from localhost ([::1]:37942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eW4Gu-0002ae-Rt for ged-emacs-devel@m.gmane.org; Mon, 01 Jan 2018 12:53:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eW4Go-0002aI-5F for emacs-devel@gnu.org; Mon, 01 Jan 2018 12:53:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eW4Gn-0008Nq-Ap for emacs-devel@gnu.org; Mon, 01 Jan 2018 12:53:06 -0500 Original-Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:39966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eW4Gn-0008NR-6J for emacs-devel@gnu.org; Mon, 01 Jan 2018 12:53:05 -0500 Original-Received: by mail-oi0-x231.google.com with SMTP id w125so32212947oie.7 for ; Mon, 01 Jan 2018 09:53:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IsCIhB8Sf+5RurqQLwmBvl0gno8uQ7aq5eedMf6i6yQ=; b=QL7SoYh16k8czRCwyk/qC2DMCVSbRyFoS7hDglydjgVQTWHxllFKSU8oSt7OIoQy9+ I0sjCTE6KWwL3ktseLKkayIs3IR1DgceexzgoeoiTO7ETh4bi59zYFizkTyEcFcnJwj/ bIP1FN+EEgz5gtTWrel8oGZRRptDZ4uE0fF+Z8/v8iqLeV3Su8mKKXWoLvxYh0NEc7ho On61sSrGdHQi8/wPes5lYFDFesKItgiAqE7L98ta597S6FR6lNbQ87C7Nqoi2lLBp5Uq K3GSPHYndurDl38SxF22+RdEN71dvP9K5ewHp0pc2RUZYGfoiGpJ7WD1zsbdVn9VOzfT HEfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IsCIhB8Sf+5RurqQLwmBvl0gno8uQ7aq5eedMf6i6yQ=; b=QB33PTfsiVP1eBhfkdTXs1ZqnBltO46UhZabJJ2SKrIOf2EYemxpkJFcO/1t8Fq09d 4UH2FRlclH9eJk9P5c/t8XqNivqyG2sZzNg2I7VEDKL3yfMPsbHHiEe2QKRULcdoP0w6 Ui663S23HTvseLYwCWX1zXetWN3fe2EQhwn7qXKtOtp6IZBxfu1XgECUHTKcb5F4EZTu ZjCkVou20lHXpgxyy3+a+QncpINeoSFcLJOZmqwlh8pFK0Ghrsi36aXu+EjSZDUB6SP1 D/mM0GVUf+JYxQyW4ORuvp9jq5cgXMltFQo1Xqo1dO4VIEajf9Zh4Mw7DlcR6tey7c3E CtCA== X-Gm-Message-State: AKGB3mJRrME4vSQdnqLsPJKvs2capFPbNwGyEDWs+dtnwMAfh5CxOj6v 9WdrUm7ltRiS9npXWMofHHUv5mVOFSk5i5/e4XA= X-Google-Smtp-Source: ACJfBot9YBoFIBsLtJdkqI6xuZsCvZj3HEyf2PfJTM3iJD03k3PYs/tSzvu7VHLOi2Trr6nUY3LzuunWHw9QQUVm1O8= X-Received: by 10.202.80.2 with SMTP id e2mr30141253oib.326.1514829184277; Mon, 01 Jan 2018 09:53:04 -0800 (PST) Original-Received: by 10.157.6.136 with HTTP; Mon, 1 Jan 2018 09:52:33 -0800 (PST) In-Reply-To: <864lo5v5md.fsf@stephe-leake.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221511 Archived-At: On 1 January 2018 at 17:41, Stephen Leake wrote: > Eli Zaretskii writes: > >> On January 1, 2018 3:41:17 PM GMT+02:00, Richard Copley wrote: >>> > $ make --version >>> > GNU Make 4.2.1 >>> > Built for x86_64-w64-mingw32 >>> > Copyright (C) 1988-2016 Free Software Foundation, Inc. >>> >>> You have a native make on the path in your MSYS bash process. >>> "make" should be the MSYS make: >>> >>> $ make --version >>> GNU Make 4.2.1 >>> Built for x86_64-pc-msys >>> Copyright (C) 1988-2016 Free Software Foundation, Inc. >> >> Right. And I believe Sed is not an MSYS Sed, either, because that one >> should be version 4.2.2, not 4.4. >> Which could also explain the other problem Stephen reported. > > Hmm. Then the instructions in nt/INSTALL.W64 are wrong; it says to run > autgen and configure from the mingw64.exe shell, which puts mingw64/bin > first in path. I think what's unusual about your setup is that you have the native GNU Make installed under the name "make.exe" on your path. By default, MSYS2 installs it as "mingw32-make.exe". Try this: pacman -Ql mingw-w64-x86_64-make > sed is the msys sed; it says "x86_64-pc-msys", and it's /usr/bin/sed. I think that's correct. I have the same version. Eli doesn't use the MSYS2 packages (right?). > make is /mingw64/bin/make. Perhaps mingw64/bin/make is not installed by > the msys packages listed in INSTALL.W64, but by something I did later? I suspect so. > Reverting my change above, and running: > > /usr/bin/make lisp.mk > > does fix the problem. > > That's pretty annoying; I don't see why backslash quoting should be > different between msys and mingw! The commands in the Makefile are written for a Bourne-like shell, but the native Make is likely to use cmd.exe (or emulate it). > I'll try rebuilding using the msys shell and/or msys make from the mingw > shell, and propose a patch for INSTALL.W64