i end up with files like this: /usr/bin/i686-pc-linux-gnu-mysql_secure_installation /usr/bin/i686-pc-linux-gnu-mysql_install_db /usr/bin/i686-pc-linux-gnu-mysql_install instead of /usr/bin/mysql_install_db Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r4 i686) ================================================================= System uname: 2.6.9-gentoo-r4 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.7 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Jun 5 2004, 17:54:23)] ccache version 2.3 [enabled] dev-lang/python: 2.2.3-r5, 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r1 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks moo sandbox sfperms" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.heanet.ie/pub/gentoo/ http://gentoo.mirror.icd.hu/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-gnome-current" SYNC="rsync://192.168.10.1/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb bindist bitmap-fonts bonobo cdr crypt cups directfb dvd dvdr encode esd f77 fam flac foomaticdb fortran gdbm gif gimpprint gnome gnome2 gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib java jikes jpeg jpg junit ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl pam pdflib perl png python qt quicktime readline samba sdl slang speex spell sse ssl svga tcpd tiff truetype usb x86 xml xml2 xmms xv zlib"
I can't reproduce this. I suspect something is borked with your binutils/gcc that it is prefixing everything with the CHOST.
yes, check /usr/bin and all recent compiles are prefixed, nothing that a for p in i686*; do mv $p `echo $p | sed "s/i686-pc-linux-gnu-//"` done can't quickly fix but strange it is
Frank: Why did you close this? We want a proper solution! The only binaries that should generally have a host prefix on them are cross-compilers.
I closed it because the issue has nothing to do with the mysql build. All latest compiled builds have the prefix.
unset CTARGET from your env remove CTARGET from all the files in /etc/env.d/gcc/ re-run gcc-config source /etc/profile
*** Bug 75411 has been marked as a duplicate of this bug. ***
*** Bug 76147 has been marked as a duplicate of this bug. ***
*** Bug 77917 has been marked as a duplicate of this bug. ***