When I try to emerge the below package (which I need for X) it stops with the following error: >>> 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 ] >>> Source unpacked. libtool --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -march=k6-2 -pipe -fomit-frame-pointer -o ttmkfdir.o -c ttmkfdir.cpp libtool --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -march=k6-2 -pipe -fomit-frame-pointer -o directory.o -c directory.cpp libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make: *** [ttmkfdir.o] Error 1 make: *** Waiting for unfinished jobs.... libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make: *** [directory.o] Error 1 !!! ERROR: x11-misc/ttmkfdir-3.0.9-r1 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! emake failed Reproducible: Always Steps to Reproduce: - emerge ttmkfdir - emerge =ttmkfdir-3.0.9 - emerge =ttmkfdir-3.0.9-r1 - CFLAGS="" emerge ttmkfdir - CFLAGS="" emerge =ttmkfdir-3.0.9 - CFLAGS="" emerge =ttmkfdir-3.0.9-r1 Actual Results: It gave the same error Expected Results: It should have emerged... Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9-mm1-06 i586) ================================================================= System uname: 2.6.9-mm1-06 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=k6-2 -pipe -fomit-frame-pointer" CHOST="i586-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="-O2 -march=k6-2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb bitmap-fonts crypt cups dvd encode f77 foomaticdb gdbm gif gpm gtk2 imlib jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv xvid zlib"
Confirming. Easy fix: change ${gcc-getCXX} to ${tc-getCXX}.
That seems to have fixed it, thanks a bunch.
*** This bug has been marked as a duplicate of 67692 ***