I get: Could not run/locate "i386-pc-linux-gnu-gcc" for many ebuilds. I do not know what to do to fix this. I know this is a duplicate, but the others weren't fixed. Reproducible: Always Steps to Reproduce: 1.emerge any program requiring i386-pc-linux-gnu-gcc Actual Results: It stops the build from progressing, giving an error code 2. Expected Results: It should have builded. Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd eds emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls nvidia ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
fix_libtool_files.sh --oldarch i386-pc-linux-gnu Stop doing things like changing your CHOST anywhere else then in stage 1 install.
It outputs usage for --oldarch.
# fix_libtool_files.sh `gcc -dumpversion` --oldarch i386-pc-linux-gnu What about reading the help instead of reopening the bug?
I did, and I didn't understand it. Please understand I haven't ever done any compiling myself.
i386-pc-linux-gnu-gcc: command not found
The command from comment #3 *does* work, what about cut and paste it instead of making syntax mistakes? fix_libtool_files.sh 3.3.6 --oldarch i386-pc-linux-gnu
CLOSED
The command worked (sorry for not telling you, I had to do something very quickly), but I still can't build. It said that it fixed a lot of things, however.
Re-emerge libtool. If that does not help, then do "emerge -e world" and stop screwing with CHOST next time. Self-inflicted breakage of system is not a bug, sorry. We have forums.gentoo.org if you are seeking help. Bugzilla is for bugs and feature requests. Now really CLOSING.
Look, I told you that this was a dupe because I knew that there were other bugs here with the same topic. However, they all had no solution. People posted their solutions, and I tried them, but it did not work. I did not screw around with CHOST on my own inclination.
Then post steps needed to reproduce this bug. I can't reproduce it without screwing with my CHOST, sorry. The steps you posted do not work, there is no such thing like "program requiring i386-pc-linux-gnu-gcc".
Uhhh, my main example is gconf, a necessary program for updating GNOME. I have followed other cases. http://bugs.gentoo.org/show_bug.cgi?id=89009 http://bugs.gentoo.org/show_bug.cgi?id=96829 http://bugs.gentoo.org/show_bug.cgi?id=102406 http://bugs.gentoo.org/show_bug.cgi?id=98401 If you notice, the first link shows the replier telling the poster to do 'unset CHOST'.
(In reply to comment #13) > Uhhh, my main example is gconf, a necessary program for updating GNOME. I have > followed other cases. Great. Marking as a dupe of Bug 104756. Also, please note that despite common belief the developers do *not* have paranormal abilities and are not mind readers. This whole bug is a prime example of providing zero relevant information. Post to bug 104756 and *don't* reopen this one any more. Thanks. *** This bug has been marked as a duplicate of 104756 ***