GNU bug report logs - #72335
An attempt to fix UCRT64 build failure

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: "YI Yue" <include_yy@HIDDEN>; Keywords: wontfix; dated Sun, 28 Jul 2024 13:57:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 72335 <at> debbugs.gnu.org:


Received: (at 72335) by debbugs.gnu.org; 11 Aug 2024 18:36:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 11 14:36:44 2024
Received: from localhost ([127.0.0.1]:41904 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sdDQq-0004Wm-EC
	for submit <at> debbugs.gnu.org; Sun, 11 Aug 2024 14:36:44 -0400
Received: from smtp-35.italiaonline.it ([213.209.10.35]:58461 helo=libero.it)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <angelo.g0@HIDDEN>) id 1sdDQn-0004WX-VK
 for 72335 <at> debbugs.gnu.org; Sun, 11 Aug 2024 14:36:43 -0400
Received: from [192.168.1.229] ([82.59.181.241])
 by smtp-35.iol.local with ESMTPA
 id dDQ3stMF3T0P7dDQBsFk50; Sun, 11 Aug 2024 20:36:04 +0200
x-libjamoibt: 1601
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021;
 t=1723401364; bh=xK4db+blMnAa/U0xvRT2jB2X8pfjA74bxm/MbRnuxYw=;
 h=From;
 b=gSvPCFlsoAFGLlGEykgVC/08nYuYCSPt7irolSNv/+3ctk4JUCeJ26Fd8Gc7JvNTd
 5ZSvmsGOnzcjHqfatxSuXdPD8oncDpYkMZcCDCQNLWA+5TxqizYwF825BRH/GIpp75
 OuARS6BB5vJmyd0qDHMQNgL+shTkSkT5bMVO+jShfLVewVB2HJ/Zd1WP96/6tbXdLr
 ad9r8sYug3lZw0MdHM+GdccPVym7fzd7/j8evlKzJG6Djugg3JBOCrsVRiZ5uYh5J4
 5iL7E4iRHrttSy8YmQgt4sP+b8AqvSpnskWuF4KticN9RaDrc5PXiL7/GjTkPdnUX/
 ZenBoqCeHRtag==
X-CNFS-Analysis: v=2.4 cv=Z5onH2RA c=1 sm=1 tr=0 ts=66b90494 cx=a_exe
 a=vNlO5uDn/+sAhgNbLvK8fQ==:117 a=vNlO5uDn/+sAhgNbLvK8fQ==:17
 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=T09U056rJcHpajmzDiwA:9 a=QEXdDO2ut3YA:10
Message-ID: <d68209ca-b99e-4b8e-af1a-fffea1c26016@HIDDEN>
Date: Sun, 11 Aug 2024 20:35:54 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#72335: An attempt to fix UCRT64 build failure
To: Yi Yue <include_yy@HIDDEN>
References: <eb782544-ba02-4610-a029-4374fa24d193@HIDDEN>
 <tencent_498F6F57D694D3D1D69CDB9D32DE69E0B609@HIDDEN>
Content-Language: en-GB, en-US, it
From: Angelo Graziosi <angelo.g0@HIDDEN>
In-Reply-To: <tencent_498F6F57D694D3D1D69CDB9D32DE69E0B609@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4xfDaB53aB3Q33G1WEuE2Zda29rxNdqnHni89o5U6ClOIo98ofa1sq45lOIPFB6oo9D2oEVf05imKDSfDxfPpSt2Cy7eWcHBG2tTDeFMk0hIjNzD2KFZf4
 Dmef/0yhxs34dtdspbR+eWCx/2bwaGuWuch9JQFEGX5BqvtQDz/f6wlevu0kjXzqq7pCA791lzuJAVz18m2D8+/4lYsmhZR/z1+vhnyYZpCo02n7isoq8ePQ
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 72335
Cc: 72335 <72335 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)



