Created attachment 384990 [details, diff] remove fakeroot 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 NB. This patch has been on the embedded list for a long time.
fakeroot is probably useless now anyways with user namespace in the kernel http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=56b32e1a3c5da6c3a39270840a8bc99fe321227d
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 > root Yes, but that does not allow you to do chown from the small tests I have done.