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: Fri, 23 Dec 2022 22:45:22 +0100 Message-ID: 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> 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="37760"; 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: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 24 07:27:35 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 1p8y0N-0009fI-F3 for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Dec 2022 07:27:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p8xzg-0007Mt-2P; Sat, 24 Dec 2022 01:26:52 -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 1p8prE-0000k4-5Z for emacs-devel@gnu.org; Fri, 23 Dec 2022 16:45:36 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8prC-0003kP-En for emacs-devel@gnu.org; Fri, 23 Dec 2022 16:45:35 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1p8pr7-0009NZ-88 for emacs-devel@gnu.org; Fri, 23 Dec 2022 22:45:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Content-Language: en-US In-Reply-To: <83r0x4r490.fsf@gnu.org> Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-1.148, 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 01:26:50 -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:301823 Archived-At: 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. On 12.12.2022 17:11, Eli Zaretskii wrote: >> Date: Mon, 12 Dec 2022 17:03:32 +0100 >> Cc: emacs-devel@gnu.org >> From: Loreno Heer >> >>> Which parts of MinGW got updated? Did Make get updated? or Bash? >> >> [2022-12-12T12:35:19+0100] [PACMAN] Running 'pacman -Syuu' >> [2022-12-12T12:35:19+0100] [PACMAN] synchronizing package lists >> [2022-12-12T12:35:36+0100] [PACMAN] starting core system upgrade >> [2022-12-12T12:37:14+0100] [ALPM] transaction started >> [2022-12-12T12:37:16+0100] [ALPM] upgraded bash (5.1.016-1 -> 5.2.009-1) > [...] > > So basically, lots of stuff was updated including Bash. Who knows > what that could cause? > > Are you able to build the source tarball of Emacs 28.2? > > Do you have an anti-virus installed? if so, can you turn it off, or > temporarily disable it, and try again? >> $ ./temacs --batch -l loadup --temacs=pbootstrap --bin-dest >> /mingw64/bin/ --eln-dest /mingw64/lib/emacs/30.0.50/ >> >> User@UserPC MINGW64 ~/src/emacs/src >> $ echo $? >> 127 > > So it isn't Make, probably. But it still could be Bash, or some of > the libraries that Emacs links in. > >