Il 11/08/2024 18:50, Yi Yue ha scritto:
> &gt; This happens if you apply only one patch.
> 
> &gt; You have to apply _both_ patches (don't ask WHY!):
> 
> &gt; https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-emacs/001-ucrt.patch
> 
> &gt; https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-emacs/002-clang-fixes.patch
> 
> &gt; I do monthly UCRT64 builds of Emacs master on Win10 (*true* machine, not&nbsp;Wine nor VBox). I did the last build with yesterday master and had only&nbsp;two warnings for ORG/TEXI filesorg.texi:16157: warning: @anchor should not appear on @item line
> &gt; org.texi:16170: warning: @anchor should not appear on @item line
> 
> &gt; Maybe MSYS2 people which created those patches can clarify...
> 
> &gt; Ciao,
> &gt;   Angelo.
> 
> Hi Angelo, Thanks for your advice, I didn't reply to you because I have seen it in your reply in Emacs-devel.
> 
> Now, the UCRT problem seems solved by Quang Kien Nguyen[1], I tried the last master branch and compiled it in UCRT64 environment, it succeeds.
> 
> Also, you don't need to reply to me, since this bug report is of little use.

Yes I know. I have built with Quang patch last week and have verified 
that now Emacs builds from master OB in MSYS2/UCRT64. Maybe we have to 
inform MSYS2 people...

Many tanks to Quang and Eli!




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72335; Package emacs. Full text available.

Message received at 72335 <at> debbugs.gnu.org:


Received: (at 72335) by debbugs.gnu.org; 11 Aug 2024 16:51:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 11 12:51:22 2024
Received: from localhost ([127.0.0.1]:41890 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sdBms-0001v2-9D
	for submit <at> debbugs.gnu.org; Sun, 11 Aug 2024 12:51:22 -0400
Received: from xmbghk7.mail.qq.com ([43.163.128.44]:45983)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <include_yy@HIDDEN>) id 1sdBmf-0001u7-6q
 for 72335 <at> debbugs.gnu.org; Sun, 11 Aug 2024 12:51:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1723395023; bh=bQDf84QP14WWzWUESg6spgLJhLWfeE/lIz9/vZ0G2hY=;
 h=In-Reply-To:References:From:To:Cc:Subject:Date;
 b=p0p4Jezu9CH6OfJaXfOL+ffj9B3EI66XEjXSOT1QfqpHt0ygudf2SJU8muELym0MR
 4EHhza3mAVI4gfmms5ah7AOGf4jMlwAoDdzdsFzmUW/oFLBbcFp5sM+STtSq8No2Gb
 ws0RHy6GkVUP7VYRI0R4qJF2XqTquCJlNG+YnsfI=
X-QQ-FEAT: oHWrrGTW1dC2rQ4SYB6o3zego2AKJXPB
X-QQ-SSF: 00000000000000F0000000000000
X-QQ-XMRINFO: OD9hHCdaPRBwq3WW+NvGbIU=
X-QQ-XMAILINFO: M/BhhHt976mJGcwNkM7h1RjSLk4vzQ/0o/Z9ClZ/hmdBn4KSum+uoqPv6NGLOD
 bSzMGXSucZbYT9UE0paOewnUwe8Qtr1zYm/YHzPmUHhl+61/Vkm/Qx+5gppMquh5NtMxinqV+57UU
 Bnpp3VHw4DlykYS6ANW1TNv3Fu8/ZVnABnYjW7rYRUvsaSPJzzVwkIU76IZzg8oCG/MiKPtXvJkjF
 yTdmL0StfytJXBpCsfPtma0Izx7y1gpOXR+AV/AyGju5QwKcI879F1R/j4HOUKxJhtMzgdm7J7M2X
 sYsUakF+Nu3ZlqemCr7glqU1YmNobPnIcJnYtzr8EYOazn3OcSEVTeTz4bMU0KMMHslcAQWzvy2rj
 h1paHzA9a9ukHXhqE6Pc/bdZAHNrUemmXGRHNYLlS/MlSkCHgNioRWjtT3hekEFboZskg3d/7bGvh
 01eCd8WXbSCYIn0mYkfAe/PNIUSJjJUZdwSWAGuf86H7Gf+WbckQt9jlXECo0B1WTCc6FlPgVSXlq
 /VDlfgH7OzRqGL8rJOvOq+q4Kzf1p9LkCxPsUanYxR7juncIDyvfsCp2PgLyNLnBE9NAJGDH9zfV7
 JaKKclSFXiI+iSvIWli2TSyGRdjRZeRie1wS2Pk8TY2msSWm+hAf8n9R0W75TTBR30x+LZjI7lVpC
 AwY4mHhEZFAwH3pDnhac59/OS6uutCUf8U7SnHXLBoo2MzHiIfbQ2k8IjUBT6j/cGNoM572SNGG9V
 fFedYxIQAdP6c57VZ/3JM35BvouwUbqnXbQmDPYQbB7WW621cyV0O94UUBGDDXK9MkfTBIYLMLFVM
 7IjokPVj+MBYTm/ZkYiqHBQ7vX4YW9Nbn4rQpxn/LhgTTpRn6l0Zs2HZaqGycBc1PgWkBbD+rjYbs
 2Jcynug0wBKgjYPtugg8ufGRHkW2T8NREAEisfLKy7mqrH1wXEIUbiMM8I2NKtOTXbQdNhX9ccsh4
 X+UHJBtARBGG1qqvCH
X-HAS-ATTACH: no
X-QQ-BUSINESS-ORIGIN: 2
X-Originating-IP: 119.175.143.156
In-Reply-To: <eb782544-ba02-4610-a029-4374fa24d193@HIDDEN>
References: <eb782544-ba02-4610-a029-4374fa24d193@HIDDEN>
X-QQ-STYLE: 
X-QQ-mid: webmail739t1723395022t722891
From: "=?ISO-8859-1?B?WWkgWXVl?=" <include_yy@HIDDEN>
To: "=?ISO-8859-1?B?QW5nZWxvIEdyYXppb3Np?=" <angelo.g0@HIDDEN>
Subject: Re: bug#72335: An attempt to fix UCRT64 build failure
Mime-Version: 1.0
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: base64
Date: Mon, 12 Aug 2024 01:50:21 +0900
X-Priority: 3
Message-ID: <tencent_498F6F57D694D3D1D69CDB9D32DE69E0B609@HIDDEN>
X-QQ-MIME: TCMime 1.0 by Tencent
X-Mailer: QQMail 2.x
X-QQ-Mailer: QQMail 2.x
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 72335
Cc: =?ISO-8859-1?B?NzIzMzU=?= <72335 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Jmd0OyBUaGlzIGhhcHBlbnMgaWYgeW91IGFwcGx5IG9ubHkgb25lIHBhdGNoLgoKJmd0OyBZ
b3UgaGF2ZSB0byBhcHBseSBfYm90aF8gcGF0Y2hlcyAoZG9uJ3QgYXNrIFdIWSEpOgoKJmd0
OyBodHRwczovL2dpdGh1Yi5jb20vbXN5czIvTUlOR1ctcGF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29tcGlsZWQgaXQgaW4gVUNSVDY0IGVudmlyb25tZW50LCBpdCBzdWNjZWVkcy4KCkFsc28s
IHlvdSBkb24ndCBuZWVkIHRvIHJlcGx5IHRvIG1lLCBzaW5jZSB0aGlzIGJ1ZyByZXBvcnQg
aXMgb2YgbGl0dGxlIHVzZS4KClJlZ2FyZHMKCllpIFl1ZQpbMV0gaHR0cHM6Ly9saXN0cy5n
bnUub3JnL2FyY2hpdmUvaHRtbC9lbWFjcy1kZXZlbC8yMDI0LTA4L21zZzAwMTkyLmh0bWw=





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72335; Package emacs. Full text available.

Message received at 72335 <at> debbugs.gnu.org:


Received: (at 72335) by debbugs.gnu.org; 3 Aug 2024 15:39:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 03 11:39:49 2024
Received: from localhost ([127.0.0.1]:54700 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1saGrE-0008VP-Td
	for submit <at> debbugs.gnu.org; Sat, 03 Aug 2024 11:39:49 -0400
Received: from smtp-16.italiaonline.it ([213.209.10.16]:33080 helo=libero.it)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <angelo.g0@HIDDEN>) id 1saGrC-0008VA-Re
 for 72335 <at> debbugs.gnu.org; Sat, 03 Aug 2024 11:39:47 -0400
Received: from [192.168.1.229] ([87.10.222.106])
 by smtp-16.iol.local with ESMTPA
 id aGqesnuqI201laGqlsOqHp; Sat, 03 Aug 2024 17:39:20 +0200
x-libjamoibt: 1601
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021;
 t=1722699560; bh=ocQPfmn34HC+6Q9tijCv62C1CWl9Bc16k0Z4CqMzq48=;
 h=From;
 b=F10GqbO9TdVd2xggfx60apw4bY2VqVc8mERZ9siNCLAz6feS31TBON2DQeiUHBKnF
 xSwyO1B12W3LNwErFQrWmeLRhWKMdIacIsqQoMV8PHTPu8YPAfTzhJ3s0sRUK1IwYJ
 1Z0JkjCYPEsByoprFEZaua2KS4OuTpDkIZ1c8wL5p6JsaBScvS1K80wD49VIrgk5z7
 /NYgYamNtZGbCyeORodWLBSKtq5ljSuVnK74rRed246No6ddD0rdUofgrCa5j0JGGy
 fxKITsg13+dhI8P9Tx3ZO+LCSKFyv+CrkW0diyIMWTVx39VUKjOrEzBZyvbbGZNrnB
 QqtXd7xxEYENA==
X-CNFS-Analysis: v=2.4 cv=f7aDB/yM c=1 sm=1 tr=0 ts=66ae4f28 cx=a_exe
 a=Bm/exS0prQ4hTSvkmfDYzw==:117 a=Bm/exS0prQ4hTSvkmfDYzw==:17
 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=U7qgAG7zIi2Y_afgpdQA:9 a=QEXdDO2ut3YA:10
Message-ID: <eb782544-ba02-4610-a029-4374fa24d193@HIDDEN>
Date: Sat, 3 Aug 2024 17:39:10 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-GB, en-US, it
To: include_yy@HIDDEN
From: Angelo Graziosi <angelo.g0@HIDDEN>
Subject: Re: bug#72335: An attempt to fix UCRT64 build failure
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4xfFcLwym4OK+lYeI5TVyWkg/GnEg3Ykg0AINpz6SMmoLAWCxxIf8SG4Hw3PSaWdG3m3mKH8MCs6Te60+kiOg932bdW35YEdadv7bitd6JI42JUORpnVrS
 TMUMf9bf/FHrzFv9wgzlyZW7+GMgQesC+5ssmaXUKLUD9TC6peEnqL1+Gm+QyqFefUzLsVa5mG0dD8/8uIXytxzZcKNxDGNkLAUM2AhJ6xoLAnNa/zAIMvq6
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 72335
Cc: 72335 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

> MSYS2 do provides a patch[2] that do something about function
> `close_output_streams' in src/sysdep.c. By applying it, I can get these results:
> 
> ***
> *** "make all" succeeded, but Emacs is not functional.
> ***
This happens if you apply only one patch.

You have to apply _both_ patches (don't ask WHY!):

https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-emacs/001-ucrt.patch

https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-emacs/002-clang-fixes.patch

I do monthly UCRT64 builds of Emacs master on Win10 (*true* machine, not 
Wine nor VBox). I did the last build with yesterday master and had only 
two warnings for ORG/TEXI files

org.texi:16157: warning: @anchor should not appear on @item line
org.texi:16170: warning: @anchor should not appear on @item line

Maybe MSYS2 people which created those patches can clarify...

Ciao,
   Angelo.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72335; Package emacs. Full text available.

Message received at 72335 <at> debbugs.gnu.org:


Received: (at 72335) by debbugs.gnu.org; 28 Jul 2024 14:50:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 28 10:50:04 2024
Received: from localhost ([127.0.0.1]:44213 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sY5Dn-0002sv-RW
	for submit <at> debbugs.gnu.org; Sun, 28 Jul 2024 10:50:04 -0400
Received: from xmbghk7.mail.qq.com ([43.163.128.54]:46585)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <include_yy@HIDDEN>) id 1sY5Dl-0002sI-Nn
 for 72335 <at> debbugs.gnu.org; Sun, 28 Jul 2024 10:50:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1722178177; bh=HF4qxFu8KI+n7YR4IuGURCf7dj7IBsTa1lVec4u72WE=;
 h=In-Reply-To:References:From:To:Cc:Subject:Date;
 b=H3QcjAxdISmgxSqyaH0RPrmjM3+SEo1gnE4shwGlk3GnM2htQm0j5CJJ4PVsMobo4
 YyxSAEycozn188hJX4sRwua3sQNa2fggeO+MmqK1GQziw4l/erY4gPXmhDLKaLpeKq
 q/uVLNnruCcznUBCeZNR+KcO89hAjbqb+jtJFkAs=
X-QQ-FEAT: oHWrrGTW1dC2rQ4SYB6o3zego2AKJXPB
X-QQ-SSF: 00000000000000F0000000000000
X-QQ-XMRINFO: MSVp+SPm3vtS1Vd6Y4Mggwc=
X-QQ-XMAILINFO: NaWzk+03Vk2ryjhuzTvZXp5tN1XmvxTvsocLHZImhkyudOLB9z0xFVLKInH7sT
 EARuQV1Oxfq6uVnPacojex59/pUheE2z/zVR6kB+r++CS5CKK/bjnTjJVssjeG/DgcNNUV1RsJ9XK
 OiJxiBdS5sEbS0prtUseyNs+JBF5meu9AvUvDc/p0CjFlAo4BAw2DBqWtLklU6ARtFXE7S+0LwSvi
 jocmZPhWrrT5XEMu2rfFZsiLC9cObVoG/kb7OaCGWTkRFp9DeltqnE2K/lcgRxBy19bB/6ld5odgE
 fizUaHA5i/iFr5+VoBP3wHxcBs6AZQ09Go3S5x8F3ACxgBKS0QF5cqmm5j/deHM0D1FsAYxK/blpx
 1mOk3vOvw1T8Wsz+kIbkcrvmjQ3f2tufoC0N3lNvGelZadhN3Mw9UbDS9usTLHZJIr68JvMQduf2s
 V++XZD0IHlq1ZePAHpNF0/yC86qOG9aYoM7bd0C9PLEl9zGazG2mkpp8uVXrsIOV5UFoo3sPxN7gD
 QvhzqEQIJmgf/nsXquQwL3B3S61yAl9sm6IM1EGdK/OkMJ3/egc+U7LqPgO+I3aEZueA5JoRhA8gw
 hn5StAZhB7FnvpE8Iu8C6pCNTHxsAsawtTsS/1U1R+WPw15PvpaTeMKUihVZ0CFQJB4721df9sRJR
 FzyKW11kYRpiLK66Ecjgi/9DaHMiHc0iIjIV/BHv8U7Zl10mav5PdxQlZemg0/3RbtnT6BvqzIfnc
 4pIB9tbwyCj1HMcy3XjW5staN1FHnrPY1eXWA6dx+SZLu50zIa+6OXXpY2ugurbEG3H0tnX/UZnI3
 aDNdIRwgKe19NDZe/oeYhyuD4xyQPm0vq1HYmInQF1HWwODEqcY4YD+CVUgS6WJqpHV2DAr7ARlKO
 cBarpwAHrRyLZveHO+sfgQzsN6c9tL9P8PG6ARficpfQ+T2IZTtqTwtY4vAsvDljm9BPXs/+MtsjD
 GNF2fS7cyAVw6dS4VO+NUHPeHYmBa2taxy0CauIOaIFGy2ngvnmNnPJsPhPyQZffCtbiWBBw==
X-HAS-ATTACH: no
X-QQ-BUSINESS-ORIGIN: 2
X-Originating-IP: 133.9.121.69
In-Reply-To: <e32fnwfU4QUP4JEmYtz1m2eXw54bDCMDx9rhx1ybY7bc9s45rlNxm_Py2gievKbm7NDlrlLiPa4mQ2X9TamtaF8aW-4v25mUxeiRsea7Uh4=@protonmail.com>
References: <tencent_3792C71A2B55CAA768DBCEBC4E2DEF337008@HIDDEN>
 <e32fnwfU4QUP4JEmYtz1m2eXw54bDCMDx9rhx1ybY7bc9s45rlNxm_Py2gievKbm7NDlrlLiPa4mQ2X9TamtaF8aW-4v25mUxeiRsea7Uh4=@protonmail.com>
X-QQ-STYLE: 
X-QQ-mid: webmail739t1722178177t762732
From: "=?gb18030?B?bzBvMG+6xNfT?=" <include_yy@HIDDEN>
To: "=?gb18030?B?NzIzMzU=?=" <72335 <at> debbugs.gnu.org>
Subject: =?gb18030?B?u9i4tKO6IGJ1ZyM3MjMzNTogQW4gYXR0ZW1wdCB0?=
 =?gb18030?B?byBmaXggVUNSVDY0IGJ1aWxkIGZhaWx1cmU=?=
Mime-Version: 1.0
Content-Type: text/plain;
	charset="gb18030"
Content-Transfer-Encoding: base64
Date: Sun, 28 Jul 2024 23:49:37 +0900
X-Priority: 3
Message-ID: <tencent_AB454FB901ADD659CB69E97D1F4EEA986505@HIDDEN>
X-QQ-MIME: TCMime 1.0 by Tencent
X-Mailer: QQMail 2.x
X-QQ-Mailer: QQMail 2.x
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 72335
Cc: =?gb18030?B?UGlwIENldA==?= <pipcet@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Jmd0OyBKdXN0IHRvIGNvbmZpcm0sIHRoYXQncyBvbiBuYXRpdmUgV2luZG93cywgcmlnaHQ/
CgpZZXMsIGJ1dCBhcyBFbGkgc2FpZCwgbXkgYXBwcm9hY2ggaXMgbm90IHJpZ2h0LCBzbyBq
dXN0IGlnbm9yZSBpdC4KU29ycnkgZm9yIHdhc3Rpbmcgc29tZSB0aW1lLgoKUmVnYXJkcy4=
y




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72335; Package emacs. Full text available.

Message received at 72335 <at> debbugs.gnu.org:


Received: (at 72335) by debbugs.gnu.org; 28 Jul 2024 14:47:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 28 10:47:50 2024
Received: from localhost ([127.0.0.1]:44209 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sY5Be-0002ow-8t
	for submit <at> debbugs.gnu.org; Sun, 28 Jul 2024 10:47:50 -0400
Received: from xmbghk7.mail.qq.com ([43.163.128.43]:50423)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <include_yy@HIDDEN>) id 1sY5BV-0002oX-JH
 for 72335 <at> debbugs.gnu.org; Sun, 28 Jul 2024 10:47:49 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1722178034; bh=Bk/CsYCF5Bo9puvHiLD4RnL11c9L/RB4JSWGP9I4sqw=;
 h=In-Reply-To:References:From:To:Cc:Subject:Date;
 b=EH9Xh5ZjbFz+2vUjxBcVO3t9bdtr8hNhRaALys3JXflPIjJVr/X8VA1uXitiB7J+v
 pCiWGpFl30nlqovzzT/vMg27lRje+2e+Hz8iqJZq/oPPjqHG+bpjYhOhQmtdE5yhIC
 4m+kkNN1J/LUm1BeYuIKJCyGkXCSSbl9FJ5rsWPw=
X-QQ-FEAT: oHWrrGTW1dAsGLFenq4sogOoyW13zn73
X-QQ-SSF: 00000000000000F0000000000000
X-QQ-XMRINFO: NyFYKkN4Ny6FSmKK/uo/jdU=
X-QQ-XMAILINFO: M+NRtgAEEM8GeH7l+gwR+by98F4oXWDHZ/HXK876G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S-ORIGIN: 2
X-Originating-IP: 133.9.121.69
In-Reply-To: <86wml5zj1e.fsf@HIDDEN>
References: <tencent_3792C71A2B55CAA768DBCEBC4E2DEF337008@HIDDEN>
 <86wml5zj1e.fsf@HIDDEN>
X-QQ-STYLE: 
X-QQ-mid: webmail739t1722178033t7315351
From: "=?gb18030?B?bzBvMG+6xNfT?=" <include_yy@HIDDEN>
To: "=?gb18030?B?NzIzMzU=?=" <72335 <at> debbugs.gnu.org>
Subject: =?gb18030?B?u9i4tKO6IGJ1ZyM3MjMzNTogQW4gYXR0ZW1wdCB0?=
 =?gb18030?B?byBmaXggVUNSVDY0IGJ1aWxkIGZhaWx1cmU=?=
Mime-Version: 1.0
Content-Type: text/plain;
	charset="gb18030"
Content-Transfer-Encoding: base64
Date: Sun, 28 Jul 2024 23:47:13 +0900
X-Priority: 3
Message-ID: <tencent_70A04EC8EF057064C7A72B35CADB6805CE08@HIDDEN>
X-QQ-MIME: TCMime 1.0 by Tencent
X-Mailer: QQMail 2.x
X-QQ-Mailer: QQMail 2.x
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 72335
Cc: =?gb18030?B?RWxpIFphcmV0c2tpaQ==?= <eliz@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
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Mgb25lIGRheS4KClJlZ2FyZHMu





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72335; Package emacs. Full text available.
Added tag(s) wontfix. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 72335 <at> debbugs.gnu.org:


Received: (at 72335) by debbugs.gnu.org; 28 Jul 2024 14:30:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 28 10:30:15 2024
Received: from localhost ([127.0.0.1]:44186 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sY4uc-0002Ms-SG
	for submit <at> debbugs.gnu.org; Sun, 28 Jul 2024 10:30:15 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48280)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1sY4ua-0002LS-3H; Sun, 28 Jul 2024 10:30:12 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1sY4uH-0002ny-R3; Sun, 28 Jul 2024 10:29:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=z/CcfZ5ZZVglsjA0+L+2uZCDgKti/tf9TNkuI+pEq8g=; b=qQuDsDav8rjm
 vbG9RN5NgyVhkFw8sL/K2aG3b2hIG2J1cwf/vUNLrQWTrqqV46K2x9wn3UhtEXzL9k5kAXOPHT+Va
 MjRA0QMGwHpfVNUBqyrNnZhd3sRzbl8WkpdSlr4XaTHfH96V5MEBLC52VHwUUedLURYF4lWX+g0Uv
 dI8kUN+65b82X9KBArpBi1+UU5iqCCWE8N9fC8HJvh98DIE+63hOkVRb7VVVgExQSM+INhGEfHJ3P
 CJvUx4DQaZeOU4cHV9lAQywuTWCWdj3v0RFkvXyCBPL/Q9urfAE3EnaQA2QOqKGLo+R1C9uvgmOvC
 dUWyBIRTl6Sgt1a9S2BhQg==;
Date: Sun, 28 Jul 2024 17:29:49 +0300
Message-Id: <86wml5zj1e.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: "YI Yue" <include_yy@HIDDEN>
In-Reply-To: <tencent_3792C71A2B55CAA768DBCEBC4E2DEF337008@HIDDEN>
 (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#72335: An attempt to fix UCRT64 build failure
References: <tencent_3792C71A2B55CAA768DBCEBC4E2DEF337008@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 72335
Cc: 72335 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 72335 wontfix
thanks

> Date: Sun, 28 Jul 2024 22:55:48 +0900
> From:  "YI Yue" via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> I occasionally try to compile Emacs to get the latest commits. But on Windows, I
> only use Mingw64 because it's the only one officially supported by Emacs.[1]
> When I try to build Emacs in MSYS2/UCRT64, I'll get these outputs:
> 
> ./temacs --batch  -l loadup --temacs=pbootstrap \
>         --bin-dest '/d/user/yy/emacs-build/bin/' --eln-dest '/d/user/yy/emacs-build/lib/emacs/31.0.50/'
> D:\user\yy\emacs-master\src\temacs.exe: Write error to standard output: No such file or directory

The UCRT build of Emacs on MS-Windows is not officially supported.
And it will remain unsupported until some volunteer steps forward to
take the responsibility for testing, maintaining, and developing Emacs
on Windows when linked with UCRT.  I asked several times for such a
volunteer, but no one picked up the gauntlet.

The first job of such a volunteer, if and when he or she steps up,
will be to solve this and a couple of other problems which were
reported lately for this build.  Until now, the attempts to understand
why close_stream fails for the standard streams in the UCRT build were
unsuccessful, unfortunately, even though these attempts included the
study of the UCRT sources that are available on the Internet.

> MSYS2 do provides a patch[2] that do something about function
> `close_output_streams' in src/sysdep.c. By applying it, I can get these results:
> 
> ***
> *** "make all" succeeded, but Emacs is not functional.
> ***

Those patches are ad-hoc and come without a satisfactory explanation
of their reason(s).  Being able to make sure the standard streams are
successfully closed is important, so I don't want to disable that in
the upstream sources.  Emacs is Free Software, so people can always
apply those patches to their local builds if they must use the UCRT
build and if they don't care about stdout/stderr.

> Sometimes I'll check emacs-devel to see if there are any progress in solving
> this problem, such as this[3]. Two days ago I saw Pip Cet's "MPS: Win64
> testers?"[4] and it inspired me that the problem may come from `init_ntproc' in
> src/w32.c. After seeing UCRT's documentation[5], I think maybe we can use
> `_fcloseall' instead of `fclose'? By using this, I get no error above when building 
> in MSYS2/UCRT64.

I don't think _fcloseall is what we need: according to the MS
documentation, it closes all the streams _except_ the standard ones,
so it's the exact opposite of what we need.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72335; Package emacs. Full text available.

Message received at 72335 <at> debbugs.gnu.org:


Received: (at 72335) by debbugs.gnu.org; 28 Jul 2024 14:22:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 28 10:22:53 2024
Received: from localhost ([127.0.0.1]:44180 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sY4nU-0002AP-TH
	for submit <at> debbugs.gnu.org; Sun, 28 Jul 2024 10:22:53 -0400
Received: from mail-4316.protonmail.ch ([185.70.43.16]:56761)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pipcet@HIDDEN>) id 1sY4nS-0002AA-TW
 for 72335 <at> debbugs.gnu.org; Sun, 28 Jul 2024 10:22:51 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail3; t=1722176553; x=1722435753;
 bh=JBUR0D0CHagSpzkoblcIfxB4p/YcB9QieosfeSEp4wA=;
 h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:
 Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
 Message-ID:BIMI-Selector;
 b=mJffgHngz8qRlGAruKKrwNdGMvG3Zf8ZaAHNBRwoY0gmHOi4++edQkH4QUOsmX5Z2
 gvF3/8OvfECJNoPbil0Xu6YTqrU5Uc2SqEtjziacC1yXCPcv2e21GAd5KBWf+eeKa4
 v4C2R023uWQDmK56dXoEvK/AjaIxQj8o/qvG/1ezI1TfMz233n4X+AZR9MKdYCapCM
 jr9c9ne4ylMUpBLnumyWogyiJ0o5ms0t6VO3KlbmnYIQAm3n9NgY/EDQ76tcvU2zU6
 QVq8INwFEDf3e+Jan9/+hoS2j3n1K0wnp9wloWO0bwHbSH1Ffq+O5+caFqZt2ulo/7
 C3K2ZAn+hY0Wg==
Date: Sun, 28 Jul 2024 14:22:25 +0000
To: YI Yue <include_yy@HIDDEN>
From: Pip Cet <pipcet@HIDDEN>
Subject: Re: bug#72335: An attempt to fix UCRT64 build failure
Message-ID: <e32fnwfU4QUP4JEmYtz1m2eXw54bDCMDx9rhx1ybY7bc9s45rlNxm_Py2gievKbm7NDlrlLiPa4mQ2X9TamtaF8aW-4v25mUxeiRsea7Uh4=@protonmail.com>
In-Reply-To: <tencent_3792C71A2B55CAA768DBCEBC4E2DEF337008@HIDDEN>
References: <tencent_3792C71A2B55CAA768DBCEBC4E2DEF337008@HIDDEN>
Feedback-ID: 112775352:user:proton
X-Pm-Message-ID: 1b6937a394a0b18dd904692d7f384a069fc1c4fa
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 72335
Cc: 72335 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Sunday, July 28th, 2024 at 13:55, YI Yue" via "Bug reports for GNU Emacs=
, the Swiss army knife of text editors <bug-gnu-emacs@HIDDEN> wrote:
> I occasionally try to compile Emacs to get the latest commits. But on Win=
dows, I
> only use Mingw64 because it's the only one officially supported by Emacs.=
[1]
> When I try to build Emacs in MSYS2/UCRT64, I'll get these outputs:

Just to confirm, that's on native Windows, right? Because I don't know how =
UCRT behaves on that system, such information is greatly appreciated

> I think maybe we can use
> `_fcloseall' instead of` fclose'? By using this, I get no error above whe=
n building
> in MSYS2/UCRT64.

I don't think _fcloseall should have any effect on the standard three strea=
ms, so making the entire section "Initial preparation for subprocess suppor=
t" should have the same effect, I think. That's what I'm doing in my ucrt64=
/msys2/wine experiments :-)

