Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939014 - dev-lang/perl-5.40.0: bootstrap-prefix.sh stage3 fails: error: 'PERL_LC_ALL_CATEGORY_POSITIONS_INIT' undeclared
Summary: dev-lang/perl-5.40.0: bootstrap-prefix.sh stage3 fails: error: 'PERL_LC_ALL_C...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords: PullRequest
: 939172 939321 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-09-04 05:45 UTC by Andrei Horodniceanu
Modified: 2024-09-11 18:54 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
stage3 log (stage3.log.xz,756.46 KB, application/x-xz)
2024-09-04 05:45 UTC, Andrei Horodniceanu
Details
build.log (extracted from stage3.log) (build.log,48.57 KB, text/x-log)
2024-09-04 05:46 UTC, Andrei Horodniceanu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Horodniceanu 2024-09-04 05:45:45 UTC
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.
Comment 1 Andrei Horodniceanu 2024-09-04 05:46:17 UTC
Created attachment 901999 [details]
build.log (extracted from stage3.log)
Comment 2 Fabian Groffen gentoo-dev 2024-09-06 10:39:59 UTC
*** Bug 939172 has been marked as a duplicate of this bug. ***
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-09 13:02:37 UTC
*** Bug 939321 has been marked as a duplicate of this bug. ***
Comment 4 Larry the Git Cow gentoo-dev 2024-09-11 18:54:39 UTC
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(+)