Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8575 - fakeroot: make does not work
Summary: fakeroot: make does not work
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Maik Schreiber
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-30 10:00 UTC by Sascha Silbe
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2002-09-30 10:00:41 UTC
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.
Comment 1 Maik Schreiber 2002-10-21 12:19:18 UTC
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.
Comment 2 Sascha Silbe 2002-10-29 10:36:06 UTC
You're right, it's an upstream bug. Would you please be so kind as to forward the report to the upstream authors?
Thanks!
Comment 3 Maik Schreiber 2003-01-08 14:40:58 UTC
Sorry for being so slow. I've notified the author today.
Comment 4 Maik Schreiber 2003-01-17 17:45:21 UTC
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.