emerging kmatplot tries to install octave 2.0.17-r2, which in turn requires g++ 2.95 to build (incidentally, neither gcc 2.95.3 r7 nor r8 build for me) Reproducible: Always Steps to Reproduce:
can you paste some of your errors building gcc-2.95.3-r8 please?
<shrug> sure. I didn't report this because I didn't have time to investigate, and I found it rather suspicious that I should be the only one to hit a particular bug with building gcc, several months after the package went live. Errors are exactly the same with r7. stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC -O2 -g -pipe -I. -I.. -I/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/java -I/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/java/.. -I/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/java/../config -I/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/java/../../include /var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/java/jcf-io.c stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -DIN_GCC -O2 -g -pipe -o ../gcjh gjavah.o jcf-io.o \ jcf-depend.o jcf-path.o zextract.o ../../libiberty/libiberty.a jcf-io.o: file not recognized: File truncated collect2: ld returned 1 exit status make[3]: *** [../gcjh] Error 1 make[3]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc/java' make[2]: *** [gcjh] Error 2 make[2]: *** Waiting for unfinished jobs.... stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -DIN_GCC -O2 -g -pipe -o ../jcf-dump jcf-dump.o jcf-io.o \ jcf-depend.o jcf-path.o zextract.o ../../libiberty/libiberty.a make[3]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc/java' make[2]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc' make[1]: *** [bootstrap-lean] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc' make: *** [bootstrap-lean] Error 2 !!! ERROR: sys-devel/gcc-2.95.3-r8 failed. !!! Function src_compile, Line 191, Exitcode 2 !!! (no error message)
can you get a binary package for gcc-2.95 and try compiling with that? I think that as GCC gets stricter and stricter in later versions it might get hard to compile older cruftier code, like that of GCC-2.X.
please paste #emerge info
Parallel building seems to be it. Changing MAKEOPTS="-j5" to MAKEOPTS="" fixes the problem. -------------------------------- System uname: 2.6.0-test11 i686 AMD Athlon(TM)Processor Gentoo Base System version 1.4.3.8p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -g -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -g -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs buildpkg ccache digest distcc keeptemp keepwork nostrip" GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://gentoo.linux.no/pub/gentoo/ http://gentoo.linux.no/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 apm foomaticdb libg++ mad mikmod nls berkdb bonobo tcltk sdl python gtk motif 3dnow aalib alsa apache2 arts avi cdr crypt cups debug dvd encode esd ethereal fbcon gdbm gif gnome gpm gtk2 gtkhtml imlib java jpeg kde ldap libwww matrox mbox mozilla mozsvg mpeg ncurses oggvorbis opengl oss pam pda pdflib perl pic png qt quicktime readline -slang snmp spell ssl -svga tcpd tetex tiff truetype vim-with-x X xinerama xml2 xmms xv zlib"
just a stupid question: is your /var/tmp disk running full? truncated object files are most often a sign of lack of space. thanks, Alex
octave-2.1.x is working over here re-open if it doesnt work for you