When trying to run make under fakeroot (even for a simple "hello world" program), make says "make: *** user_access: seteuid: Operation not permitted. Stop." and exits. From strace output: 25872 setresuid32(0xffffffff, 0, 0xffffffff) = -1 EPERM (Operation not permitted) 25872 write(2, "make: *** ", 10) = 10 25872 write(2, "user_access: seteuid: Operation "..., 45) = 45 25872 write(2, ". Stop.\n", 9) = 9 25872 _exit(2) = ? I'm not sure whether fakeroot should emulate setresuid32 or make should not call setresuid32 with argument set to 0 (EUID already is 0 because of fakeroot). PS: Happens both with gcc-2.95.3-r7 and gcc-3.2-r1.
I don't think this is an ebuild bug then, is it? I think fakeroot should be emulating the call as well to properly fake the root environment. In any case, this bug should be reported to fakeroot upstream developers.
You're right, it's an upstream bug. Would you please be so kind as to forward the report to the upstream authors? Thanks!
Sorry for being so slow. I've notified the author today.
The author doesn't seem to react at all (I've sent another mail to him several months ago when I added fakeroot, to which he didn't respond as well). Aside from that, the bug is invalid, so I'm marking it as such now.