this is the very first very strange error I have. emerge tightvnc [...] i386-pc-linux-gnu-gcc -O2 -march=athlon-mp -pipe -I. -I../include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -c -o vncauth.o vncauth.c gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" root@pluton:~# which i386-pc-linux-gnu-gcc /usr/bin/i386-pc-linux-gnu-gcc root@pluton:~# file /usr/bin/i386-pc-linux-gnu-gcc /usr/bin/i386-pc-linux-gnu-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), stripped root@pluton:~# /usr/bin/i386-pc-linux-gnu-gcc gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" of course, I have tried several esync, emerge gcc, emerge gcc-config, emerge binutils, source /etc/profile ... reebots ... nothing changes. root@pluton:~# gcc-config -l [1] i686-pc-linux-gnu-3.3.5-20050130 [2] i686-pc-linux-gnu-3.3.5-20050130-hardened [3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie [4] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp [5] i686-pc-linux-gnu-3.4.4 * [6] i686-pc-linux-gnu-3.4.4-hardened [7] i686-pc-linux-gnu-3.4.4-hardenednopie [8] i686-pc-linux-gnu-3.4.4-hardenednopiessp [9] i686-pc-linux-gnu-3.4.4-hardenednossp Calculating dependencies >>> Unpacking source... >>> Unpacking tightvnc-1.3dev5_unixsrc.tar.bz2 to /var/tmp/portage/tightvnc-1.3_alpha5/work * Applying tightvnc-1.3_alpha5-gentoo.diff ... [ ok ] * Applying tightvnc-1.3_alpha5-gentoo.security.patch ... [ ok ] * Applying tightvnc-1.3_alpha5-imake-tmpdir.patch ... [ ok ] * Applying x86.patch ... [ ok ] * Applying tightvnc-1.3_alpha5-gcc34.patch ... [ ok ] >>> Source unpacked. imake -DUseInstalled -I/usr/lib/X11/config In file included from /usr/lib/X11/config/Imake.tmpl:105, from Imakefile.c:35: /usr/lib/X11/config/linux.cf:371: warning: "BuildLibGlxWithoutPIC" redefined In file included from /usr/lib/X11/config/site.def:44, from /usr/lib/X11/config/Imake.tmpl:46, from Imakefile.c:35: /usr/lib/X11/config/host.def:63: warning: this is the location of the previous definition make Makefiles making Makefiles in libvncauth... make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' In file included from /usr/lib/X11/config/Imake.tmpl:105, from Imakefile.c:35: /usr/lib/X11/config/linux.cf:371: warning: "BuildLibGlxWithoutPIC" redefined In file included from /usr/lib/X11/config/site.def:44, from /usr/lib/X11/config/Imake.tmpl:46, from Imakefile.c:35: /usr/lib/X11/config/host.def:63: warning: this is the location of the previous definition make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' make[1]: Nothing to be done for `Makefiles'. make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' making Makefiles in vncviewer... make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' In file included from /usr/lib/X11/config/Imake.tmpl:105, from Imakefile.c:35: /usr/lib/X11/config/linux.cf:371: warning: "BuildLibGlxWithoutPIC" redefined In file included from /usr/lib/X11/config/site.def:44, from /usr/lib/X11/config/Imake.tmpl:46, from Imakefile.c:35: /usr/lib/X11/config/host.def:63: warning: this is the location of the previous definition make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncviewer' make[1]: Nothing to be done for `Makefiles'. make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncviewer' making Makefiles in vncpasswd... make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' In file included from /usr/lib/X11/config/Imake.tmpl:105, from Imakefile.c:35: /usr/lib/X11/config/linux.cf:371: warning: "BuildLibGlxWithoutPIC" redefined In file included from /usr/lib/X11/config/site.def:44, from /usr/lib/X11/config/Imake.tmpl:46, from Imakefile.c:35: /usr/lib/X11/config/host.def:63: warning: this is the location of the previous definition make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncpasswd' make[1]: Nothing to be done for `Makefiles'. make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncpasswd' making Makefiles in vncconnect... make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' In file included from /usr/lib/X11/config/Imake.tmpl:105, from Imakefile.c:35: /usr/lib/X11/config/linux.cf:371: warning: "BuildLibGlxWithoutPIC" redefined In file included from /usr/lib/X11/config/site.def:44, from /usr/lib/X11/config/Imake.tmpl:46, from Imakefile.c:35: /usr/lib/X11/config/host.def:63: warning: this is the location of the previous definition make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncconnect' make[1]: Nothing to be done for `Makefiles'. make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncconnect' make includes including in ./libvncauth... make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' make[1]: Nothing to be done for `includes'. make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' including in ./vncviewer... make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncviewer' make[1]: Nothing to be done for `includes'. make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncviewer' including in ./vncpasswd... make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncpasswd' make[1]: Nothing to be done for `includes'. make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncpasswd' including in ./vncconnect... make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncconnect' make[1]: Nothing to be done for `includes'. make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncconnect' make depend depending in ./libvncauth... make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' gccmakedep -- -I. -I../include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -- vncauth.c d3des.c gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' depending in ./vncviewer... make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncviewer' gccmakedep -- -I../include -I. -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DMITSHM -- argsresources.c caps.c colour.c cursor.c desktop.c dialogs.c fullscreen.c listen.c misc.c popup.c rfbproto.c selection.c shm.c sockets.c tunnel.c vncviewer.c gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncviewer' depending in ./vncpasswd... make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncpasswd' gccmakedep -- -I../include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -- vncpasswd.c gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncpasswd' depending in ./vncconnect... make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncconnect' gccmakedep -- -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -- make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncconnect' make Makefiles make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' making Makefiles in libvncauth... mv -f Makefile Makefile.bak make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' In file included from /usr/lib/X11/config/Imake.tmpl:105, from Imakefile.c:35: /usr/lib/X11/config/linux.cf:371: warning: "BuildLibGlxWithoutPIC" redefined In file included from /usr/lib/X11/config/site.def:44, from /usr/lib/X11/config/Imake.tmpl:46, from Imakefile.c:35: /usr/lib/X11/config/host.def:63: warning: this is the location of the previous definition make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' making Makefiles in vncviewer... mv -f Makefile Makefile.bak make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' In file included from /usr/lib/X11/config/Imake.tmpl:105, from Imakefile.c:35: /usr/lib/X11/config/linux.cf:371: warning: "BuildLibGlxWithoutPIC" redefined In file included from /usr/lib/X11/config/site.def:44, from /usr/lib/X11/config/Imake.tmpl:46, from Imakefile.c:35: /usr/lib/X11/config/host.def:63: warning: this is the location of the previous definition make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncviewer' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncviewer' making Makefiles in vncpasswd... mv -f Makefile Makefile.bak make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' In file included from /usr/lib/X11/config/Imake.tmpl:105, from Imakefile.c:35: /usr/lib/X11/config/linux.cf:371: warning: "BuildLibGlxWithoutPIC" redefined In file included from /usr/lib/X11/config/site.def:44, from /usr/lib/X11/config/Imake.tmpl:46, from Imakefile.c:35: /usr/lib/X11/config/host.def:63: warning: this is the location of the previous definition make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncpasswd' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncpasswd' making Makefiles in vncconnect... mv -f Makefile Makefile.bak make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' In file included from /usr/lib/X11/config/Imake.tmpl:105, from Imakefile.c:35: /usr/lib/X11/config/linux.cf:371: warning: "BuildLibGlxWithoutPIC" redefined In file included from /usr/lib/X11/config/site.def:44, from /usr/lib/X11/config/Imake.tmpl:46, from Imakefile.c:35: /usr/lib/X11/config/host.def:63: warning: this is the location of the previous definition make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncconnect' make[2]: Nothing to be done for `Makefiles'. make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncconnect' make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make depend make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' depending in ./libvncauth... make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' gccmakedep -- -I. -I../include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -- vncauth.c d3des.c gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' depending in ./vncviewer... make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncviewer' gccmakedep -- -I../include -I. -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DMITSHM -- argsresources.c caps.c colour.c cursor.c desktop.c dialogs.c fullscreen.c listen.c misc.c popup.c rfbproto.c selection.c shm.c sockets.c tunnel.c vncviewer.c gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncviewer' depending in ./vncpasswd... make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncpasswd' gccmakedep -- -I../include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -- vncpasswd.c gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncpasswd' depending in ./vncconnect... make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncconnect' gccmakedep -- -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -- make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/vncconnect' make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make all make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' making all in ./libvncauth... make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' i386-pc-linux-gnu-gcc -O2 -march=athlon-mp -pipe -I. -I../include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -c -o vncauth.o vncauth.c gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" make[2]: *** [vncauth.o] Error 1 make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make: *** [World] Error 2 !!! ERROR: net-misc/tightvnc-1.3_alpha5 failed. !!! Function src_compile, Line 43, Exitcode 2 !!! make World failed !!! If you need support, post the topmost build error, NOT this status message. ...done! >>> emerge (1 of 1) net-misc/tightvnc-1.3_alpha5 to / >>> md5 files ;-) tightvnc-1.2.8.ebuild >>> md5 files ;-) tightvnc-1.2.9-r1.ebuild >>> md5 files ;-) tightvnc-1.3_alpha5.ebuild >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) files/digest-tightvnc-1.2.8 >>> md5 files ;-) files/tightvnc-1.2.9-gentoo.diff >>> md5 files ;-) files/x86.patch >>> md5 files ;-) files/tightvnc-1.2.9-imake-tmpdir.patch >>> md5 files ;-) files/tightvnc-gentoo.diff >>> md5 files ;-) files/tightvnc-1.2.8-gentoo.security.patch >>> md5 files ;-) files/digest-tightvnc-1.3_alpha5 >>> md5 files ;-) files/tightvnc-1.3_alpha5-gcc34.patch >>> md5 files ;-) files/tightvnc-1.2.7-gentoo.diff >>> md5 files ;-) files/tightvnc-1.2.9-gentoo.security.patch >>> md5 files ;-) files/tightvnc-4.0_linux-headers.patch >>> md5 files ;-) files/tightvnc_cvs20031113.patch.bz2 >>> md5 files ;-) files/tightvnc-1.3_alpha5-gentoo.security.patch >>> md5 files ;-) files/README.JavaViewer >>> md5 files ;-) files/tightvnc-4.0_gcc-3.4.patch >>> md5 files ;-) files/digest-tightvnc-1.2.9-r1 >>> md5 files ;-) files/tightvnc-1.2.8-gentoo.diff >>> md5 files ;-) files/tightvnc-1.3_alpha5-gentoo.diff >>> md5 files ;-) files/tightvnc-1.3_alpha5-imake-tmpdir.patch >>> md5 files ;-) files/4.0/0180_amd64_4.2.99.4-glx-nopic.patch >>> md5 files ;-) files/4.0/0160_all_4.2.99.4-IncludeSharedObjectInNormalLib.patch >>> md5 files ;-) files/4.0/0121_all_4.2.99.3-build-libs-with-pic.patch >>> md5 src_uri ;-) tightvnc-1.3dev5_unixsrc.tar.bz2 Gentoo Base System version 1.6.10 Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.4.20040808-r1, 2.6.11.6-grsec-vs1.9.5 i686) ================================================================= System uname: 2.6.11.6-grsec-vs1.9.5 i686 mobile AMD Athlon(tm) 4 Processor Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 19 2005, 05:26:38)] distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-mp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon-mp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex 3dnowext X aalib alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzlib cairo caps cdr cmov crypt cups curl cx8 dba de directfb divx4linux djbfft doc dts dv dvb dvd dvdread elf emboss encode escreen esd ethereal etwin fbcon fftw flac font-server foomaticdb fortran fpu fpx ftp fxsr gd gdbm gif gnutls gpm graphviz gtk gtk2 hdf5 imagemagick imlib ipv6 java javascript jbig jpeg kerberos krb4 lcms ldap libcaca libclamav libg++ libwww lirc live lzo mad matroska mca mce mikmod mmap mmx mmxext motif mozilla mp3 mpeg mpi msr mtrr mysql mythtv ncurses nls nptl odbc ogg oggvorbis opengl oss pae pam pat pcmcia pcre pdflib perl pge plotutils png pnp posix postgres pse pse36 python qt quicktime readline real rrdtool rtc samba sdl sep serial skey slang sndfile snmp spell sqlite sse ssl streamzap svg svga syscall sysfs sysvipc tcpd tetex tga theora threads tiff truetype truetype-fonts tsc type1-fonts unicode v4l v4l2 vim vme vorbis wmf xanim xine xml xml2 xmlrpc xmms xpm xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY emerge tightvnc > log messed up a bit the streams, but everything is there :)
What does: $ equery b /usr/bin/i386-pc-linux-gnu-gcc or: $ epm -qf /usr/bin/i386-pc-linux-gnu-gcc return (going to assume nothing)? epm you can get btw by 'emerge epm', and I think equery is part of gentoolkit. If it does not belong to a package, you should be able to safely do: # rm /usr/bin/i386-pc-linux-gnu-* I assume its part of the original stage1 compiler ... I guess we should double check that gcc-config removes wrappers on switch if old profile is invalid?
root@pluton:/home/dhp# equery b /usr/bin/i386-pc-linux-gnu-gcc [ Searching for file(s) /usr/bin/i386-pc-linux-gnu-gcc in *... ] root@pluton:/home/dhp# # epm -qf /usr/bin/i386-pc-linux-gnu-gcc file /usr/bin/i386-pc-linux-gnu-gcc is not owned by any package root@pluton:/home/dhp# about: rm /usr/bin/i386-pc-linux-gnu-* I tried that also, and then emerge vnc says: i386[...] no such file or directory ... what made me think, for this reason and many other, that this package has no ./configure, and that i386-pc-linux-gnu-gcc is hardcoded in the Makefile ... I am not experienced enough yet to read the ebuild, grab the source, patch manually, and check that make is run without any ./configure. But thats still my guess. Re-read the logs of emerge, and you ll see that there is nothing mentioning any traditional ./configure, like I am used to for most other packages. hmmm, lets do it the clean way :D root@pluton:~# mkdir u386 root@pluton:~# mv /usr/bin/i386-pc-linux-gnu-* u386/ emerge tightvnc => make all make[1]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' making all in ./libvncauth... make[2]: Entering directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' i386-pc-linux-gnu-gcc -O2 -march=athlon-mp -pipe -I. -I../include -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -c -o vncauth.o vncauth.c i386-pc-linux-gnu-gcc: No such file or directory make[2]: *** [vncauth.o] Error 1 make[2]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/Gentoo/var_tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make: *** [World] Error 2 see what I mean now ?
Ok, well those i386 ones should not be present. Reassigning to tightvnc guys, as they should check that the correct gcc is called.
I get the error during bootstrapping and I am actually not able to install a new system of 2005.1 I have tried out several livecds, and also in make.conf I used once ~x86 and once x86. Nothing helped. Since I am not really experienced with it, I don't know how to fix. At the console I get from calling i386-pc-linux-gnu-gcc: # i386-pc-linux-gnu-gcc gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" Any solution?
Here's the error in emerge -e system: >>> emerge (30 of 91) dev-python/python-fchksum-1.7.1 to / >>> md5 files ;-) python-fchksum-1.7.1.ebuild >>> md5 files ;-) python-fchksum-1.6.1-r1.ebuild >>> md5 files ;-) files/digest-python-fchksum-1.6.1-r1 >>> md5 files ;-) files/digest-python-fchksum-1.7.1 >>> md5 src_uri ;-) python-fchksum-1.7.1.tar.gz >>> Unpacking source... >>> Unpacking python-fchksum-1.7.1.tar.gz to /var/tmp/portage/python-fchksum-1.7.1/work >>> Source unpacked. ['setup.py', 'build'] running build running build_ext building 'fchksum' extension creating build creating build/temp.linux-i686-2.3 i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=athlon-xp -pipe -fomit-frame-pointer -m3dnow -msse -mmmx -fPIC -I/usr/include/python2.3 -c md5.c -o build/temp.linux-i686-2.3/md5.o unable to execute i386-pc-linux-gnu-gcc: No such file or directory error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1 !!! ERROR: dev-python/python-fchksum-1.7.1 failed. !!! Function src_compile, Line 20, Exitcode 1 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
O.K. - in this case an emerge python does fix the problem. So everyone else getting this problem while installing the system should do emerge python before emerge -e system (In reply to comment #5) > Here's the error in emerge -e system: > > >>> emerge (30 of 91) dev-python/python-fchksum-1.7.1 to / > >>> md5 files ;-) python-fchksum-1.7.1.ebuild > >>> md5 files ;-) python-fchksum-1.6.1-r1.ebuild > >>> md5 files ;-) files/digest-python-fchksum-1.6.1-r1 > >>> md5 files ;-) files/digest-python-fchksum-1.7.1 > >>> md5 src_uri ;-) python-fchksum-1.7.1.tar.gz > >>> Unpacking source... > >>> Unpacking python-fchksum-1.7.1.tar.gz to > /var/tmp/portage/python-fchksum-1.7.1/work > >>> Source unpacked. > ['setup.py', 'build'] > running build > running build_ext > building 'fchksum' extension > creating build > creating build/temp.linux-i686-2.3 > i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 > -march=athlon-xp -pipe -fomit-frame-pointer -m3dnow -msse -mmmx -fPIC > -I/usr/include/python2.3 -c md5.c -o build/temp.linux-i686-2.3/md5.o > unable to execute i386-pc-linux-gnu-gcc: No such file or directory > error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1 > > !!! ERROR: dev-python/python-fchksum-1.7.1 failed. > !!! Function src_compile, Line 20, Exitcode 1 > !!! (no error message) > !!! If you need support, post the topmost build error, NOT this status message. >
same here, after doing a stage3 2005.1 setup: phish bin # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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.5 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="-Os -march=i686 -pipe" 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="-Os -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks noinfo sfperms" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo" PKGDIR="/mnt/cdrom" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X alsa apm avi berkdb bitmap-fonts cdr cdrom crypt cups curl dvd eds emboss encode esd foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg libg++ libwww mikmod motif mozilla mp3 mpeg ncurses network nls nptl nptlonly ntfs ogg oggvorbis opengl pam pdflib perl png ppds quicktime readline samba sdl spell ssl svg tcpd tiff truetype truetype-fonts type1-fonts utf8 vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
I'm getting this bug too, and I'd call this bug a BLOCKER as I can't install/use Gentoo because of it :( I'd post my system info, but I can't compile a web browser in Gentoo. It's a Stage3 2005.1 install, and at emerging 'groff' and 'gnome-vfs' trigger the bug on my system. This has been reported for various packages by various people without any change at all...anything else the people can contribute to speed up the resolution of this bug? I see 2 likely duplicates as well (102406, 96829). Has anyone tried going back to a 2005.0 stage then changing to the 2005.1 profile after syncing portage? This may be my next approach...
I've had this bug too (gconf and groff). There's a remarkably simple fix - simply find your current compiler, and symlink it to 'i386-pc-linux-gnu-gcc'. This will stop any silly errors resulting from searching for a hard-linked compiler that doesn't exist. Have fun.
relinking gcc/i386-pc-linux-gnu-gcc does not work for me. please explain this solution a bit more?
Yeah, the linking doesn't work for me either. Please do not use this method unless the author of the method explains him/herself.
I got that bug too, and found solution: 1) Stage 1 seems to use bundled Python 2.3 compiled for i386 2) During 'emerge -e system' Gentoo installs new Python and instantly starts to use it during emerge. Bad thing (tm). Solution: Do this as it should be done: /usr/sbin/python-updater emerge portage Worked like a charm. HTH, Pawel Kraszewski
still no worky for me. running python-updater and 'emerge portage' works, but emerging groff and similar still bombs with the same error. does anyone know/have a bonafied fix for this problem? anyone know of any fixes upstream or within ~arch that can rectify this? thank you.
I now CAN emerge tight VNC ... but I dont know since when that has come to avaibility. you can have a look at my emerge log: http://www.doublehp.org/emerge.log and http://www.doublehp.org/bash_history remember that I am still in cross install via chroot under Debian (yes, since 1 month now :p ) still, Gentoo is designed to be installable via chroot :) (hope there is no clear password around ^^ ) not sure this will help any one, but at the moment, I have other topics more important that Gentoo bugs.
guess python-updater did the trick for me
I have also tried "python-updater" and "emerge portage" and that was not the problem. My gcc-config is the very latest and works correctly, reporting i686-xxx for paths and executables. I've also tried to symlink the i386-pc-linux-gnu-gcc to the correct i686-pc-linux-gnu-gcc, but that doesn't work because it confuses gcc-config. When the link is executed, its says: 'gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"' even though the link is clearly in the path, in /usr/bin. The problem seems to me that the configure script hard codes the i386-pc-linux-gnu-gcc somewhere. Can someone just fix the script? Thanks to everyone that is contributing.
I am installing from Universal 2005.1, this is the second gotcha I have hit in running emerge -nq -u -D world since my post-install reboot Thanks to reading these posts, I tried emerge python /usr/sbin/python-updater emerge -nq -u -D world which has now succesfully gotten past sys-apps/file-4.13 It seems like another sequencing error, but what do I know... My other bug# was 119949 icyi Jd
whatever triggers this bug it certainly is not a tightvnc bug.D ue to most commenters still seeing it on their systems in general, reassigning to toolchain@g.o changing title due to the lack of relation between this bug and tighvnc
it isnt a toolchain bug something on your system has hardcoded the value "i386-pc-linux-gnu" you should figure out what that something is and fix it
try: grep i386-pc-linux-gnu-gcc / -r see which files contain the hardcoded path and fix those
hello? anyone home? if not, we could just close this
As jobless guy, yes I am home, enjoying rest and peace with familly and so ... As reporter, I can close it, but by october 2005, it was solved for me when other people could still trugger it later ... around january 2006. Joseph can you give feed back ? if you can still reproduce it, please try to take time to solve it by the way ... especially since it seems not to be tightvnc specific, you may then accidently solve other bugs :P try to read compleet logs of compile stage, using PORT_LOGDIR=/var/log/portage in /etc/make.conf , creating that directory, and reading yourself the log. I know its borring long ... and then using grep on / to track who the hell seems to hardcode the compiler nam ... may be a caller script that forces make CC=foobar or maybe even a .configure ... who knows ... I cont reproduce ATM, and close if nobody can within 60 days.
I had the same error yesterday when tryng to emerge sys-apps/portage-2.1_pre7 If helps anyone, I have CHOST=i386-pc-linux-gnu when I install gentoo and recently changed to i586-pc-linux-gnu, so there was some packages hardcoded with previous CHOST. I finally solved the problem by reemerging python and also binutils because they were not in the /usr/i586.... directory only in the /usr/i386... I also find in /usr/bin some hardcoded binaries with i386-pc-linux-gnu-gcc and I've reemerged them
sounds like the most common pebkac, yes i really do not see how this is in any way valid i'll close it, just because it is usually caused by user mistakes for which i don't have a fix
the fix I would suggest would be to make ebuilds not call i386-pc-linux-gnu-gcc when CHOST=i586-pc-linux-gnu how hard would that detection be at portage or ebuild level ?
Hello, These days I installed Gentoo Release 2006.0 on my x86 system. I also had trouble with "cannot run/locate i386-pc-linux-gnu-gcc". While writing two bug reports I noticed this bug report. Searching for errors on my side I noticed I had accidentally merged /etc/make.conf with CHOST=i386-pc-linux-gnu with /etc/make.conf.example with CHOST=i686-pc-linux-gnu into one file containing both CHOST definitions. Having done some emerge processing with this config, I had problems emerging python-related stuff like PyOpenGL-2.0.0.44 and gimp also failed to compile. After correcting /etc/make.conf I rebooted (was it neccessary?) and re-emerged python-2.4 and ran python-updater, as mentioned in Comment #17, and it was enough to continue emerging earlier failing packages. I decided to leave out the "emerge -nq -u -D world" until I run into problems again or change a USE-setting, having a slow system. I think the bug can be closed, but I think the first reporter should do so.
Werner, you are not CC, but still I answer you here. source /etc/profile should be enough not to need to reboot or logout. I think *resolved* status is fine for this, since it means no more feedback or change to ebuild is expected; closing would bo too vague, since "RESOLVED INVALID" really states that some how bug should not have been open ... in a perfect world where people (including me) would read all docs before using products.