On 11/4/26 12:39 PM, Mika Tammi wrote:
It needs the same setting as bug #68453 (https://savannah.gnu.org/bugs/?68453): an AppleLocale that libc rejects, such as "en_DE" or "en_US@rg=fizzzz" (English with a non-default region), with LANG and LC_* unset. setlocale_single (LC_MESSAGES, ...) then fails, and the fallback in lib/intl/setlocale.c looks up the preferred languages again on every call, without caching. It still happens on devel, with the setlocale.c from gettext 1.0. I have reported it to gettext and gnulib: https://lists.gnu.org/archive/html/bug-gettext/2026-11/msg00001.htmlIt hits Nix builds on macOS often, because the stdenv setup hooks use `LANG=C read' in `find | while' loops: about 13% of my local darwin builds since December 2025 had at least one such crash.
Thanks for looking at this. I'm going to wait and see what, if anything,
the gettext developers have to say about this.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
