cjkcodecs fails to build on tested versions : 1.0.2 and 1.1.1 when trying to emerge Reproducible: Always Steps to Reproduce: 1. emerge cjkcodecs 2. 3. Actual Results: i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -march=pentium3 -O3 -pipe -fomit-frame-pointer -fPIC -I/usr/include/python2.3 -c src/multibytecodec.c -o build/temp.linux-i686-2.3/src/multibytecodec.o gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1 !!! ERROR: dev-python/cjkcodecs-1.0.2 failed. !!! Function distutils_src_compile, Line 38, Exitcode 1 !!! compilation failed !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 10 2005, 20:47:05)] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 alsa apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode foomaticdb fortran gd gdbm gif gnome gpm gtk2 imlib ipv6 jpeg kde ldap libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Should be enough to patch Makefile/configure to use gcc and not i386-pc-linux- gnu-gcc. Don't have access to my workstation right now :-(
'emerge gnumeric' fails with the same error (after working around earlier missing XML parser problem).
This error comes from changing CHOST. In the case where CHOST is changed during a stage1 install this problem is now fixed during installation. If you changed CHOST at any point after the installation or during a stage2 or stage3 install it's not supported. In any case, you can fix the problem by editing /usr/lib/python2.3/config/Makefile and changing the CC line from i386 to i686.