Summary: | Default locale settings trigger useless warning with portage | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Patrick Lauer <patrick> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | IN_PROGRESS --- | ||
Severity: | normal | CC: | O01eg |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Patrick Lauer
2015-01-18 05:43:39 UTC
Patrick, does locale -a work? Fresh Stage3 gives: # locale -a locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_COLLATE to default locale: No such file or directory C POSIX The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=f0e772bd3905d02d691d0e41b3a8e3bd3c10e2fe commit f0e772bd3905d02d691d0e41b3a8e3bd3c10e2fe Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2020-03-27 23:28:11 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-04-07 23:23:07 +0000 targets: Set LANG=C.UTF8 Stable glibc now always provides a UTF-8 capable locale, which many packages require. Set this as the default LANG. Running locale-gen in stage1 should also solve bug #536938. Bug: https://bugs.gentoo.org/536938 Bug: https://bugs.gentoo.org/710762 Bug: https://bugs.gentoo.org/714906 Signed-off-by: Matt Turner <mattst88@gentoo.org> targets/stage1/chroot.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) This is included in catalyst-3.0.10. Not sure if there's anything dev-portage@ wants to do, but catalyst@'s part is done, so dropping from Cc. I catch this issue recently after upgraded to glibc-2.33. After locale-gen it fixed until next reboot. |