The symptom is similar to bug 75137, but that is for an Alpha. I a rebuilding my Toshiba Tecra S1 from scratch - repartitioned end empty hard drives - while running from a Knoppix CD. I have chosen to do a stage 1 build using Stage1-x86-2004.3.tar.bz. After the bootstrap completed I did "emerge system", which failed in the ncurses-5.4-r5 build - same messages as in 75137. The "gcc" command appears to be missing in the output: make[1]: Entering directory `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/c++' cd ../obj_s; -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686 -fomit-frame-pointer -fPIC -fPIC -c ../c++/cursesf.cc cd ../obj_s; -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686 -fomit-frame-pointer -fPIC -fPIC -c ../c++/cursesm.cc /bin/sh: line 1: -I../c++: No such file or directory /bin/sh: line 1: -I../c++: No such file or directory make[1]: *** [../obj_s/cursesf.o] Error 127 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [../obj_s/cursesm.o] Error 127 make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r5/work/ncurses-5.4/c++' make: *** [all] Error 2 Some discussion on the forum lead me to removing the lines containing "unicode" from the ebuild files in the /var/tmp/portage directory, and this resolved the problem. The rest of the build was successful. My make.conf at the time was: CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" I have since added "USE="-unicode", but I don't know if that has made any difference. Reproducible: Always Steps to Reproduce: 1. Wipe system 2. Follow instructions at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml Actual Results: emerge fails
arch doesnt matter you probably forgot to bootstrap *** This bug has been marked as a duplicate of 75137 ***