From 55aaac06a2938d078dfcc5b12741b6394081a75d Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 18 Sep 2026 06:31:32 +0000 Subject: [PATCH] fix(packages): ship glibc-all-langpacks so a chosen locale exists Hummingbird's base installs only glibc-minimal-langpack, which provides C and C.UTF-8. Any other locale a user selects -- Region & Language, localectl, or a /etc/locale.conf that survived from a previous install -- names data the image does not have, and every setlocale() warns on every command: warning: setlocale: LC_NUMERIC: cannot change locale (en_SG.UTF-8) That is #114, on an X230 whose locale.conf carried en_SG from before the Utah test. The reporter also read /etc/profile.d/lang.sh correctly: its C.UTF-8 fallback is real but is overwritten by the locale.conf re-export that follows it, so the safety net does nothing. That is a bug in Fedora's setup package and not one this repository can fix; what it can fix is the missing data. glibc-all-langpacks is in public-hummingbird-x86_64-rpms, so this is one name in the install set with no factory work. Bluefin's Silverblue base ships it, which is why the same locale.conf is quiet there. Verified: the contract check validates, 96 tests pass. The install transaction itself is CI's check-repos. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01W6BYLUD6KBzF8rBFXKjP7M --- packages/utah.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/utah.toml b/packages/utah.toml index 454fbcdd..9feea480 100644 --- a/packages/utah.toml +++ b/packages/utah.toml @@ -46,6 +46,17 @@ packages = [ "mutter", "xdg-desktop-portal", "xdg-desktop-portal-gnome", + # Locale data. Hummingbird's base carries only glibc-minimal-langpack, + # which provides C and C.UTF-8 and nothing else, so any LANG or LC_* + # value a user sets -- through gnome-control-center, localectl, or a + # /etc/locale.conf carried over from another install -- names a locale + # that does not exist. Every setlocale() then warns, on every command + # (#114). /etc/profile.d/lang.sh is meant to fall back to C.UTF-8 but + # its reset is clobbered by its own locale.conf re-export, so the noise + # is unrecoverable from inside the image. Bluefin's Silverblue base + # ships glibc-all-langpacks; matching it is what makes Region & Language + # a working control rather than a way to break the terminal. + "glibc-all-langpacks", ] [build]