> I have little knowledge of MSVCRT and UCRT, it just works :)

Thanks, that's great to know.

> Here is my patch, regards.
>=20
> [1]: https://lists.gnu.org/archive/html/help-gnu-emacs/2022-01/msg00441.h=
tml
> [2]: https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-emacs/=
001-ucrt.patch
> [3]: https://lists.gnu.org/archive/html/emacs-devel/2024-02/msg00744.html
> [4]: https://lists.gnu.org/archive/html/emacs-devel/2024-07/msg01055.html
> [5]: https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/fc=
lose-fcloseall

Thanks again, particularly for going to the trouble of collecting those lin=
ks.

Pip




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72335; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Jul 2024 13:56:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 28 09:56:28 2024
Received: from localhost ([127.0.0.1]:44132 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sY4Nv-0001Q6-JR
	for submit <at> debbugs.gnu.org; Sun, 28 Jul 2024 09:56:28 -0400
Received: from lists.gnu.org ([209.51.188.17]:48918)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <include_yy@HIDDEN>) id 1sY4Nq-0001Py-JC
 for submit <at> debbugs.gnu.org; Sun, 28 Jul 2024 09:56:25 -0400
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 <include_yy@HIDDEN>) id 1sY4Ne-0001ip-Ld
 for bug-gnu-emacs@HIDDEN; Sun, 28 Jul 2024 09:56:10 -0400
