After having examined the point that shows the ACCESS DENIED access_wr: / error message for the first time, I have moved sys-apps/sandbox into my overlay. Then I have added "set -x" after the 'ewarn "FEATURES=-sandbox emerge sandbox"' line, that was the last line printed before the error appeared. The transcript from the vicinity of the error follows. Emerge info output is attached to the end. * If configure fails with a 'cannot run C compiled programs' error, try this: * FEATURES=-sandbox emerge sandbox + [[ -n i686-pc-linux-gnu ]] + [[ i686-pc-linux-gnu != i686-pc-linux-gnu ]] + OABI= + OCHOST=i686-pc-linux-gnu ++ get_install_abis ++ local order= ++ [[ -z default ]] ++ hasq multilib-pkg-force multilib-pkg-force ++ [[ multilib-pkg-force == *\ \m\u\l\t\i\l\i\b\-\p\k\g\-\f\o\r\c\e\ * ]] ++ for x in '${MULTILIB_ABIS}' ++ [[ default != \d\e\f\a\u\l\t ]] ++ hasq default ++ [[ == *\ \d\e\f\a\u\l\t\ * ]] ++ order=' default' ++ [[ -n '' ]] ++ [[ -z default ]] ++ echo default ++ return 0 + for ABI in '$(get_install_abis)' + mkdir /var/tmp/portage/sandbox-1.2.17/work/build-default-i686-pc-linux-gnu + cd /var/tmp/portage/sandbox-1.2.17/work/build-default-i686-pc-linux-gnu + has_version '<sys-apps/portage-2.0.51.22' + '[' compile == depend ']' + /usr/lib/portage/bin/portageq has_version / '<sys-apps/portage-2.0.51.22' ACCESS DENIED access_wr: / + return 1 + export ABI -------------------------------------------------------------------- Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.18-gentoo-r1-tma11 i686) ================================================================= System uname: 2.6.18-gentoo-r1-tma11 i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.6.13 Last Sync: Thu, 23 Nov 2006 10:20:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11 dev-lang/python: 2.3.5 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/gcc-config: 1.3.13-r1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=pentium-m -mtune=pentium-m -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -march=pentium-m -mtune=pentium-m -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer nostrip sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file--delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acl acpi alsa apache2 apm arts avi berkdb bidi bitmap-fonts bzlib cdr cli cracklib crypt cscope cups dga divx4linux dlloader doc dri dvd eds elibc_glibc emboss encode esd exif foomaticdb fortran gcj gdbm gif gphoto2 gpm gstreamer gtk gtk2 guile iconv icq imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jikes jpeg kde kernel_linuxlibg++ libwww mad matroska mikmod mmx mmx2 motif mozilla mp3 mpeg ncurses nls nptl nptlonly objc oggoggvorbis opengl oss pam pcmcia pcre perl png pppd python qt qt3 qt4 quicktime readline real reflection sdl session spell spl sse ssl svg tcpd tetex tga tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis xml xorg xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Using FEATURES=-sandbox helps. The message suggesting this measure was however conditioned on other diagnostic.
*** This bug has been marked as a duplicate of 101433 ***