Just to make sure we don't double up on work, I've added the env file
creation in
https://github.com/gentoo/gentoo/pull/42911
Once everyone is happy, then I'll clean up the docs to match in
https://wiki.gentoo.org/wiki/Musl
immolo
On Sat, 5 Jul 2025 at 07:22, Sam James <
[email protected]> wrote:
Violet Purcell <[email protected]> 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 <[email protected]>
---
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
<div dir="ltr"><div>Just to make sure we don't double up on work, I've added the env file creation in <a href="
https://github.com/gentoo/gentoo/pull/42911">https://github.com/gentoo/gentoo/pull/42911</a></div><div><br></div><div>Once everyone is
happy, then I'll clean up the docs to match in <a href="
https://wiki.gentoo.org/wiki/Musl">https://wiki.gentoo.org/wiki/Musl</a></div><div><br></div><div>immolo</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="
gmail_attr">On Sat, 5 Jul 2025 at 07:22, Sam James <<a href="mailto:
[email protected]">
[email protected]</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Violet
Purcell <<a href="mailto:
[email protected]" target="_blank">
[email protected]</a>> writes:<br>
> musl by default does not provide any sort of locale support, and so does<br>
> not have a `locale` binary by default. This often results in spurious<br> > command not found QA notices or in extreme cases even build failures.<br> > Adelie's musl-locales project has been adopted as the de facto solution<br>
> for locales on musl, so having it in @system for consistency with glibc<br>
> is probably a good idea.<br>
Sounds good. We may want to make the musl-locales ebuild add an env.d<br>
entry which immolo mentioned the other day, but that can be done as a followup.<br>
I'll push it now.<br>
><br>
> Signed-off-by: Violet Purcell <<a href="mailto:
[email protected]" target="_blank">
[email protected]</a>><br>
> ---<br>
> profiles/features/musl/packages | 5 ++++-<br>
> 1 file changed, 4 insertions(+), 1 deletion(-)<br>
><br>
> diff --git a/profiles/features/musl/packages b/profiles/features/musl/packages<br>
> index 4bbf9c32099c..a3dc9087872c 100644<br>
> --- a/profiles/features/musl/packages<br>
> +++ b/profiles/features/musl/packages<br>
> @@ -1,6 +1,9 @@<br>
> -# Copyright 1999-2018 Gentoo Foundation.<br>
> +# Copyright 1999-2025 Gentoo Authors.<br>
> # Distributed under the terms of the GNU General Public License v2<br> > <br>
> *app-misc/pax-utils<br>
> *sys-apps/sandbox<br>
> -*sys-apps/man-pages<br>
> +<br>
> +# Provides the `locale` binary, which is not present in musl itself<br> > +*sys-apps/musl-locales<br>
</blockquote></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)