I'm re-installing my system from scratch. But since I'd like to multi-task as long as possible, I'm installing the new Gentoo-system from within my current one (instead of the LiveCD). This shouldn't matter, but it might... I also tried to use distcc while bootstrapping. I have a problem compiling gcc 3.3.5.20050130-r1. these are the steps I took, and the result: * stage 1 * bootstrap * emerge -e system * gcc fails * emerge --resume * gcc fails * rm /usr/portage/distfiles/gcc* * emerge --resume * gcc successful * stage 1 * bootstrap * gcc fails * disable distcc * boostrap successful Reproducible: Sometimes Steps to Reproduce: unknown... It might have something to do with distcc... the error I got the first time, see http://forums.gentoo.org/viewtopic-t-366682.html other failures gave a different error, but at the same file (protector.o) and I was clumsy enough to loose them...
emerge --info missing.
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.11-gentoo-r6-kraxel1-bigbrother-019 i686) ================================================================= System uname: 2.6.11-gentoo-r6-kraxel1-bigbrother-019 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.4-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: [Not Present] virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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/lib/X11/xkb /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="-O2 -march=pentium4 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts cdparanoia cdr crypt cups divx4linux doc dts dv dvb dvd dvdr eds emboss encode ethereal flac foomaticdb gdbm gif gpm gstreamer gtk gtk2 icq imagemagick imap imlib ipv6 jabber java jpeg kde ldap libg++ libwww lm_sensors mad maildir matroskamikmod mmx motif mozilla mp3 mpeg msn nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nocardbus offensive ogg oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline real rrdtool rtc samba sasl sdl spell sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32codecs wmf xinerama xml2 xmms xv xvid yahoo zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Most likely a problem with MAKEOPTS=-j9. Set it lower, -j1 or -j2 should work just fine. We force -j1 when using profiledbootstrap for gcc >=3.4, and we might want to think about doing something similar here.
You're probabely right, since I only got these errors with distcc (and then the higher -j option to make use of those other machines). Should I verify it? since -j1 actualy disables distcc, it brings me to the normal build, which always was succesful.
This is fixed if you use a reasonable MAKEOPTS value.
I suggest that the ebuild should limit the MAKEOPTS itself. There are other ebuilds that disable this, because (they too) they won't compile that way.