musl by default does not provide any sort of locale support, and so does
not have a `locale` binary by default. This often results in spurious
command not found QA notices or in extreme cases even build failures.
Adelie's musl-locales project has been adopted as the de facto solution
for locales on musl, so having it in @system for consistency with glibc
is probably a good idea.

Signed-off-by: Violet Purcell <vimpro...@inventati.org>
---
 profiles/features/musl/packages | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/profiles/features/musl/packages b/profiles/features/musl/packages
index 4bbf9c32099c..a3dc9087872c 100644
--- a/profiles/features/musl/packages
+++ b/profiles/features/musl/packages
@@ -1,6 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation.
+# Copyright 1999-2025 Gentoo Authors.
 # Distributed under the terms of the GNU General Public License v2
 
 *app-misc/pax-utils
 *sys-apps/sandbox
 -*sys-apps/man-pages
+
+# Provides the `locale` binary, which is not present in musl itself
+*sys-apps/musl-locales
-- 
2.50.0


Reply via email to