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
Please test 6.7.99.904, which is masked by package.mask. I made some ROOT-related changes at some point along the line.
jeroen, did you try 904 or 6.8.0?
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.
Try 6.8 please.
Seems to be ok now.
closing then.