unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Copley <rcopley@gmail.com>
To: Stephen Leake <stephen_leake@stephe-leake.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: build failure 2 emacs-26 branch on Mingw64
Date: Mon, 1 Jan 2018 17:52:33 +0000	[thread overview]
Message-ID: <CAPM58ohUdCm60=YyggV_7C0kwemNAYdjJsc0O8dHLQaw7UiE4w@mail.gmail.com> (raw)
In-Reply-To: <864lo5v5md.fsf@stephe-leake.org>

On 1 January 2018 at 17:41, Stephen Leake
<stephen_leake@stephe-leake.org> wrote:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>> On January 1, 2018 3:41:17 PM GMT+02:00, Richard Copley <rcopley@gmail.com> 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



  reply	other threads:[~2018-01-01 17:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-01 13:19 build failure 2 emacs-26 branch on Mingw64 Stephen Leake
2018-01-01 13:41 ` Richard Copley
2018-01-01 14:05   ` Eli Zaretskii
2018-01-01 17:41     ` Stephen Leake
2018-01-01 17:52       ` Richard Copley [this message]
2018-01-01 18:41         ` Stephen Leake
2018-01-01 19:57       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPM58ohUdCm60=YyggV_7C0kwemNAYdjJsc0O8dHLQaw7UiE4w@mail.gmail.com' \
    --to=rcopley@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=stephen_leake@stephe-leake.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).