From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Emacs master build broken [MSYS2/UCRT64] Date: Fri, 18 Aug 2023 23:35:57 +0200 (CEST) Message-ID: <971110677.7074324.1692394557584@mail1.libero.it> 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="16720"; mail-complaints-to="usenet@ciao.gmane.io" To: "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 18 23:36:56 2023 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 1qX79L-00048t-PG for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Aug 2023 23:36:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qX78b-00069W-SR; Fri, 18 Aug 2023 17:36:10 -0400 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 1qX78Z-00067Y-4j for emacs-devel@gnu.org; Fri, 18 Aug 2023 17:36:07 -0400 Original-Received: from smtp-16-i2.italiaonline.it ([213.209.12.16] helo=libero.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qX78V-00020v-7B for emacs-devel@gnu.org; Fri, 18 Aug 2023 17:36:06 -0400 Original-Received: from oxapps-18-106.iol.local ([10.101.8.116]) by smtp-16.iol.local with ESMTPA id X78Pqj52eLiBEX78PqHB8Y; Fri, 18 Aug 2023 23:35:57 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1692394557; bh=encDotvYoCmZOv90TkCF1DrbfcDUnW2YRMff8DmrxZo=; h=From; b=qDQ73b27eX7Lp0TFEdNZyEbqyYzYsM6AOHO2GIJlJC6VwMIydb577kiRDv9ywSF9B +7+OrZ81DMG+1BO67bU0TZKhwyrnx/0HI0soyBVkFy/DcUIE9yKomVIPYfnCf7RCuv qO/W6atFWouphOM2SUo/EyL9Ju0J0OcSMZ92EpGX/JnSHGT73RRzPfapEMzfkwv2ht 37sDsKM5mi5E7kl4x40Aw5D79WH9lVA9EnMG74hDtDzK6U6MT3x+v/wwcdbs0bN5Vk o+bQP4tZIEi3L+qWKKYT7MzgZ4xV3HHcW8lLbTjIcQWgETgIGp2fIjW/QoWKaZSCyI bWcwS4UHA5M3A== X-CNFS-Analysis: v=2.4 cv=IP3ESCjG c=1 sm=1 tr=0 ts=64dfe43d cx=a_exe a=9EX+lUkjRIv5T8oomeD48w==:117 a=J1u7j61yB9MA:10 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=09Zix4y0RwRp_gtPOUEA:9 a=QEXdDO2ut3YA:10 a=sTlrYKYYUqNFkUJs2WOi:22 X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.6-Rev41 X-Originating-IP: 79.43.232.179 X-Originating-Client: open-xchange-appsuite x-libjamsun: F8lzTwpjwfOiIAtFeE7RswYjsd//zpVb x-libjamv: s/kKPukrGo4= X-CMAE-Envelope: MS4xfAxI+txTZ/fDnsPnsVXpeRPgXeOO901I7ux0YNTC1Y6sBxb81IKed7XWUyliPv8n8W6KlFMw7bExy0yaOojRuApZiR6clYb49XC8g3lHnNRPejHWVNNA 5f9ytFTYYNb9oW4c1tPtoCGYoi24sYU9kXTOD1WeudYO2bCfgRSMQiY4sZhShWcHtP4DrFuBxzxFtbzKHr42m1RPnFjmqQGqCZ4= Received-SPF: pass client-ip=213.209.12.16; envelope-from=angelo.g0@libero.it; helo=libero.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:308902 Archived-At: I have built master two day ago on MSYS2/UCRT64 using their patches (https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-emacs). Now a recent change (Po Lu f2f2e6a082a541 ?) to src/sysdep.c has broken the build because the MSYS2 people patche does not apply: patching file nt/cmdproxy.c Hunk #1 succeeded at 38 (offset 3 lines). patching file src/sysdep.c Hunk #1 succeeded at 2985 (offset 292 lines). Hunk #2 FAILED at 2704. 1 out of 2 hunks FAILED -- saving rejects to file src/sysdep.c.rej Error: Failure patching nt/cmdproxy.c where $ cat emacs-master/src/sysdep.c.rej --- src/sysdep.c.orig 2022-06-23 20:59:02.252891700 +0200 +++ src/sysdep.c 2022-06-23 21:05:31.998322600 +0200 @@ -2704,7 +2706,11 @@ if (err | (ADDRESS_SANITIZER ? fflush (stderr) != 0 || ferror (stderr) : close_stream (stderr) != 0)) +#ifndef _UCRT // XXX: close_stream(stderr) fails for some reason _exit (EXIT_FAILURE); +#else + ; +#endif } #ifndef DOS_NT Maybe you now how this should be fixed... TIA