I have emerged d4x 2.5.0. The exectuable is /usr/bin/i686-pc-linux-gnu-nt , there is no man d4x , only man i686-pc-linux-gnu-nt. The executables should be just d4x and nt , NOT /usr/bin/i686-pc-linux-gnu-nt. Programs that look for d4x (firefox+flashgot) do not find it thanks to this name missmatch. Reproducible: Always Steps to Reproduce: 1.emerge d4x-2.5.0 2. 3. Actual Results: Executable and manpage named i686-pc-linux-gnu-nt Expected Results: Executable should be named just nt and d4x Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r6,sys-devel/autoconf-2.13 Automake: sys-devel/automake-1.8.5-r2,sys-devel/automake-1.5,sys-devel/automake- 1.4_p6,sys-devel/automake-1.6.3,sys-devel/automake-1.7.9,sys-devel/automake-1.9. 3 Binutils: sys-devel/binutils-2.15.92.0.2-r2,sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -f force-addr -falign-functions=4" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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 /us r/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ / usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/te xmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fprefetch-loop-arrays -fforce-addr -falign-functions=4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms test" GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa arts avi berkdb bitmap-fonts cdr crypt cups dba doc encode esd f77 fam flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib jack java jpeg junit kde ldap libg++ libwww mad mikmod mmap mo tif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl pam pdflib perl png pos tgres python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex tif f truetype unicode usb x86 xml xml2 xmms xv zlib linguas_en"
to fix: (1) remove CTARGET from the files in /etc/env.d/gcc/ (2) run gcc-config for your version (3) unset CTARGET (4) env-update (5) source /etc/profile (6) re-emerge broken packages