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
>

Reply via email to