i have emerged gcc 3.4.3-r1 and installed it as the default compiler in my gentoo system. i have updated my system toolchain by issuing the "emerge -e system && emerge -e system" technique described by Rob Moss. I have also updated my world packages by issuing the "emerge -e world" command. i have only performed this world rebuilding step once, as it takes 2-3 days to complete on my P3 based PC. this evening, instead of issuing the "emerge -e world" command again, which would take a period of days to complete, i issued an "emerge gcc" command. gcc compilation failed issuing the following error: * Creating a hardened no-pie gcc specs file >>> Test phase [not enabled]: sys-devel/gcc-3.4.3-r1 touch: cannot touch `.tested': Permission denied !!! ERROR: sys-devel/gcc-3.4.3-r1 failed. !!! Function dyn_test, Line 938, Exitcode 1 !!! Failed to 'touch .tested' in /var/tmp/portage/gcc-3.4.3-r1 !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. upgrade to gcc 3.4.3-r1 2.emerge -e system && emerge -e system && emerge -e world 3.emerge gcc Actual Results: compilation failure Expected Results: successful compilation gentoo ~ # emerge info Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r1 i686) ================================================================= System uname: 2.6.10-gentoo-r1 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 29 2004, 22:58:57)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -mtune=pentium3 -fforce-addr -momit-leaf-framepointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe -fvisibility-inlines-hidden -fvisibility=hidden" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -mtune=pentium3 -fforce-addr -momit-leaf-framepointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe -fvisibility-inlines-hidden -fvisibility=hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 X acl acpi alsa apm arts avi berkdb bitmap-fonts cdinstall cdparanoia cdr cdrom cgi chroot client crypt cups dvd dvdr dvdread encode esd fam flac foomaticdb fortran freetype gdbm gifgimp gimpprint gnome gnomedb gnuplot gpm gtk gtk2 gtkhtml hal ide imagemagick imlib ipv6 ithreads java javacomm javadoc javamail javascript jpeg jpeg2k kde ldap libwww mad mikmod motif mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdf pdflib perl png posix print pthreads python qt quicktime readline samba sdl shaper slang snmp spell ssl svga tcpd tiff truetype userlocales xine xinerama xml xml2 xmms xscreensaver xv zlib"
This is a portage problem... but I don't see how it could create .compiled but not .tested...
*** This bug has been marked as a duplicate of 69932 ***