From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: vincent.belaiche@gmail.com (Vincent =?UTF-8?Q?Bela=C3=AFche?=) Newsgroups: gmane.emacs.bugs Subject: bug#28601: 26.0.50; configure: error: Emacs does not support 'x86_64-pc-msys' systems. Date: Fri, 13 Oct 2017 16:09:21 +0200 Message-ID: <84d15rxhpq.fsf@AigleRoyal> References: <84o9pyim1a.fsf@AigleRoyal> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1507903827 21105 195.159.176.226 (13 Oct 2017 14:10:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Oct 2017 14:10:27 +0000 (UTC) Cc: 28601@debbugs.gnu.org, Vincent =?UTF-8?Q?Bela=C3=AFche?= To: Glenn Morris , npostavs@users.sourceforge.net, Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 13 16:10:18 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1e30fA-0003Z0-06 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Oct 2017 16:10:08 +0200 Original-Received: from localhost ([::1]:50503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e30fG-00015M-PZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Oct 2017 10:10:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e30f9-00012j-F1 for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 10:10:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e30f4-0005M8-Fh for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 10:10:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57756) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e30f4-0005La-Ca for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 10:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e30f4-0002EQ-6P for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 10:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: vincent.belaiche@gmail.com (Vincent =?UTF-8?Q?Bela=C3=AFche?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Oct 2017 14:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28601 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28601-submit@debbugs.gnu.org id=B28601.15079037678522 (code B ref 28601); Fri, 13 Oct 2017 14:10:02 +0000 Original-Received: (at 28601) by debbugs.gnu.org; 13 Oct 2017 14:09:27 +0000 Original-Received: from localhost ([127.0.0.1]:38204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e30eV-0002DO-3o for submit@debbugs.gnu.org; Fri, 13 Oct 2017 10:09:27 -0400 Original-Received: from mail-wm0-f51.google.com ([74.125.82.51]:46495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e30eU-0002D9-9Y for 28601@debbugs.gnu.org; Fri, 13 Oct 2017 10:09:26 -0400 Original-Received: by mail-wm0-f51.google.com with SMTP id m72so21780907wmc.1 for <28601@debbugs.gnu.org>; Fri, 13 Oct 2017 07:09:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:mime-version :content-transfer-encoding; bh=B0a44m2ykA++cSXMQZBXq416EDnvmcsNuNZvar7nTp4=; b=mQP8CrWIA6t2aQjV5iR2GeifpKATWq6MFUMX4eLUKvuEp95ih8I/luuy4mS/SqyA0r 4jXsoyz4MU6es6TUPnAuRYdusNa/WwK/QnaVx1I8DD7GbEYagmP+QFSo3+z53pU1qPdm uXFV+RiMtHdYyVKBTqBExJX68XfUUPxtDZHNXkLrj2B+ct6FP0XtYedrw9iBMAqv8boZ zx8k3o6UvmTxBuHRyRA9LB8Y3+t1hUAKkEy1vHOnQkLjAzdhek/XphB/Hv6rKTQWMfAW iUw68a2u5PqT/U4FhZaJk612z10lJ0rj9gDIsrjEawLFc0RqbDQX5INKXP+dYxjIGJGx DYfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-transfer-encoding; bh=B0a44m2ykA++cSXMQZBXq416EDnvmcsNuNZvar7nTp4=; b=Yuf1OU7dv3YjWNaoI08WBzjl73zRavk8IIZx7UUGELmjsjXUULtHr1ogAklG1291bq LXezATckCqYRGIFI0jzdY+ENzWB2JZZ5NiPmsb70qeAN6oEKaMsjeDeVJP72QHxpDNQK zbLdaaMcVX01K7UeKqLTARlo69b/g8b7uMhW2y1Hl81IUMtoCtBOBJ1kar2GQ4dttCsy aD7+IBADAZFoWA+0gF+z3zEGG3XDLAyTsLxDcwJlDkceXZE/YfM50eTmWGoLkaPCuUyy MDvcNI7X/pG3WExrHraWubp4bejQ9COTOIEzWmYKl+wBrUEKIsT7cLPT8nJeYQYstXkL IgjA== X-Gm-Message-State: AMCzsaUKpogfedeLoLYaUe9DmBxzK+shv39tYEjhqpUblcLFE1fi/JlX rR8Nc+HEICbJ8yjIVe3TLJ6kn1h9 X-Google-Smtp-Source: ABhQp+SSNBis9INcxmwv3FQ3GQpXGn8bhtStk/hw3JoEKH+WsY9wK8ScCz93V5d+UqZ7zgpG0tKCDw== X-Received: by 10.28.48.150 with SMTP id w144mr1456392wmw.23.1507903760015; Fri, 13 Oct 2017 07:09:20 -0700 (PDT) Original-Received: from AigleRoyal (ARennes-656-1-275-111.w109-218.abo.wanadoo.fr. [109.218.75.111]) by smtp.gmail.com with ESMTPSA id d27sm2148950wrd.67.2017.10.13.07.09.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Oct 2017 07:09:17 -0700 (PDT) In-Reply-To: X-Antivirus: Avast (VPS 171013-6, 13/10/2017), Outbound message X-Antivirus-Status: Clean X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:138345 Archived-At: Dear Glenn, Noam, Eli, & al. I realize that I have not answered to you Glenn. My latest build of Emacs is: GNU Emacs 26.0.50 (build 1, i686-pc-mingw32) of 2017-07-02 It was done with MSYS1. I see that that platform is ...-mingw32 and not -msys which explains why it worked. I switched from MSYS1 to MSYS2 at end of July 2017 because I had too many problems with MSYS1 not being supported any longer (see for instance http://savannah.gnu.org/bugs/?51527 about MSYS1 GNUMake issue, I really, really should have done this switch earlier ...). Now, I did the: pacman -S msys2-launcher as recommended in the INSTALL.W64 patch from Noam, and then I launched msys64.exe from the MSWindows exporer. But it still does not work, I get that the compiler target is still x86_64-pc-msys, which is not accepted by configure. The reason for this, is that my configure command does not have any --host option, FYI here it is: ./configure --prefix=3Dc:/Nos_Programmes/GNU/Emacs --without-jpeg --withou= t-tiff --without-gif --without-png 'CFLAGS=3D -Og -g3 -L C:/Programmes/inst= allation/emacs-install/libXpm-3.5.8/src' 'CPPFLAGS=3D -DFOR_MSW=3D1 -I C:/P= rogrammes/installation/emacs-install/libXpm-3.5.8/include -I C:/Programmes/= installation/emacs-install/libXpm-3.5.8/src -L C:/Programmes/installation/e= macs-install/libXpm-3.5.8/src' PKG_CONFIG=3D/mingw/bin/pkg-config.exe PKG_C= ONFIG_PATH=3D/mingw/bin --no-create --no-recursion so the configure script tries to know the right host by doing gcc -v, this test is just after this comment in configure: # No --host argument was given to 'configure'; therefore $host # was set to a default value based on the build platform. But # this default value may be wrong if we are building from a # 64-bit MSYS[2] pre-configured to build 32-bit MinGW programs. # Therefore, we'll try to get the right host platform from the # compiler's target. When I launch mingw64 and then I do { LC_ALL=3DC gcc -v 2>&1; } | grep Target I get this : Target: x86_64-pc-msys Hence the error which I reported in the first place :. checking the compiler's target... x86_64-pc-msys configure: error: Emacs does not support 'x86_64-pc-msys' systems. So, maybe the INSTALL.W64 should contain some recommendation to use the --host option in some way to work around this. Please note that gcc -v makes this output even though my MSYSTEM envvar expands to MINGW64. I think that the objective of the gcc -v is to discriminate between 32 and 64 bits, not between MINGW and MSYS. So, it seems that what we have is an autoconf bug. Am I wrong ? Vincent. Le 27/09/2017 =E0 23:37, Glenn Morris a =E9crit : > Vincent Bela=EFche wrote: > >> There is no such thing as a mingw64_shell.bat script, but there is a >> msys2_shell.cmd script, which one can launch with the -mingw64 for >> MSYSTEM to be set accordingly to MSYSTEM=3DMINGW64. > > Sounds like MinGW has changed how things work and the instructions in > nt/INSTALL.W64 need updating. > >> checking the compiler's target... x86_64-pc-msys >> configure: error: Emacs does not support 'x86_64-pc-msys' systems. > > This is MinGW-specific code added in https://debbugs.gnu.org/19111 --- L'absence de virus dans ce courrier =E9lectronique a =E9t=E9 v=E9rifi=E9e p= ar le logiciel antivirus Avast. https://www.avast.com/antivirus