Created attachment 384990 [details, diff]
Portage is not designed to run wrapped in fakeroot. Instead
one should set FEATURES="fakeroot". Wrapping emerge with
fakeroot triggers emerge to disable fakeroot.
See bug https://bugs.gentoo.org/show_bug.cgi?id=489016
This patch has been on the embedded list for a long time.
fakeroot is probably useless now anyways with user namespace in the kernel
Can user name spaces also allown chown(2) like fakeroot do?
If so this would be very good to have native in portage :)
(In reply to Joakim Tjernlund from comment #2)
it will make it look like the current uid is 0, so the code is running as root
(In reply to SpanKY from comment #3)
> (In reply to Joakim Tjernlund from comment #2)
> it will make it look like the current uid is 0, so the code is running as
Yes, but that does not allow you to do chown from the small tests I have done.