While installing a new SELinux machine from the scratch, the bootstrap.sh script failed with a sandbox violation while compiling gcc: | root@peti:/tmp$ cat /tmp/sandbox-gcc-3.2.3-r2-30010.log | open_wr: /ostream-inst.loT The features setting in /etc/make.conf was: | FEATURES="sandbox userpriv usersandbox cvs" Reproducible: Didn't try Steps to Reproduce:
I have been able to reproduce the error several times now. Setting | FEATURES="userpriv" in /etc/make.conf seems to avoid the problem, though.
This is usually libtool/configure script being braindead. Usually the fix is to make sure that TEMPDIR,TMPDIR, TEMP, TMP, etc is not set before starting the bootstrap. Try to add at the top of the bootstrap.sh script: ----------------------------- TMP="/root/tmp" TEMP="/root/tmp" TMPDIR="/root/tmp" TEMPDIR="/root/tmp" ----------------------------- It might also be interesting to know if any was set in your environment ?
No feedback.
I lost access to the machine on which I experienced the bug, so I can't test the solution you proposed any more. Sorry. :-( I'll be re-installing my system own soon; then I'll report whether this problem still occurs or not.