Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96829 - cjkcodecs fails with Could not run/locate "i386-pc-linux-gnu-gcc"
Summary: cjkcodecs fails with Could not run/locate "i386-pc-linux-gnu-gcc"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Other
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 01:04 UTC by Henti Smith
Modified: 2005-09-30 17:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henti Smith 2005-06-23 01:04:02 UTC
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
Comment 1 Stian Skjelstad 2005-06-23 01:17:23 UTC
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 :-(
Comment 2 Don Allen 2005-09-30 06:29:54 UTC
'emerge gnumeric' fails with the same error (after working around earlier 
missing XML parser problem).
Comment 3 Bryan Østergaard (RETIRED) gentoo-dev 2005-09-30 17:53:28 UTC
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.