Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95789 - media-libs/freetype-2.1.9-r1 fails to compile - "Invalid configuration `i686-pc-linux-' "
Summary: media-libs/freetype-2.1.9-r1 fails to compile - "Invalid configuration `i686-...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-11 09:51 UTC by Lasse Bigum
Modified: 2005-06-11 10:16 UTC (History)
0 users

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 Lasse Bigum 2005-06-11 09:51:18 UTC
I just did an "emerge -P" to clean out my old packages, and did a "emerge -avuD 
world" afterwards, which now results in libfreetype-2.1.9-r1 fails to compile.

I've googled, searched the forums, searched the bugs, and found nothing. Not 
excluding that it most likely is my system, but I'm clueless.

The exact error-message is:
>>> Unpacking source...
>>> Unpacking freetype-2.1.9.tar.bz2 to /var/tmp/portage/freetype-2.1.9-r1/work
 * Applying freetype-2.1.9-fix_bci.patch ...                              [ ok ]
 * Using GNU config files from /usr/share/libtool
 *   Updating builds/unix/config.sub                                      [ ok ]
 *   Updating builds/unix/config.guess                                    [ ok ]
 * Applying uClibc/libtool patches ...
 * Removing useless C++ checks ...                                        [ ok ]
>>> Source unpacked.
cd builds/unix; ./configure --host=i686-pc-linux-gnu --prefix=/usr --with-zlib -
-libdir=/usr/lib
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... Invalid configuration `i686-pc-linux-': machine `i
686-pc-linux' not recognized
configure: error: /bin/sh ./config.sub i686-pc-linux- failed
make: *** [builds/unix/unix-def.mk] Error 1

My emerge --info:
nadir ~ # emerge --info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.5-r0, 2.6.
11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.12
ccache version 2.4 [disabled]
dev-lang/python:     2.4.1
sys-apps/sandbox:    1.2.9
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.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
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.4/env /usr/kde/3.4/share/config /
usr/kde/3.4/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/splash /etc/terminfo /etc/texmf/web2c /etc/
env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://trumpetti.atm.tut.fi/
gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ds.thn.htu.
se/linux/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi bash-completion berkdb bitmap-fonts crypt cups curl dga 
eds emboss encode fam flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer 
gtk gtk2 hal howl imlib ipv6 java jpeg libg++ libwww mad mikmod mono motif mp3 
mpeg mysql ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl 
png python quicktime readline sdl slang spell sqlite ssl svga tcpd tetex tiff 
truetype truetype-fonts type1-fonts unicode usb vorbis xine xml xml2 xmms xprint 
xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS


Reproducible: Always
Steps to Reproduce:
1. emerge -P
2. emerge -avuD world
3. libfreetype-2.1.9-r1 fails to compile

Actual Results:  
It results in me not being able to open a *shitload* of programs, so pretty 
annoying.
Comment 1 Lasse Bigum 2005-06-11 10:16:44 UTC
Blah, as I suspected it *was* my own doing. My "emerge -P" cleaned out gcc-3.3.
5, which apparently was the selected version, even though I had 3.4.4 installed. 
Manually selecting 3.4.4 via gcc-config solved my problem.

The only relevance for libfreetype was that this happenchance was the first 
package it tried to re-emerge after my clean-up.

Sorry for this. Please mark as invalid or whatever.