From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Loreno Heer Newsgroups: gmane.emacs.devel Subject: Re: MinGW build on master fails with Error 127 Date: Sat, 24 Dec 2022 15:18:02 +0100 Message-ID: <832966a5-bd27-76f9-4757-a8c246eca416@bluewin.ch> References: <83wn6wr5oz.fsf@gnu.org> <0c9519c9-add7-9fb1-ac7f-2f20e1916d65@bluewin.ch> <83tu20r4y7.fsf@gnu.org> <01b7362d-7d60-3054-5590-d4dbbcda76d7@bluewin.ch> <83r0x4r490.fsf@gnu.org> <837cyh71ft.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16399"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 24 15:43:40 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p95kS-00047X-3o for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Dec 2022 15:43:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p95k4-00048K-Tp; Sat, 24 Dec 2022 09:43:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p95Ll-0006Zm-Am for emacs-devel@gnu.org; Sat, 24 Dec 2022 09:18:09 -0500 Original-Received: from vimdzmsp-sfwd06.bluewin.ch ([195.186.227.133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p95Lj-0000GE-Db; Sat, 24 Dec 2022 09:18:09 -0500 Original-Received: from [127.0.0.1] ([85.195.238.45]) by vimdzmsp-sfwd06.bluewin.ch Swisscom AG with ESMTPA id 95Lep4wZVNc8h95LepZB7w; Sat, 24 Dec 2022 15:18:02 +0100 X-Bluewin-Spam-Analysis: v=2.4 cv=JajfEWGV c=1 sm=1 tr=0 ts=63a70a1a a=8X5ju9DP9yoqbCH5w4OK/g==:117 a=8X5ju9DP9yoqbCH5w4OK/g==:17 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=mDV3o1hIAAAA:8 a=sddWSIS3sHkT2CC9GBQA:9 a=QEXdDO2ut3YA:10 a=_FVE-zBwftR9WsbkzFJk:22 X-Bluewin-Spam-Score: 0.00 X-FXIT-IP: IPv4[85.195.238.45] Epoch[1671891482] X-Bluewin-AuthAs: helohe@bluewin.ch Content-Language: en-US In-Reply-To: <837cyh71ft.fsf@gnu.org> X-CMAE-Envelope: MS4xfK74yWOFq72M2XEUDMV8U+htjIVf/4Qz87mfKHVpOPvbuiNY9dd77543kyQR2bIy44DrwDfjaLMgTcyiXa92ALt8ANeImbur7WNQyYUoYpGDR38A4NU6 YPY06ZbrIO3K4R4Ukf04h5LDhESR2vhe4JUwWeGgcdzd6eOTvYb0Qus48ZDuWoZNCPTOghVzVwFiUc6I7blJB9NNkIi+vpRFGXw= Received-SPF: pass client-ip=195.186.227.133; envelope-from=helohe@bluewin.ch; helo=vimdzmsp-sfwd06.bluewin.ch X-Spam_score_int: -36 X-Spam_score: -3.7 X-Spam_bar: --- X-Spam_report: (-3.7 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-1.147, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 24 Dec 2022 09:43:14 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301846 Archived-At: I did and if I understand it correctly they basically say that they did some change but it is now up to emacs to change the build behavior: https://github.com/msys2/MINGW-packages/issues/14573#issuecomment-1364532147 On 24.12.2022 07:36, Eli Zaretskii wrote: >> Date: Fri, 23 Dec 2022 22:45:22 +0100 >> Cc: emacs-devel@gnu.org >> From: Loreno Heer >> >> I got it to build by manually setting >> >> #define _WIN32_WINNT 0x0601 >> >> in the emacs config.h file. >> Not sure why but this variable seems to have the (wrong) value of 0x0603 >> on my system (Windows 7 ESR). I don't know if this is a variable that >> emacs build defines somewhere or the msys build system. > > Emacs doesn't set _WIN32_WINNT to this value anywhere. (And anyway, I > don't see how setting it to a higher value could do any harm, when > 0x0601 does work.) > > So please take this up with the MinGW64/MSYS2 developers, because it > sounds like some problem with their system headers. I don't see any > evidence here that there's something wrong in Emacs which causes this > problem. Especially since it started happening lately, and happens > with older Emacs versions as well, where no changes have been done.