Bug found while trying to 'emerge -e --update --deep world'. But 'emerge --deep =media-libs/sdl-ttf-2.0.6' works fine. I've 'emerge gcc' & 'emerge portage' but the bug didn't change. #emerge --deep =media-libs/sdl-ttf-2.0.7 >>> emerge (4 of 4) media-libs/sdl-ttf-2.0.7 to / >>> md5 files ;-) sdl-ttf-2.0.6.ebuild >>> md5 files ;-) sdl-ttf-2.0.7.ebuild >>> md5 files ;-) files/ft2build.patch >>> md5 files ;-) files/digest-sdl-ttf-2.0.6 >>> md5 files ;-) files/digest-sdl-ttf-2.0.7 >>> md5 src_uri ;-) SDL_ttf-2.0.7.tar.gz >>> Unpacking source... >>> Unpacking SDL_ttf-2.0.7.tar.gz to /var/tmp/portage/sdl-ttf-2.0.7/work >>> Source unpacked. * econf: updating SDL_ttf-2.0.7/config.guess with /usr/share/gnuconfig/config.guess * econf: updating SDL_ttf-2.0.7/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --with-x --build=i386-pc-linux-gnu checking build system type... i386-pc-linux-gnu checking host system type... i386-pc-linux-gnu checking target system type... i386-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for i386-pc-linux-gnu-gcc... i386-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i386-pc-linux-gnu-gcc accepts -g... yes checking for i386-pc-linux-gnu-gcc option to accept ANSI C... none needed checking dependency style of i386-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i386-pc-linux-gnu-gcc... /usr/i386-pc-linux-gnu/bin/ld checking if the linker (/usr/i386-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i386-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i386-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... i386-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i386-pc-linux-gnu-g++... i386-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i386-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i386-pc-linux-gnu-g++... none checking how to run the C++ preprocessor... i386-pc-linux-gnu-g++ -E checking for i386-pc-linux-gnu-g77... i386-pc-linux-gnu-g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether i386-pc-linux-gnu-g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/i386-pc-linux-gnu-nm -B output from i386-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i386-pc-linux-gnu-ar... i386-pc-linux-gnu-ar checking for i386-pc-linux-gnu-ranlib... i386-pc-linux-gnu-ranlib checking for i386-pc-linux-gnu-strip... i386-pc-linux-gnu-strip checking if i386-pc-linux-gnu-gcc static flag works... yes checking if i386-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i386-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i386-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i386-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i386-pc-linux-gnu-gcc linker (/usr/i386-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i386-pc-linux-gnu-g++... /usr/i386-pc-linux-gnu/bin/ld checking if the linker (/usr/i386-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i386-pc-linux-gnu-g++ linker (/usr/i386-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i386-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i386-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i386-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i386-pc-linux-gnu-g++ linker (/usr/i386-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i386-pc-linux-gnu-g77 option to produce PIC... -fPIC checking if i386-pc-linux-gnu-g77 PIC flag -fPIC works... yes checking if i386-pc-linux-gnu-g77 supports -c -o file.o... yes checking whether the i386-pc-linux-gnu-g77 linker (/usr/i386-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking whether make sets $(MAKE)... (cached) yes checking for i386-pc-linux-gnu-gcc... (cached) i386-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i386-pc-linux-gnu-gcc accepts -g... (cached) yes checking for i386-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed checking dependency style of i386-pc-linux-gnu-gcc... (cached) none checking for a BSD-compatible install... /bin/install -c checking for working alloca.h... yes checking for alloca... yes checking for freetype-config... /usr/bin/freetype-config checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.4... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for OpenGL support... yes configure: creating ./config.status config.status: creating Makefile config.status: creating SDL_ttf.spec config.status: executing depfiles commands /bin/sh ./libtool --mode=compile i386-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -O3 -pipe -march=pentium4 -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -DHAVE_OPENGL -c -o SDL_ttf.lo SDL_ttf.c i386-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -O3 -pipe -march=pentium4 -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -DHAVE_OPENGL -c showfont.c i386-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -O3 -pipe -march=pentium4 -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -DHAVE_OPENGL -c glfont.c mkdir .libs i386-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -O3 -pipe -march=pentium4 -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -DHAVE_OPENGL -c SDL_ttf.c -fPIC -DPIC -o .libs/SDL_ttf.o i386-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -O3 -pipe -march=pentium4 -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -DHAVE_OPENGL -c SDL_ttf.c -o SDL_ttf.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link i386-pc-linux-gnu-gcc -O3 -pipe -march=pentium4 -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -DHAVE_OPENGL -o libSDL_ttf.la -rpath /usr/lib -no-undefined -release 2.0 -version-info 6:1:6 SDL_ttf.lo -lfreetype -lz -lSDL -lpthread i386-pc-linux-gnu-gcc -shared .libs/SDL_ttf.o /usr/lib/libfreetype.so -lz /usr/lib/libSDL.so -lpthread -march=pentium4 -Wl,-soname -Wl,libSDL_ttf-2.0.so.0 -o .libs/libSDL_ttf-2.0.so.0.6.1 (cd .libs && rm -f libSDL_ttf-2.0.so.0 && ln -s libSDL_ttf-2.0.so.0.6.1 libSDL_ttf-2.0.so.0) (cd .libs && rm -f libSDL_ttf.so && ln -s libSDL_ttf-2.0.so.0.6.1 libSDL_ttf.so) i386-pc-linux-gnu-ar cru .libs/libSDL_ttf.a SDL_ttf.o i386-pc-linux-gnu-ranlib .libs/libSDL_ttf.a creating libSDL_ttf.la (cd .libs && rm -f libSDL_ttf.la && ln -s ../libSDL_ttf.la libSDL_ttf.la) /bin/sh ./libtool --mode=link i386-pc-linux-gnu-gcc -O3 -pipe -march=pentium4 -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -DHAVE_OPENGL -o showfont showfont.o libSDL_ttf.la -lfreetype -lz -lSDL -lpthread /bin/sh ./libtool --mode=link i386-pc-linux-gnu-gcc -O3 -pipe -march=pentium4 -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -DHAVE_OPENGL -o glfont glfont.o libSDL_ttf.la -lGL -lm -lfreetype -lz -lSDL -lpthread libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.6/../../..//libGL.la' is not a valid libtool archive make: *** [glfont] Error 1 make: *** Waiting for unfinished jobs.... i386-pc-linux-gnu-gcc -O3 -pipe -march=pentium4 -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -DHAVE_OPENGL -o .libs/showfont showfont.o ./.libs/libSDL_ttf.so /usr/lib/libfreetype.so -lz /usr/lib/libSDL.so -lm -ldl -lX11 -lXext -lpthread creating showfont !!! ERROR: media-libs/sdl-ttf-2.0.7 failed. !!! Function src_compile, Line 26, Exitcode 2 !!! emake failed #emerge --info Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 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="i386-pc-linux-gnu" CFLAGS="-O3 -pipe -march=pentium4" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://194.85.81.130/Gentoo ftp://172.16.3.79/gentoo_mirror " LANG="ru_RU.utf-8" LINGUAS="en ru" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://194.85.81.130/gentoo-portage" USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 crypt cups curl eds emboss encode exif expat fam foomaticdb fortran gdbm gif glut gpm gstreamer gtk gtk2 idn imlib ipv6 java jpeg kde lcms libg++ libwww mad mikmod mmx mmx2 mng motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline recode samba sdl spell sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib linguas_en linguas_ru userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
*** This bug has been marked as a duplicate of 112427 ***