just tried a non-rap prefix bootstrap on my linux box, using the current bootstrap-prefix.sh, and it stopped after stage1; after a bit of searching around i found the problem in the configure_toolchain() function: it should do "return 0" at the end (or not use "&&" in the last statement before returning, but an if .... fi, then "return" could be omitted again, cf. commit 5cee313)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a29cb0c28df448a5c47bf2d793fb63437c7a1feb commit a29cb0c28df448a5c47bf2d793fb63437c7a1feb Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-04-17 08:31:48 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-04-17 08:31:48 +0000 scripts/bootstrap-prefix: fix non-RAP bootstraps, bug #782880 Force success return at end of configure_toolchain such that a previous condition expression doesn't accidentially affect the return code. Thanks hsk17 for finding this issue. Closes: https://bugs.gentoo.org/782880 Signed-off-by: Fabian Groffen <grobian@gentoo.org> scripts/bootstrap-prefix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)