Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66131

Summary: xfree-4.3.0-r7 can't find gcc
Product: Gentoo Linux Reporter: Jamie Saker <jsaker>
Component: [OLD] Core systemAssignee: Gentoo X packagers <x11>
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---

Description Jamie Saker 2004-10-02 08:28:37 UTC
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 /

// 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 //

 * 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.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-
Headers:  sys-kernel/linux-headers-2.4.22,sys-kernel/linux-headers-2.4.19-r1
Libtools: sys-devel/libtool-1.5.2-r5
CFLAGS="-mcpu=pentium4 -pipe"
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/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -pipe"
FEATURES="autoaddcvs buildpkg ccache distlocks sandbox"
rsync:// rsync://"
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"
Comment 1 Sven Wegener gentoo-dev 2004-10-02 09:01:04 UTC
Please run gcc-config to set ou compiler. gcc-config -l gives you a list of available profiles.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-02 10:10:56 UTC
emerge info shows gcc-CURRENT=*. This shouldn't be the case if your compiler is set correctly with gcc-config.
Comment 3 Jamie Saker 2004-10-02 10:27:25 UTC
Indeed is the case - this resolves xfree compile issue. Interesting that other packages would emerge fine but not xfree. Nonetheless thanks Sven & Donnie.