From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 08 03:41:45 2025 Received: (at submit) by debbugs.gnu.org; 8 Sep 2025 07:41:45 +0000 Received: from localhost ([127.0.0.1]:49065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uvWVV-00057m-3l for submit@debbugs.gnu.org; Mon, 08 Sep 2025 03:41:45 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58628) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uvWVP-00057L-TU for submit@debbugs.gnu.org; Mon, 08 Sep 2025 03:41:40 -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 ) id 1uvWVF-0001Nu-R7 for bug-diffutils@gnu.org; Mon, 08 Sep 2025 03:41:30 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.160]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uvWV2-0004oo-65 for bug-diffutils@gnu.org; Mon, 08 Sep 2025 03:41:27 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1757317261; cv=none; d=strato.com; s=strato-dkim-0002; b=pxkpbDVqQbEgddyuqURYlcKKqWBA9IjbafDxh50GACAFq+WW4Ee1QGbG+46g3aHNK2 BVgLXCWsc5bSneuY+p+snSJRx5q39yY2+iISex+1CtRZPuJywsLNOOsZ31le489G0yY2 f6ovK32rgYoMesTfJ+6Gtww5Dewb0AHlWZFmq6Oy/wpKOMtQpRDQ8zn1slJTa49K1TIG OuO3NvHKFzQOP7G264ddCleMtAS386DwZ7lCMnfgI2C1ABExD7s4hXOsn0pQfe7tf4d/ aLN2MjW+MuF/X7Py4m+bJaUABI53fn6CVQn/kgZQj0YK0CSGhm2nF5Mooa4kxhKAmtcF rGuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1757317261; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=ZlFIPL2rewII3wLgVBOJYVZsgarEX/w9q19ybyA1cJY=; b=s47V15guiamaAWwRYUFnOb47K5a+hTXUD3vRkFPDcaHYzuXx9NWfCXUNFpEElYcwbN YZX1B0E+MHgmzhcRG9U5UF6giQ1bOoIgMvg/MLVXUAFE7e6A/HP0MVjDqda3QKtERXFl qOGsJHXeo7CIFBalTNFGJmcfAuypzouY5KAW7fVwnCCoQd2/zdINe7GH7h3GnNp/jOyg 1Y6u9Ck+xCiiVbluJyiSZ773etq/S3VrtskLvcn9HzpZ9npKhTDwfpBhgVwSLjIlzhTB 2KWeEr4KO/jJ3dT0lzbmrtnXU4W9XqF7rsDwUctk7fqPahJCtTffjNT2jet3mJ9HdMT5 vg1g== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1757317261; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=ZlFIPL2rewII3wLgVBOJYVZsgarEX/w9q19ybyA1cJY=; b=F1ao+d8IzYotLnFODYS8ZppxTMfHTPFYcvXAc5LLrAnKrNEodyCVirsh6/UtqKlW24 ovv8raSQ4VkKO5sooV5Rm8/d4298DGQk6SQQd+h6KSXBsfYUP6evbAKPpjNReqF+KmXt A7p5pes5PpokS9oufXzDmDtuRPkDm7Df43ImJpnf7lbeF4Pz8PsI80l8V2WVHhi7KLLa lTvh8iY5DygpOOYI4j/Pvq1WBz8X6mCpEQ762TnTv/zSMe1UzWIxaEDPtL7MW/XAZXmL I7wYGT9W9KzjN2hZ064Odx899H9atgYx9Z6y1//1jcC/npyBDdmTJ2SKcWzjk9vMXH5p qH5w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1757317261; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=ZlFIPL2rewII3wLgVBOJYVZsgarEX/w9q19ybyA1cJY=; b=8XBnryOaF47zt1ha5pDA8ZstgiLXVmVCSP3xmA8ahWNNPotCbnN9PhCunTvY17NkcT 0jyhk9Pc6HQ2bNMi+aBg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlLnY4jECd2hdUURIbZgL8PX2QiTuZ3cdB8X/nqj+fFD2Lqx+gldyd2E/UGafZHFE+" Received: from nimes.localnet by smtp.strato.de (RZmta 52.1.2 AUTH) with ESMTPSA id N9ae631887f0IV7 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 8 Sep 2025 09:41:00 +0200 (CEST) From: Bruno Haible To: bug-diffutils@gnu.org Subject: build failures on macOS and Cygwin Date: Mon, 08 Sep 2025 09:41:00 +0200 Message-ID: <7024205.tfcYcld1sP@nimes> Organization: GNU MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=81.169.146.160; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.01, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, The CI reports build failures on macOS and Cygwin, regressions from last week. 1) New build failure on macOS 13, 14: gcc -g -O2 -L/Users/runner/lib -L/usr/local/opt/gettext/lib -o diff analyze.o context.o diff.o dir.o ed.o ifdef.o io.o normal.o side.o system.o util.o libver.a ../lib/libdiffutils.a -L/usr/local/lib -lintl -Wl,-framework -Wl,CoreFoundation ld: warning: search path '/Users/runner/lib' not found ld: Undefined symbols: _locale_charset, referenced from: _rpl_wcwidth in libdiffutils.a[131](libdiffutils_a-wcwidth.o) clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [diff] Error 1 2) New build failure on Cygwin: gcc -g -O2 -o cmp.exe cmp.o system.o libver.a ../lib/libdiffutils.a /usr/lib/gcc/i686-pc-cygwin/11/../../../../i686-pc-cygwin/bin/ld: ../lib/libdiffutils.a(libdiffutils_a-mbrtoc32.o): in function `mbrtoc32': /cygdrive/d/a/ci-check/ci-check/diffutils-2025-09-08/build/lib/../../lib/mbrtoc32.c:157: undefined reference to `locale_charset' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:2507: cmp.exe] Error 1 This is caused by the --avoid=localcharset option in commit e124541148d38cd8b7f962aceb72fb44e7cc0aab. Why would you want to avoid this module? It does not use multithreading or locking, and has no dependencies aside from the omnipresent 'extensions'. It merely calls nl_langinfo (CODESET) with some table-based postprocessing. Although this may be slow, - gnulib/lib/wcwidth.c mitigates this through a cache, - gnulib/lib/mbrtoc32.c uses it only on platforms with 16-bit wchar_t, and we don't care about speed on these platforms. I would therefore suggest to remove this "--avoid=localcharset" line from bootstrap.conf. Bruno