Attempting to emerge control-center-2.2.2-r1 gives access violations, when attempting to install the gconf schemas (as seen in related bug 17380). The related build log follows: if test -z "" ; then \ for p in apps_gnome_settings_daemon_screensaver.schemas apps_gnome_settings_daemon_default_editor.schemas desktop_gnome_font_rendering.schemas ; do \ GCONF_CONFIG_SOURCE=xml::/etc/gconf/gconf.xml.defaults /usr/bin/gconftool-2 --makefile-install-rule ./$p; \ done \ fi GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is set, not installing schemas ACCESS DENIED mkdir: /root/.gconfd Failed to create /root/.gconfd: Permission denied GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is set, not installing schemas ACCESS DENIED mkdir: /root/.gconfd Failed to create /root/.gconfd: Permission denied GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is set, not installing schemas ACCESS DENIED mkdir: /root/.gconfd Failed to create /root/.gconfd: Permission denied make[2]: Leaving directory `/var/tmp/portage/control-center-2.2.2-r1/work/control-center-2.2.2/schemas' make[1]: Leaving directory `/var/tmp/portage/control-center-2.2.2-r1/work/control-center-2.2.2/schemas' make[1]: Entering directory `/var/tmp/portage/control-center-2.2.2-r1/work/control-center-2.2.2' make[2]: Entering directory `/var/tmp/portage/control-center-2.2.2-r1/work/control-center-2.2.2' make[2]: Nothing to be done for `install-exec-am'. /bin/sh ./mkinstalldirs /var/tmp/portage/control-center-2.2.2-r1/image//usr/share/pixmaps /bin/install -c -m 644 ./control-center2.png /var/tmp/portage/control-center-2.2.2-r1/image//usr/share/pixmaps/control-center2.png make[2]: Leaving directory `/var/tmp/portage/control-center-2.2.2-r1/work/control-center-2.2.2' make[1]: Leaving directory `/var/tmp/portage/control-center-2.2.2-r1/work/control-center-2.2.2' man: prepallstrip: strip: strip: usr/bin/gnome-background-properties usr/bin/gnome-window-properties usr/bin/gnome-theme-manager usr/bin/gnome-default-applications-properties usr/bin/gnome-file-types-properties usr/bin/gnome-ui-properties usr/bin/gnome-font-properties usr/bin/gnome-sound-properties usr/bin/gnome-keybinding-properties usr/bin/gnome-accessibility-keyboard-properties usr/bin/gnome-settings-daemon usr/bin/gnome-network-preferences usr/bin/gnome-mouse-properties usr/bin/gnome-control-center usr/bin/gnome-keyboard-properties usr/lib/libgnome-window-settings.so.1.0.0 usr/lib/window-manager-settings/libmetacity.so making executable: /usr/lib/libgnome-window-settings.so.1.0.0 >>> Completed installing into /var/tmp/portage/control-center-2.2.2-r1/image/ --------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/tmp/sandbox-control-center-2.2.2-r1-30129.log" mkdir: /root/.gconfd mkdir: /root/.gconfd mkdir: /root/.gconfd -------------------------------------------------------------------------------- (I really hope that comes out okay) I'll attach the fix as another comment. Reproducible: Always Steps to Reproduce: 1. turn on the userpriv and usersandbox FEATURES in make.conf, or command line 2. emerge control-center Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.6.0-test1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt encode foomaticdb gif gpm jpeg kde libg++ libwww mad mikmod mmx mpeg ncurses pdflib png quicktime truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline svga tcltk java X sdl tcpd pam ssl perl python esd imlib oggvorbis gnome gtk motif opengl mozilla gphoto2 -cups -arts -qt -spell -nls" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CXXFLAGS="-march=pentium4 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox usersandbox userpriv buildpkg ccache"
Created attachment 14808 [details, diff] patch to control-center-2.2.2-r1.ebuild to correct sandbox errors.
so the problem is the configure script doesn't check the SCHEMAS_INSTALL environment var ? Is this similar to other bugs ? If it is we could just add it to the gnome2 eclass to be on the safe side.
okay, i guess this is my bad. i can't reproduce this anymore with the same version of portage etc, so i think it's invalid. if anyone experiences it they'll reopen/repost.