while compiling gvim 7.0_alpha20051127 it errors out with a sandbox violation trying to access roots .gnome dir the important bits from the compile are: make[3]: Entering directory `/tmp/portage/gvim-7.0_alpha20051127/work/vim7/src/po' ../gvim -u NONE -e -S check.vim -c "if error == 0 | q | endif" -c cq af.po ACCESS DENIED mkdir: /root/.gnome2 (vim:17197): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied ACCESS DENIED mkdir: /root/.gnome2 Could not create per-user gnome configuration directory `/root/.gnome2/': Permission denied make[3]: *** [af.ck] Error 1 make[3]: Leaving directory `/tmp/portage/gvim-7.0_alpha20051127/work/vim7/src/po' make[2]: *** [language-check] Error 2 [ebuild U ] app-editors/gvim-7.0_alpha20051127 [7.0_alpha20050928] -acl (-aqua) -bash-completion -cscope +gnome +gpm +gtk +motif -mzscheme -netbeans -nextaw +nls +perl +python +qt -ruby -tcltk* 0 kB are the use flags i have im seeing this both on x86 and amd64
If you add a mkdir ${T}/home ; export HOME=${T}/home, does it go away?
it looks to be ignoring the fact that $HOME isnt /root/ as i get the same error
Give the 20051207 snapshot a try.
I tracked down the bug to glib 2.6.5 gutils.c lines: 1356, and function g_get_any_init() 1356: /* We check $HOME first for Win32, though it is a last resort for Unix * where we prefer the results of getpwuid(). So on linux they check the process id and find the home within /etc/passwd. It'll break sandbox for sure on pretty much any glib app ran during the install.
I guess I should mention that I ran across this updating vim on my amd64 box w/ the stable glib 2.6.5 installed.
interesting note it merged here on my amd64 box reason looks to be cause it couldnt connect to the display and caused it to fall back to normal vim mode without having to use the gnome libs hence avoiding what Ryan commented on
Hrm. What if we do the symlink hack?
make[3]: Entering directory `/tmp/portage/gvim-7.0_alpha20051207/work/vim7/src/po' ln -s ../gvim testvim && ./testvim -X -u NONE -e -S check.vim -c "if error == 0 | q | endif" -c cq af.po touch af.ck ln -s ../gvim testvim && ./testvim -X -u NONE -e -S check.vim -c "if error == 0 | q | endif" -c cq ca.po ln: `testvim': File exists make[3]: *** [ca.ck] Error 1 make[3]: Leaving directory `/tmp/portage/gvim-7.0_alpha20051207/work/vim7/src/po' make[2]: *** [language-check] Error 2 i get that it still merges fine tho
Ok, the && is now a ; instead.
that works no errors seen in build at all this time
Ok, looks like this one's fixed.