Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 782880

Summary: non-rap linux prefix bootstrap still fails in configure_toolchain
Product: Gentoo/Alt Reporter: hsk17
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description hsk17 2021-04-14 17:36:12 UTC
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)
Comment 1 Larry the Git Cow gentoo-dev 2021-04-17 08:34:43 UTC
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(-)