Summary: | Bootstrap fails at libxcrypt in stage3 if perl is not installed on host system | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Bob Dröge <b.e.droge> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 699422 | ||
Attachments: |
stage3.log
stage2.log for perl failure |
Description
Bob Dröge
2021-11-19 13:03:25 UTC
Thanks for the report. Getting Perl in stage3 earlier feels tricky given it needs a libcrypt implementation. We already have to use tools from stage2 for stage3. In bootstrap_stage2(), could you try appending dev-lang/perl to pkgs=( ... ) after sys-devel/binutils-config? Sure, I can/will try that! Created attachment 752922 [details]
stage3.log
For reference, this is the stage3.log of the failed installation.
Created attachment 752934 [details]
stage2.log for perl failure
I've added perl to the pkgs list in bootstrap_stage2, but it failed with a bunch of ld errors. I'm attaching the corresponding log file.
Thanks Bob. If nobody else has a chance to look at it, I’ll need some time to make a small container without Perl in to try this out with. Any suggestions welcome! We're using the following container: https://github.com/EESSI/compatibility-layer/pkgs/container/bootstrap-prefix It's a simple CentOS 8 container with some additional tools, see the corresponding Dockerfile: https://github.com/EESSI/compatibility-layer/blob/main/Dockerfile.bootstrap-prefix-centos8 We're actually running it with Singularity, but I guess that shouldn't really matter. Do note that this one contains an older version of the bootstrap script in /usr/local/bin, but for the attempts today I made the latest version of the script available in the container when launching it. |