After 2004.3 install (stage2, just to get system booting), I can't emerge x11-misc/ttmkfdir (for xorg-x11 and kde) Since there are only ebuilds for 3.0.9, 3.0.9-r1, 3.0.9-r2 and I tried them all - I can't emerge X or KDE :( Reproducible: Always Steps to Reproduce: 1. emerge -vD ttmkfdir 2. 3. Actual Results: emerge -vD ttmkfdir Calculating dependencies ...done! >>> emerge (1 of 1) x11-misc/ttmkfdir-3.0.9-r2 to / >>> md5 src_uri ;-) ttmkfdir-3.0.9.tar.bz2 >>> Unpacking source... >>> Unpacking ttmkfdir-3.0.9.tar.bz2 to /var/tmp/portage/ttmkfdir-3.0.9-r2/work * Applying ttmkfdir-3.0.9-cpp.patch ... [ ok ] * Applying ttmkfdir-3.0.9-zlib.patch ... [ ok ] * Applying ttmkfdir-3.0.9-gcc34.patch ... [ ok ] * Applying ttmkfdir-3.0.9-encoding.patch ... [ ok ] * Applying ttmkfdir-3.0.9-freetype_new_includes.patch ... [ ok ] >>> Source unpacked. libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -pipe -fomit-frame-pointer -ffast-math -mcpu=pentium4 -march=pentium4 -o ttmkfdir.o -c ttmkfdir.cpp libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -pipe -fomit-frame-pointer -ffast-math -mcpu=pentium4 -march=pentium4 -o directory.o -c directory.cpp libtool --mode=compile i686-pc-linux-gnu-g++ -Wall -pedantic -I/usr/include/freetype2 -pipe -fomit-frame-pointer -ffast-math -mcpu=pentium4 -march=pentium4 -o commandline.o -c commandline.cpp libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make: *** [directory.o] Error 1 make: *** Waiting for unfinished jobs.... libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make: *** [ttmkfdir.o] Error 1 libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make: *** [commandline.o] Error 1 !!! ERROR: x11-misc/ttmkfdir-3.0.9-r2 failed. !!! Function src_compile, Line 44, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r13 i686) ================================================================= System uname: 2.6.9-gentoo-r13 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -fomit-frame-pointer -ffast-math -mcpu=pentium4 -march=pentium4 " CHOST="i686-pc-linux-gnu" COMPILER="" 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="-O3 -pipe -fomit-frame-pointer -ffast-math -mcpu=pentium4 -march=pentium4 " DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="http://gentoo.inode.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ http://gentoo.mirrored.ca/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ " MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aac acl acpi alsa apache2 apm arts async audiofile avantgo avi bash-completion berkdb bitmap-fonts blender-game bootsplash bzip2 bzlib calendar cdparanoia cdr codecs cracklib crypt css cups divx4linux dlloader dnsdb droproot dvd dvdr dvdread eds encode escreen ethereal evo exif font-server foomaticdb fortran gd gdbm geoip gif gphoto2 gpm icq idea imagemagick imap insecure-drivers irda java jce jpeg jpeg2k kde kdexdeltas laptop libgd libwww lzo lzw lzw-tiff mad md5sum memlimit mhash mikmod mime mjpeg mmap mmx mng motif mp3 mpeg mplayer mythtv ncurses network nls nntp nvidia odbc oggvorbis opengl oss pam pcap pda pdf pdflib perl php png povray python qt quicktime readline recode samba scanner sdl secure server session sha1 smime soap sockets spamassassin spell sqlite sse sse2 ssl svg svga tcpd tcpmd5 tga tiff transcode truetype truetype-fonts type1-fonts usb userlocales vnc wavelan wifi wma123 wmf xanim xine xinerama xml xml2 xmlrpc xmms xosd xpm xrandr xscreensaver xv xvid xvmc zlib"
Even doing an CFLAGS="" CXXFLAGS="" USE="-*" emerge -vD ttmkfdir causes this kind of problem :(
Oh my god! The solution was the re-emerge libtool. Does this mean that everyone using the 2004.3-r1 install has this problem?
Created attachment 47489 [details, diff] Pass --tag=CXX to libtool
The problem is that CXX is being set to a long-winded compiler name which libtool does not recognise. Maybe it's better to add a gentoo-specific patch to libtool instead, but for the sake of discussion please see my proposed Makefile patch.
I have attempted both fixes, remerging libtool and applying the proposed patch. Neither of them worked. C++ compile errors on encoding.cpp
*** This bug has been marked as a duplicate of 67692 ***