Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63118 - emerge xorg-x11 does not respect the ROOT variable to install its stuff
Summary: emerge xorg-x11 does not respect the ROOT variable to install its stuff
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-07 05:27 UTC by Jeroen Asselman
Modified: 2004-10-08 03:06 UTC (History)
1 user (show)

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 Jeroen Asselman 2004-09-07 05:27:29 UTC
I have setted the ROOT variable to /mnt/image using:
export ROOT=/mnt/image
Then I emerge xorg-x11 however, it didn't went into /mnt/image/usr/X11R6 but went to /usr/X11R6 instead. Looking at the ebuild (6.7.0-r2) it is clear that hard paths are used and are not prefixed by $ROOT.
Some symlinks are made in /mnt/image/usr/X11R6 though, however, nothing gets installed there.

Reproducible: Always
Steps to Reproduce:
export ROOT=/mnt/image
emerge xorg-x11
Actual Results:  
Emerge goes fine.
xorg is installed in /usr/X11R6

Expected Results:  
Emerge goes fine
xorg is installed in /mnt/image/usr/X11R6
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-09-07 21:05:52 UTC
Please test 6.7.99.904, which is masked by package.mask. I made some ROOT-related changes at some point along the line.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-09-10 11:22:26 UTC
jeroen, did you try 904 or 6.8.0?
Comment 3 Jeroen Asselman 2004-09-11 02:13:46 UTC
Sorry not yet. The machine at work I am using is rather slow. I should be able to test it out on monday.
I noticed by the way that the package got emerged twice. One time for the normal filesystem, one time for the $ROOT filesystem. (Or at least that is how it looked like to me). However, I use different CFLAGS for the $ROOT filesystem. So I get an X11 installation on the normal filesystem with the wrong FLAGS.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-07 16:28:49 UTC
Try 6.8 please.
Comment 5 Jeroen Asselman 2004-10-08 00:29:14 UTC
Seems to be ok now.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2004-10-08 03:06:30 UTC
closing then.