I have /home/opt mounted to /opt with -o bind and when trying to install some package to /opt (e.g. rar, also other packages) then no files are installed there - only directories. I.e. after "emerge rar" we get empty /opt/rar/bin, /opt/rar/lib etc directories. When I unmount /opt everything works Ok.
what version of portage ? (`emerge -V`)
This is on Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2).
I can second this, I've got the *exact* same configuration as mr. Voloshin, and the problem is for real. What kind of copying routine does Portage use that is so low level that it doesn't work across bind mounted directories?
*** Bug 14331 has been marked as a duplicate of this bug. ***
This also occurs in symlinked directories. See bug 14331 (dupe of this bug, apparently).
Ok. I'll be rewriting that code then for the next release. Added to my list.
*** Bug 14605 has been marked as a duplicate of this bug. ***
Test out portage-2.0.46-r11 please.
To all tests, it is fixed.
Yes, thanks, now it works Ok for my /opt configuration.