tried to run bootstrap-prefix.sh on top of opensuse leap, but failed, trying prefix-guest as well as RAP. in a recent change to bootstrap-prefix.sh, some guards wrt gcc-4.x were cleaned, and, at begin of configure_toolchain(), the case....esac statement, which added to-be-emerged packages to compiler_stage1 variable, was removed. but this results, for linux at least, in no compiler at all being emerged during bootstrao_stage2(). for me, bootstrap_stage3() then fails with error messages that no appropriate compiler is available (though gcc and g++ are installed on host system). keeping that case....esac statement, replacing it's "eval $(....)" lines with compiler_stage1+=" sys-devel/gcc" worked for me, i.e., bootstrap-prefix.sh succeeded. solaris might be affected as well, but i cannot tell, as i have no longer access to such a machine.
Can you give a patch?
Created attachment 870490 [details, diff] patch to bootstrap-prefix.sh wrt. compiler_stage1 variable
I went a slightly different route, thanks for your patch!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=ac4c67f00fd053c8556580d3101066c99b6d1051 commit ac4c67f00fd053c8556580d3101066c99b6d1051 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2023-09-14 07:15:03 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2023-09-14 07:15:03 +0000 scripts/bootstrap-prefix: fix Linux compiler_stage1 setup Broken by cleanup in 580a9d39d536e6740450bed591a326980e24ffdb, ensure Linux and Solaris targets get compiler_stage1 set in configure_toolchain. Thanks hsk17 for pointing it out. Closes: https://bugs.gentoo.org/914114 Signed-off-by: Fabian Groffen <grobian@gentoo.org> scripts/bootstrap-prefix.sh | 38 +++++++++++++------------------------- 1 file changed, 13 insertions(+), 25 deletions(-)