Created attachment 901998 [details] stage3 log dev-lang/perl-5.40.0 fails to compile during prefix bootstrap due to insufficient locales, there is only a C locale present without even an UTF-8 variant. On an already installed prefix the compilation works fine, so long as at least C.UTF-8 is generated. Trying to generate the locales before trying to compile perl is not a solution as locale-gen ends up pulling in dev-lang/perl as a dependency.
Created attachment 901999 [details] build.log (extracted from stage3.log)
*** Bug 939172 has been marked as a duplicate of this bug. ***
*** Bug 939321 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d29aec46e21a2ce66b39dc08ea8b559943520d2 commit 3d29aec46e21a2ce66b39dc08ea8b559943520d2 Author: Andrei Horodniceanu <a.horodniceanu@proton.me> AuthorDate: 2024-09-11 16:27:31 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-11 18:53:33 +0000 dev-lang/perl: fix compilation in EPREFIX bootstrap Closes: https://bugs.gentoo.org/939014 Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me> Closes: https://github.com/gentoo/gentoo/pull/38568 Signed-off-by: Sam James <sam@gentoo.org> ...0.0-fix-compilation-in-eprefix-bug-939014.patch | 51 ++++++++++++++++++++++ dev-lang/perl/perl-5.40.0.ebuild | 4 ++ 2 files changed, 55 insertions(+)