athlon1800 peter # emerge -Du world Calculating world dependencies ...done! >>> emerge (1 of 85) sys-devel/gcc-config-1.3.8-r3 to / >>> Unpacking source... >>> Source unpacked. i686-pc-linux-gnu-gcc: installation problem, cannot exec `as': No such file or directory !!! ERROR: sys-devel/gcc-config-1.3.8-r3 failed. !!! Function src_compile, Line 26, Exitcode 1 !!! compile wrapper !!! If you need support, post the topmost build error, NOT this status message. 'as' does exists in /usr/i686-pc-linux-gnu/binutils-bin/2.15.92.0.2/ I have tried adding this dir to my path and re-emerging binutils (which worked but had no effect on this problem). I have tried running gcc-config but also with no effect. I don't know how to repair this problem. (tried some other options like env-update and etc-update but there seems nothing woring in etc dir on first sight) It has broken during the last 'world' update, but that included many packages because my system had been off for about 1 month so it could have been caused by one of the many packages that have been updated. Reproducible: Always Steps to Reproduce: 1. emerge <anything> 2. 3. Expected Results: finding 'as' and don't give the compiler error athlon1800 peter # emerge info Portage 2.0.51-r8 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.8-gentoo-r10 i686) ================================================================= System uname: 2.6.8-gentoo-r10 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.6.5 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 17 2004, 23:48:37)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" 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 /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl alsa apm avi berkdb bitmap-fonts cdr crypt cups encode fam flac foomaticdb fortran gdbm gif gtk gtk2 imagemagick imlib ipv6 jpeg kde libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl tcpd tetex tiff truetype xml2 xmms xv zlib"
run `binutils-config 1`
Ok. Now I know why binutils was broken in the first place on my machine. This script had a syntax error (extra square-braket open at line 203) I removed the square braket and rerun the script. Everything seems to work again. Thanx Peter
*** Bug 95981 has been marked as a duplicate of this bug. ***