Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 782880 - non-rap linux prefix bootstrap still fails in configure_toolchain
Summary: non-rap linux prefix bootstrap still fails in configure_toolchain
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-14 17:36 UTC by hsk17
Modified: 2021-04-17 08:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)