GNU logs - #79887, boring messages


Message sent to bug-diffutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79887: build failure on macOS
Resent-From: Bruno Haible <bruno@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-diffutils@HIDDEN
Resent-Date: Tue, 25 Nov 2025 20:27:09 +0000
Resent-Message-ID: <handler.79887.B.17641023966536 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 79887
X-GNU-PR-Package: diffutils
X-GNU-PR-Keywords: 
To: 79887 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-diffutils@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17641023966536
          (code B ref -1); Tue, 25 Nov 2025 20:27:09 +0000
Received: (at submit) by debbugs.gnu.org; 25 Nov 2025 20:26:36 +0000
Received: from localhost ([127.0.0.1]:42030 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vNzcR-0001hJ-Vg
	for submit <at> debbugs.gnu.org; Tue, 25 Nov 2025 15:26:36 -0500
Received: from lists.gnu.org ([2001:470:142::17]:54580)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <bruno@HIDDEN>) id 1vNUeF-0007mD-DL
 for submit <at> debbugs.gnu.org; Mon, 24 Nov 2025 06:22:24 -0500
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 <bruno@HIDDEN>) id 1vNUe0-00075E-35
 for bug-diffutils@HIDDEN; Mon, 24 Nov 2025 06:22:08 -0500
Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.218])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bruno@HIDDEN>) id 1vNUdy-0007OE-4K
 for bug-diffutils@HIDDEN; Mon, 24 Nov 2025 06:22:07 -0500
ARC-Seal: i=1; a=rsa-sha256; t=1763983323; cv=none;
 d=strato.com; s=strato-dkim-0002;
 b=U3PwDIoGo/9sNXy9Ad7oUaOobeKsg4hc37eytoxhznGnb1d1tBMnnLtdvp45pKu+mZ
 qKquSu5Fsh9v4WxRVdSFClfLOzESIiTHlcqW1cyVYGX+6fDzKa2+2JJqrX/Feasm/di0
 vlDkQHzximfiFuZ7mKhyv+HhD1p5XRMgY7g1YYzWrgsqn5dO69TFY6VknNnwbyyA0ahw
 Du9s4pglExYwKRpJ+i1kcNu2fK9H13jwuHhdbxNz/cd127D/Tu7zJNKBM+7wTyyP17gj
 zvat+dwwg0vMjIay1A1GAcra+Qpxscv4wOyzmwmAcOnh46+C5HOSB0olge6C2DV2HINg
 SIig==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1763983323;
 s=strato-dkim-0002; d=strato.com;
 h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender;
 bh=JmqZmh1NQsXKnoHOLgWm5c1iANYZbT2OFYEKTsUZxJY=;
 b=pobOYTyNVBZLkentNavo8oTH1jizJphx2hFM8HhIxLcXkJMK5cSJMMM6mDdsURXUS7
 TvFmjETOQfw8jztxLzJx/HTwdRNgqj9CIsWJZlXluAwDmhsvcza5ibee+9mGuyK+P9h8
 yq0J936/+JgB72Xhve1IBVFpnokkbqOnDcj9nnVqUkToHmB8g3BuQFmzcyDk7uhrwn5c
 lGxIg2/ju4Y5D5eLZyBeoakQH7t6X0AHTwV4w4DU7aTw4CDK/UOckD7xWLjjLUd0ruYC
 m0WZOBpOANlUOA0XJauh/dm7cME5kRjNy2VLUJTGd24Hy8wv9x8jf7iSZ/4plKc0D1Fm
 xgfw==
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=1763983323;
 s=strato-dkim-0002; d=clisp.org;
 h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender;
 bh=JmqZmh1NQsXKnoHOLgWm5c1iANYZbT2OFYEKTsUZxJY=;
 b=k3HjVkBAL1tXjDEslkxVx13mRZCmEmV460ZuJqeDzvlEck1BmLEjRpQjtfo77KIxKw
 wq9g6DJEpCh6nat0gat231aPuWDxdcku/b/HsHUGIyaVIUxrpTv0CraaqK1bqufy3Vb/
 5FygMgC/6lQqWTP25Grhj1MKBpV4ABIfqqwNQk3+snsjfdGYv0Lk/V3p+fCq+qrHYabb
 jkCtVrlwF493ohQ+Uikx/5wuilMFWEDTNwPXU2cwOUXsuGTkGt4R7zYYeFqmLcLUFvZZ
 Vje4bC5vdzgHYWviDkj6Ssjxa+nQlHs1pQtfZVe3IBsckW5ZsbATw5lgTH3/kDmFwnVX
 kbxA==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1763983323;
 s=strato-dkim-0003; d=clisp.org;
 h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender;
 bh=JmqZmh1NQsXKnoHOLgWm5c1iANYZbT2OFYEKTsUZxJY=;
 b=xLs6+HVjzCK3604t1hXk9Hs66K5Ri6cXZwly1bwf9Bv4KxO8fzNI+csx5gUpEGIHG7
 7w6qSd5xBJxVJWl3V9DA==