Received: from xmbghk7.mail.qq.com ([43.163.128.53])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <include_yy@HIDDEN>) id 1sY4NV-0005cy-V4
 for bug-gnu-emacs@HIDDEN; Sun, 28 Jul 2024 09:56:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1722174949; bh=yZKvhy2ramjsv19cB4sW3uDAEBwvMiQTw7RevmdCkWk=;
 h=From:To:Subject:Date;
 b=AKKCYaayo2md234Pk168RVsMThCLNa/2GI9HFYejiD/9zScmVSRssfCFBZAZXVNze
 ufNqbqSr4tp3+LAX185kGkSSMBZJy+H3x53JLgqaS+qYHJidpEC8fB6SZ0K+4mqFnt
 c+xMn0u/3CUAP9by7r+mswxk3k6ZFYBIlAQhj5IY=
X-QQ-FEAT: oHWrrGTW1dAsGLFenq4sogOoyW13zn73
X-QQ-SSF: 00000000000000F0000000000000
X-QQ-XMRINFO: OD9hHCdaPRBwq3WW+NvGbIU=
X-QQ-XMAILINFO: MwkkaHu5BHik0KdBqvz2dSExpyseCHs/EV7Z2m1FWRnkyf94oxx22yTasGEzEm
 xDbb4jmJ85h3GJTKnax/oLJX1imiHJlsCkoVCrfQJ7rZ7Ed9BuEXtgJBOuh7g156EjfIE53Q4BOKS
 CzNfi0w6fw75wU2gQbwam7uJ6iZ5SePv2v4YdiwEI8wwSzDrQ4OLrly8/qn2Q41cMKu+NnZ9D+NX0
 ER1Tr5qhiqlmDmWOLn+hGWLn70ccv2Xz5Lq3ry6CNA4uDy+7TsMjNWszQ/ZgWEbjYN+VnBlFIhC6/
 kSLXfasADUs/3Q8+z15w6VJRp4XpdbGKmpGPVObjnz2iQPAh8NrTov6TgVGEjBOFp6q9VDUp8IQ5o
 iIUvEeKi8TEK2oiGgaSCC81weNZKKdPWiYEhsD+x8GKVH2cN4MwglbnaVvBOz8wIV0RaMXbXyotRR
 pB9s9PdSDCYyMp7lrAYOPgn1bj5wWzhOp5Jp4nC0893DjxXG0ljp3oQUGTJlxwIalUEg6tnvJcvxZ
 KFmfdpSUuJn/hSV+r5YAJQArKnEEV1VlzwAbTQRhPPD54tcqpKd28nPCkL8sho0j61+CiCmx8BF5b
 q29JAQl5Dk4BCSlU/UELNlh3OmTes0APR7eN+FICex02P6u9dH9FbUszDEu0BK4hQCTmx4GPHYDkn
 Ud5e6F2EKDoqVWvARFqD+SDVjn9TBskfWnhzJVdDB3s0Bh1LiGzphKY6lxuHWvGNbxpQ5TUFN5WXh
 NEKKBlivqEQNcxeTRoFikIz6geMhMwpVH5TybwBCE9upULWaDe+mhA5UO4pjAI7SFF8K4BDqz6K6k
 UIV4Dhfvi3ib8JJ3CuuQqX7STzP1ifVK2dM7Gb4zaNIj+fqzHX5qODwR4mf6akonoIJlAHYWh7t+l
 oKFhDZkz+7vbaCbcWtl3Kf13EMsVK37vnnTdTsxP4et5HYCHS7otlVs0ppJX0+nIve5nPeQdPZgBi
 jS4hgnJbFtvkUmu9h0P2tD1bf71TM=
