emerge world wants to update to xfree xfree config fails while unpacking fonts on what appears to be an issue with CC_COMP: // emerge -uD world starts with: // >>> emerge (1 of 130) x11-base/xfree-4.3.0-r7 to / ~x86 // and quickly loses reference to gcc // * Adding Synaptics touchpad driver... [ ok ]/etc/env.d/gcc/config: line 1: 01m*: command not found /usr/bin/gcc-config: line 308: /etc/env.d/gcc/[31: No such file or directory gcc-config error: Could not run/locate "gcc" * Applying various patches (bugfixes/updates)... // and finally fails out in MS Core fonts // truetype !bindist * Unpacking MS Core Fonts... * andale32.exe... * arial32.exe... * arialb32.exe... * comic32.exe... * courie32.exe... * georgi32.exe... * impact32.exe... * times32.exe... * trebuc32.exe... * verdan32.exe... * webdin32.exe... * Done unpacking Core Fonts... [ ok ] * Setting up config/cf/host.def... /etc/env.d/gcc/config: line 1: 01m*: command not found /usr/bin/gcc-config: line 308: /etc/env.d/gcc/[31: No such file or directory gcc-config error: Could not run/locate "gcc" /etc/env.d/gcc/config: line 1: 01m*: command not found /usr/bin/gcc-config: line 308: /etc/env.d/gcc/[31: No such file or directory gcc-config error: Could not run/locate "gcc" make: *** [World] Error 1 !!! ERROR: x11-base/xfree-4.3.0-r7 failed. !!! Function src_compile, Line 604, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge world 2. hit xfree-4.3.0-r7 3. break on config setup Actual Results: emerge fails Expected Results: A happily built xfree-4.3.0-r7 Other packages find gcc just fine. Possibly issue with sourcing CC_COMP as /usr/bin/gcc-config warns in cmd_setup() # Sourcing /etc/env.d/gcc/${CC_COMP} is going to mess up # PATH among things... emerge info: Portage 2.0.51_rc7 (default-x86-1.4, gcc-CURRENT=*, glibc-2.3.4.20040808-r0, 2.6.7 i686) ================================================================= System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.5.3 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22,sys-kernel/linux-headers-2.4.19-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=pentium4 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distlocks sandbox" GENTOO_MIRRORS="http://mirror.clarkson.edu/pub/distributions/gentoo/ rsync://gentoo.seren.com/gentoo rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi aim apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd ethereal foomaticdb gdbm gif gpm gps gtk gtk2 imagemagick imlib innodb java jpeg jpg kde kms ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tiff truetype unicode x86 xml xml2 xmms xprint xv zlib"
Please run gcc-config to set ou compiler. gcc-config -l gives you a list of available profiles.
emerge info shows gcc-CURRENT=*. This shouldn't be the case if your compiler is set correctly with gcc-config.
Indeed is the case - this resolves xfree compile issue. Interesting that other packages would emerge fine but not xfree. Nonetheless thanks Sven & Donnie.