From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: build failure 2 emacs-26 branch on Mingw64 Date: Mon, 01 Jan 2018 11:41:30 -0600 Message-ID: <864lo5v5md.fsf@stephe-leake.org> References: <86d12tvhrq.fsf@stephe-leake.org> <412C46F6-F70B-41F2-BCEF-352C11739B96@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1514828390 11164 195.159.176.226 (1 Jan 2018 17:39:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 1 Jan 2018 17:39:50 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (windows-nt) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 01 18:39:46 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 1eW43r-0002QH-4c for ged-emacs-devel@m.gmane.org; Mon, 01 Jan 2018 18:39:43 +0100 Original-Received: from localhost ([::1]:37632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eW45q-0007D8-8y for ged-emacs-devel@m.gmane.org; Mon, 01 Jan 2018 12:41:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eW45g-0007CZ-MY for emacs-devel@gnu.org; Mon, 01 Jan 2018 12:41:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eW45e-0002EV-5A for emacs-devel@gnu.org; Mon, 01 Jan 2018 12:41:36 -0500 Original-Received: from smtp137.ord.emailsrvr.com ([173.203.6.137]:39414) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eW45e-0002Cf-0a for emacs-devel@gnu.org; Mon, 01 Jan 2018 12:41:34 -0500 Original-Received: from smtp26.relay.ord1a.emailsrvr.com (localhost [127.0.0.1]) by smtp26.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id 716E620164 for ; Mon, 1 Jan 2018 12:41:32 -0500 (EST) X-Auth-ID: board-president@tomahawk-creek-hoa.com Original-Received: by smtp26.relay.ord1a.emailsrvr.com (Authenticated sender: board-president-AT-tomahawk-creek-hoa.com) with ESMTPA id 2751620087 for ; Mon, 1 Jan 2018 12:41:31 -0500 (EST) X-Sender-Id: board-president@tomahawk-creek-hoa.com Original-Received: from Takver4 (76-218-37-33.lightspeed.kscymo.sbcglobal.net [76.218.37.33]) by 0.0.0.0:587 (trex/5.7.12); Mon, 01 Jan 2018 12:41:32 -0500 In-Reply-To: <412C46F6-F70B-41F2-BCEF-352C11739B96@gnu.org> (Eli Zaretskii's message of "Mon, 01 Jan 2018 16:05:30 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 173.203.6.137 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:221509 Archived-At: 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. sed is the msys sed; it says "x86_64-pc-msys", and it's /usr/bin/sed. 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? 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! I'll try rebuilding using the msys shell and/or msys make from the mingw shell, and propose a patch for INSTALL.W64 -- -- Stephe