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

Bug 90380

Summary: compile fails under configure. "i686-pc-linux-gnu" gets stripped to "i686-pc-linux-". This leads to a system type that is not recognized.
Product: Gentoo Linux Reporter: Tore W Hermansen <tore.hermansen>
Component: [OLD] GCC PortingAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tore W Hermansen 2005-04-25 08:09:27 UTC
I'm trying to update my system, and during the configure process I get this:
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking build system type... Invalid configuration `i686-pc-linux-': machine `i686-pc-linux' not recognized
configure: error: /bin/sh config/config.sub i686-pc-linux- failed

The first package to be updated is gettext-0.14.1-r1, but the same problem occurs in every non-binary package I'm trying to merge 

Reproducible: Always
Steps to Reproduce:
1.emerge -u world
2.
3.

Actual Results:  
(...)
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking build system type... Invalid configuration `i686-pc-linux-': machine
`i686-pc-linux' not recognized
configure: error: /bin/sh config/config.sub i686-pc-linux- failed

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/gettext-0.14.1-r1/work/gettext-0.14.1/config.log

!!! ERROR: sys-devel/gettext-0.14.1-r1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
merged the packages I'm trying to merge? ;)

My CPU is actually an AMD64, but I'm running a i686 (athlon-xp) gentoo, I doubt
that this should cause a problem.

My "emerge info" :

joshua / # emerge info  
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6-joshua i686)
=================================================================
System uname: 2.6.11-gentoo-r6-joshua i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 30 2005, 13:11:50)]
dev-lang/python:     2.3.4-r1
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.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aac acpi4linux alsa apache2 apm arts avi
bash-completion berkdb bitmap-fonts bluetooth bootsplash bzlib cdda cddb
cdparanoia cdr codecs crypt css cups curl disablexmb doc drivers dvd dvdr
dvdread dvix4linux emboss encode escreen esd exif faad fam ffmpeg flac
font-server foomaticdb fortran ftp gdbm gif gmail gnome gpm gstreamer gtk gtk2
imagemagick imap imlib insecure ipv6 java jpeg jpeg2k junit kde libg++ libwww
logitech-mouse mad mikmod mmx mmx2 motif mozilla moznocompose moznoirc moznomail
mp3 mpeg msn ncurses nls nvidia offensive ogg oggvorbis opengl operanom2 oss pam
pdflib perl png python qt quicktime readline rhythmboz samba screenshot sdl
spell sse sse2 ssl svg svga tcpd tiff truetype truetype-fonts type1-fonts
unicode userlocales utf8 vcd vorbis xinerama xml2 xmms xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-25 08:13:22 UTC

*** This bug has been marked as a duplicate of 90312 ***