X-HAS-ATTACH: no
X-QQ-BUSINESS-ORIGIN: 2
X-Originating-IP: 133.9.121.69
X-QQ-STYLE: 
X-QQ-mid: webmail739t1722174948t5392455
From: "=?ISO-8859-1?B?WUkgWXVl?=" <include_yy@HIDDEN>
To: "=?ISO-8859-1?B?YnVnLWdudS1lbWFjcw==?=" <bug-gnu-emacs@HIDDEN>
Subject: An attempt to fix UCRT64 build failure
Mime-Version: 1.0
Content-Type: multipart/mixed;
 boundary="----=_NextPart_66A64DE4_14AE8C38_67ADAD20"
Content-Transfer-Encoding: 8Bit
Date: Sun, 28 Jul 2024 22:55:48 +0900
X-Priority: 3
Message-ID: <tencent_3792C71A2B55CAA768DBCEBC4E2DEF337008@HIDDEN>
X-QQ-MIME: TCMime 1.0 by Tencent
X-Mailer: QQMail 2.x
X-QQ-Mailer: QQMail 2.x
Received-SPF: pass client-ip=43.163.128.53; envelope-from=include_yy@HIDDEN;
 helo=xmbghk7.mail.qq.com
X-Spam_score_int: 0
X-Spam_score: -0.1
X-Spam_bar: /
X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 FROM_EXCESS_BASE64=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_TVD_MIME_EPI=0.01, URI_TRY_3LD=1.999 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.6 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

