Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74460 - All recent package builds have $CHOST of i686-pc-linux-gnu prefixed to them
Summary: All recent package builds have $CHOST of i686-pc-linux-gnu prefixed to them
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 75411 76147 77917 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-15 01:53 UTC by Frank
Modified: 2005-01-13 19:38 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank 2004-12-15 01:53:53 UTC
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"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-12-15 02:14:06 UTC
I can't reproduce this.
I suspect something is borked with your binutils/gcc that it is prefixing everything with the CHOST.

Comment 2 Frank 2004-12-15 02:18:55 UTC
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
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-12-15 02:26:36 UTC
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.
Comment 4 Frank 2004-12-15 02:31:52 UTC
I closed it because the issue has nothing to do with the mysql build.

All latest compiled builds have the prefix.
Comment 5 SpanKY gentoo-dev 2004-12-15 05:24:28 UTC
unset CTARGET from your env
remove CTARGET from all the files in /etc/env.d/gcc/
re-run gcc-config
source /etc/profile
Comment 6 Chris White (RETIRED) gentoo-dev 2004-12-23 09:04:52 UTC
*** Bug 75411 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2004-12-30 12:23:50 UTC
*** Bug 76147 has been marked as a duplicate of this bug. ***
Comment 8 Peter Johanson (RETIRED) gentoo-dev 2005-01-13 19:38:39 UTC
*** Bug 77917 has been marked as a duplicate of this bug. ***