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

Bug 430566

Summary: sys-devel/crossdev installed bashrc doesn't run cross-fix-root when it should
Product: Gentoo Linux Reporter: John Keeping <john>
Component: [OLD] DevelopmentAssignee: Gentoo Crossdev team <crossdev>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Keeping 2012-08-09 10:54:42 UTC
It looks like crossdev sets up make.conf to have ROOT=/usr/${CHOST}/ but the wrapper scripts use SYSROOT=/usr/${CHOST} (note the trailing slash), which means that the check in the bashrc for "$SYSROOT == $ROOT" fails.

I've changed my bashrc to use ${ROOT%/} in the comparison, which fixes this.