This is a multi-part message in MIME format.

------=_NextPart_66A64DE4_14AE8C38_67ADAD20
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: base64

SGVsbG8sIGV2ZXJ5b25lCgpJIG9jY2FzaW9uYWxseSB0cnkgdG8gY29tcGlsZSBFbWFjcyB0
byBnZXQgdGhlIGxhdGVzdCBjb21taXRzLiBCdXQgb24gV2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rt.patch"
Content-Disposition: attachment; filename="ucrt.patch"
Content-Transfer-Encoding: base64

ZGlmZiAtLWdpdCBhL3NyYy93MzIuYyBiL3NyYy93MzIuYwppbmRleCAzMWZmYTMwMWMyLi5h
N2ZjMGVmZGU0IDEwMDY0NAotLS0gYS9zcmMvdzMyLmMKKysrIGIvc3JjL3czMi5jCkBAIC0x
MDUxMyw5ICsxMDUxMywxMyBAQCBpbml0X250cHJvYyAoaW50IGR1bXBpbmcpCiAJCSAgICAg
RkFMU0UsCiAJCSAgICAgRFVQTElDQVRFX1NBTUVfQUNDRVNTKTsKCisjaWZuZGVmIF9VQ1JU
CiAgICAgZmNsb3NlIChzdGRpbik7CiAgICAgZmNsb3NlIChzdGRvdXQpOwogICAgIGZjbG9z
ZSAoc3RkZXJyKTsKKyNlbHNlCisgICAgX2ZjbG9zZWFsbCgpOworI2VuZGlmCgogICAgIGlm
IChzdGRpbl9zYXZlICE9IElOVkFMSURfSEFORExFX1ZBTFVFKQogICAgICAgX29wZW5fb3Nm
aGFuZGxlICgoaW50cHRyX3QpIHN0ZGluX3NhdmUsIE9fVEVYVCk7Cg==

------=_NextPart_66A64DE4_14AE8C38_67ADAD20--
 fiŃ




Acknowledgement sent to "YI Yue" <include_yy@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#72335; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.