X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlLnY4jECd2hdUABIYZgv6aLDTL6Xu4hN2MQUBVC6q3Z70gIqhV9+T4bFnJpnWR6g="
Received: from nimes.localnet by smtp.strato.de (RZmta 54.0.0 AUTH)
 with ESMTPSA id N14ff41AOBM3hzB
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Mon, 24 Nov 2025 12:22:03 +0100 (CET)
From: Bruno Haible <bruno@HIDDEN>
Date: Mon, 24 Nov 2025 12:22:02 +0100
Message-ID: <2628671.JmPAfv1VhO@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.218; envelope-from=bruno@HIDDEN;
 helo=mo4-p00-ob.smtp.rzone.de
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, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_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-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 (-)

Hi,

On macOS 12, 13, 14, the build of the newest diffutils from git with the newest
gnulib fails. For macOS 12, I reproduce it on cfarm104.cfarm.net; for macOS
13 and 14, I see it in the CI runs.

How to reproduce:
1. Build a tarball of current diffutils.
2. On cfarm104.cfarm.net, configure it with
   $ ./configure --disable-nls
3. $ make V=1

Result:

cc   -g -O2   -o diff analyze.o context.o diff.o dir.o ed.o ifdef.o io.o normal.o side.o syncsig.o system.o util.o libver.a ../lib/libdiffutils.a           
Undefined symbols for architecture arm64:
  "_locale_charset", referenced from:
      _rpl_wcwidth in libdiffutils.a(libdiffutils_a-wcwidth.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [diff] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

wcwidth gets overridden because of the configure finding
checking whether wcwidth works reasonably in UTF-8 locales... no
(The test program exited with status 6, indicating problems with
wcwidth (0x05B0) and wcwidth (0x200B).)

The module 'wcwidth' depends on 'localcharset'.

The module 'localcharset' is being excluded since commit
e124541148d38cd8b7f962aceb72fb44e7cc0aab (2025-09-05).
The rationale was
   "Recentish changes to Gnulib have pulled in more dependencies
    on multithreading, locking, and whatnot.  Revamp to remove
    these unwanted dependencies."
But the module 'localcharset' has no link dependencies (see
gnulib/modules/localcharset). It is in fact a thin wrapper around
nl_langinfo(CODESET).

I would suggest to add module 'localcharset' back to the non-excluded
modules.

Bruno







Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Bruno Haible <bruno@HIDDEN>
Subject: bug#79887: Acknowledgement (build failure on macOS)
Message-ID: <handler.79887.B.17641023966536.ack <at> debbugs.gnu.org>
References: <2628671.JmPAfv1VhO@nimes>
X-Gnu-PR-Message: ack 79887
X-Gnu-PR-Package: diffutils
Reply-To: 79887 <at> debbugs.gnu.org
Date: Tue, 25 Nov 2025 20:27:10 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-diffutils@HIDDEN

If you wish to submit further information on this problem, please
send it to 79887 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
79887: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D79887
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Tue, 25 Nov 2025 20:30:02 UTC

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