Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46213 - app-arch/arc-5.21j fails to compile under usersandbox+userpriv
Summary: app-arch/arc-5.21j fails to compile under usersandbox+userpriv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-30 00:32 UTC by Christian Skarby
Modified: 2004-05-10 07:27 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 Christian Skarby 2004-03-30 00:32:46 UTC
As seen in Actual results, it seems like execvp is denied and that the build crashes because of that. Doing the same emerge with FEATURES="ccache sandbox" works fine.


Reproducible: Always
Steps to Reproduce:
1. Enable userpriv usersanbox by setting FEATURES="ccache userpriv usersandbox" in /etc/make.conf
2. emerge arch

Actual Results:  
# emerge arc
Calculating dependencies ...done!
>>> emerge (1 of 1) app-arch/arc-5.21j to /
>>> md5 src_uri ;-) arc-5.21j.tar.gz
>>> Unpacking source...
>>> Unpacking arc-5.21j.tar.gz to /var/tmp/portage/arc-5.21j/work
>>> Source unpacked.
cc -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -DSYSV=1 -c arc.c
cc -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -DSYSV=1 -c
arcadd.c
make: execvp: cc: Permission denied
make: execvp: cc: Permission denied
make: *** [arcadd.o] Error 127
make: *** Waiting for unfinished jobs....
make: *** [arc.o] Error 127
 
!!! ERROR: app-arch/arc-5.21j failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)


Expected Results:  
I believe it should emerge just as it does when FEATURES="ccache sandbox"
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2004-03-31 05:12:43 UTC
I wasn't able to reproduce the error but I've updated the ebuild to use the compiles specified in ${CC}, please sync and try merging again.
Comment 2 Daniel Ahlberg (RETIRED) gentoo-dev 2004-05-10 07:27:49 UTC
closing