Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123822 - egenix-mx-base fails to emerge
Summary: egenix-mx-base fails to emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 07:06 UTC by Luke Reeves
Modified: 2006-04-04 05:21 UTC (History)
1 user (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 Luke Reeves 2006-02-23 07:06:29 UTC
When trying to emerge KDE, the dependency "egenix-mx-base" fails to build:
localhost ~ # emerge egenix-mx-base
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-python/egenix-mx-base-2.0.6 to /
>>> checksums files   ;-) egenix-mx-base-2.0.5.ebuild
>>> checksums files   ;-) egenix-mx-base-2.0.6.ebuild
>>> checksums files   ;-) files/digest-egenix-mx-base-2.0.5
>>> checksums files   ;-) files/digest-egenix-mx-base-2.0.6
>>> checksums src_uri ;-) egenix-mx-base-2.0.6.tar.gz
>>> Unpacking source...
>>> Unpacking egenix-mx-base-2.0.6.tar.gz to /var/tmp/portage/egenix-mx-base-2.0.6/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/egenix-mx-base-2.0.6/work/egenix-mx-base-2.0.6 ...
running build
running mx_autoconf
i386-pc-linux-gnu-gcc -pthread -DNDEBUG -fno-strict-aliasing -fPIC -D_GNU_SOURCE=1 -I/usr/include -c _configtest.c -o _configtest.o
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
failure.
removing: _configtest.c _configtest.o
i386-pc-linux-gnu-gcc -pthread -DNDEBUG -fno-strict-aliasing -fPIC -D_GNU_SOURCE=1 -I/usr/include/python2.4 -I/usr/include -c _configtest.c -o _configtest.o
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
failure.
removing: _configtest.c _configtest.o
running build_ext
building 'mx.DateTime.mxDateTime.mxDateTime' extension
creating build
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/mx
creating build/temp.linux-i686-2.4/mx/DateTime
creating build/temp.linux-i686-2.4/mx/DateTime/mxDateTime
creating build/temp.linux-i686-2.4/mx/DateTime/mxDateTime/mxDateTime
creating build/temp.linux-i686-2.4/mx/DateTime/mxDateTime/mxDateTime/mx
creating build/temp.linux-i686-2.4/mx/DateTime/mxDateTime/mxDateTime/mx/DateTime
creating build/temp.linux-i686-2.4/mx/DateTime/mxDateTime/mxDateTime/mx/DateTime/mxDateTime
i386-pc-linux-gnu-gcc -pthread -DNDEBUG -fno-strict-aliasing -fPIC -DBAD_STATIC_FORWARD=1 -UHAVE_STRPTIME -Imx/DateTime/mxDateTime -I/usr/include/python2.4 -I/usr/include -c mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.linux-i686-2.4/mx/DateTime/mxDateTime/mxDateTime/mx/DateTime/mxDateTime/mxDateTime.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/egenix-mx-base-2.0.6 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  egenix-mx-base-2.0.6.ebuild, line 26:   Called distutils_src_compile

!!! compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



The compiler on my system is "i686-pc-linux-gnu-3.4.5".  emerge --info:
Portage 2.1_pre4-r1 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15.4 i686)
=================================================================
System uname: 2.6.15.4 i686 Intel(R) Pentium(R) M processor 1000MHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium-m -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac alsa apache2 avi berkdb bitmap-fonts bzip2 cjk crypt dvd eds emboss encode esd ffmpeg flac foomaticdb fortran gdbm gif glitz gnome gnutls gstreamer gtk gtk2 imagemagick imap imlib ipv6 jpeg kde libg++ libwww logrotate mad mbox mikmod mmx mng motif mp3 mpeg mysql ncurses nls nptl ogg opengl oss pam pdflib perl png postgres python qt quicktime readline samba sdl smime spell sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode v41 vcd vorbis wine32codecs xine xml xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Luke Reeves 2006-02-23 07:33:24 UTC
Apparently this is caused by me switching my CHOST.  I'll work around it I guess.
Comment 2 Brendan Jurd 2006-04-04 05:21:01 UTC
I am having this same problem.  egenix-mx-base won't emerge because it can't run/locate i386-pc-linux-gnu-gcc.  Where is this i386 guff coming from?

After doing a bit of googling I found a lot of people passing this off as "because you changed your CHOST".  Well I haven't changed my CHOST and this is the second ebuild in "stable" that's failed with this same message.  My CHOST is and always has been set to i686-pc-linux-gnu.

I have upgraded my gcc from 3.4.4 to 3.4.5.  Afterwards I ran gcc-config to select the new gcc, and re-emerged libtool, as recommended at the Gentoo Linux GCC Upgrade Guide.  That's the only change I've made to my build environment since installing from a fresh 2006.0 minimal install CD four days ago.

Here is my emerge --info:

Gentoo Base System version 1.6.14
Portage 2.0.54 (default-linux/x86/no-nptl, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Mobile AMD Sempron(tm) Processor 3000+
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.iinet.net.au/linux/Gentoo http://ftp.swin.edu.au/gentoo http://mirror.isp.net.au/ftp/pub/gentoo http://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups curl dba dri dvd eds emboss encode expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde lcms libg++ libwww mad memlimit mikmod mng motif mp3 mpeg ncurses nls ogg opengl oss pam pcre pdflib perl php png posix postgres python qt quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

And here is my portage log:


>>> Unpacking source...
>>> Unpacking egenix-mx-base-2.0.5.tar.gz to /var/tmp/portage/egenix-mx-base-2.0.5/work
>>> Source unpacked.
running build
running mx_autoconf
i386-pc-linux-gnu-gcc -pthread -DNDEBUG -fPIC -D_GNU_SOURCE=1 -I/usr/include -c _configtest.c -o _configtest.o
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
failure.
removing: _configtest.c _configtest.o
i386-pc-linux-gnu-gcc -pthread -DNDEBUG -fPIC -D_GNU_SOURCE=1 -I/usr/include/python2.4 -I/usr/include -c _configtest.c -o _configtest.o
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
failure.
removing: _configtest.c _configtest.o
running build_ext
building 'mx.DateTime.mxDateTime.mxDateTime' extension
creating build
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/mx
creating build/temp.linux-i686-2.4/mx/DateTime
creating build/temp.linux-i686-2.4/mx/DateTime/mxDateTime
creating build/temp.linux-i686-2.4/mx/DateTime/mxDateTime/mxDateTime
creating build/temp.linux-i686-2.4/mx/DateTime/mxDateTime/mxDateTime/mx
creating build/temp.linux-i686-2.4/mx/DateTime/mxDateTime/mxDateTime/mx/DateTime
creating build/temp.linux-i686-2.4/mx/DateTime/mxDateTime/mxDateTime/mx/DateTime/mxDateTime
i386-pc-linux-gnu-gcc -pthread -DNDEBUG -fPIC -DBAD_STATIC_FORWARD=1 -UHAVE_STRPTIME -Imx/DateTime/mxDateTime -I/usr/include/python2.4 -I/usr/include -c mx/DateTime/mxDateTime/mxDateTime.c -o build/temp.linux-i686-2.4/mx/DateTime/mxDateTime/mxDateTime/mx/DateTime/mxDateTime/mxDateTime.o