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

Bug 18818

Summary: crosscompile.eclass can think ROOT=/ even when it doesn't
Product: Gentoo Linux Reporter: James Boddington (RETIRED) <aiken>
Component: [OLD] UnspecifiedAssignee: James Boddington (RETIRED) <aiken>
Status: RESOLVED WORKSFORME    
Severity: normal CC: lanius, radek, zwelch
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 18936    

Description James Boddington (RETIRED) gentoo-dev 2003-04-05 16:38:28 UTC
If I use the following from the command line everything is happy with the value of ROOT 
 
CHOST=sparc-unknown-linux-gnu ROOT=/tmp/cross-sparc USE=build emerge --nodeps glibc 
ncurses 
 
If I create a shell script to do the same thing 
 
#/bin/bash 
CHOST=sparc-unknown-linux-gnu ROOT=/tmp/cross-sparc USE=build emerge --nodeps glibc 
ncurses 
 
I then have crosscompile.eclass think ROOT=/ and aborts. Even adding export 
ROOT=/tmp/cross-arm does not work.
Comment 1 James Boddington (RETIRED) gentoo-dev 2003-04-28 20:51:29 UTC
Has this happen again 
 
I edited an ebuild the tried doing an emerge. Even though ROOT was set cross-check 
claimed it wasn't. I ran the same emerge command a second time and it worked. 
 
 
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-06 13:10:09 UTC
i cannot reproduce that, is this still valid?
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-16 12:16:30 UTC
please try to find a way to reproduce it