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 <vimproved@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
Violet Purcell <vimproved@inventati.org> writes:
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.
Sounds good. We may want to make the musl-locales ebuild add an env.d
entry which immolo mentioned the other day, but that can be done as a followup.
I'll push it now.
Signed-off-by: Violet Purcell <vimproved@inventati.org>
---
profiles/features/musl/packages | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/profiles/features/musl/packagesb/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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 06:55:10 |
Calls: | 10,386 |
Calls today: | 1 |
Files: | 14,058 |
Messages: | 6,416,638 |