I'm doing a new installation of Gentoo 1.4-r4 with the 3 stages live cd. I chose stage 2 to start from, and when I do an emerge -u system, I get the following error when building gcc 3.2.3-r1 All other genattrtab stuff ... make[2]: *** [s-attrtab] Error 139 make[2]: Leaving directory '/var/tmp/portage/gcc-3.2.3-r1/work/build/gcc make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory '/var/tmp/portage/gcc-3.2.3-r1/work/build/gcc make: *** [bootstrap-lean] Error 2 !!! Error: sys-devel gcc-3.2.3-r1 failed !!! Function src_compile, Line 361, Exitcode 2 Reproducible: Always Steps to Reproduce: 1. Insert the LiveCD 2. Follow instruction guide 3. Have problem Actual Results: I already included it above Expected Results: Compile and merge??? I have an athlon tbird system with 512 Megs of pc-2700 Kingston memory. I have an ATI radeon 9100 graphics card, and I have an ABIT KT-333 motherboard.
I get the same error doing an emerge -u world to update my existing box. My CPU is also an AMD, Athlon XP 1800+ w/ VIA KT333 Chipset, Radeon 9000. Here is the total of what I get after it tries to compile: collect2: ld returned 1 exit status make[2]: *** [f771] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r1/work/build/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r1/work/build/gcc' make: *** [bootstrap-lean] Error 2 !!! ERROR: sys-devel/gcc-3.2.3-r1 failed. !!! Function src_compile, Line 361, Exitcode 2 !!! (no error message) I have tried with new sources from two mirrors: http://mirror.ag.iastate.edu/ http://gentoo.oregonstate.edu/ The following is from emerge --info: Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) XP 1800+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts avi crypt cups encode foomaticdb gif gpm imlib java kde gnome libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl pdflib quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline tcpd pam ssl perl python -X -gtk -jpeg -png -tiff -qt" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://mirror.ag.iastate.edu/gentoo-portage" FEATURES="sandbox ccache"
If this is an issue which can be resolved quickly, then please let me know. Otherwise I need to reinstall redhat 9.0. This is my home machine, and I need to use it. I can't wait for an answer forever.
Since I wrote in last, I have tried merging everything else that I can. I got glibc to merge, but I had to merge the latest ebuild. I can't remember which build that was, because I'm not at my home computer. gcc still wouldn't compile. It always exits at line 361 with exitcode 2 even though it seems to segfault at different points in the compilation. I tried merging a newer ebuild of gcc, but none of those work as well. I have thought about editing the .ebuild file and stopping the propolice patch from being applied. What does this do anyway? I think I can get my system up using the gcc 3.2.2, it may just take some work. If I'm not able to install gentoo from the live CD then this is a serious problem. GCC is not something to be reckoned with.
I have noticed that /var/tmp/portage/gcc-3.2.3-r1 has been sucking a lot of drive space. I am getting a no space left on device error when I try to emerge it. How much space do we need to emerge this? The tarball is only 20 megs. When expanded it is less than 200 megs. error message from emerge: __________________________ ranlib .libs/libgcj.a ranlib: .libs/libgcj.a: No space left on device make[3]: *** [libgcj.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r1/work/build/i686-pc-linux-gnu/libjava' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r1/work/build/i686-pc-linux-gnu/libjava' make[1]: *** [all-target-libjava] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r1/work/build' make: *** [bootstrap-lean] Error 2 !!! ERROR: sys-devel/gcc-3.2.3-r1 failed. !!! Function src_compile, Line 361, Exitcode 2 !!! (no error message) ______________________ it looks like most of the space has been taken up by ./work and ./work/build result of du -h /var/tmp/portage/gcc-3.2.1-r1: _____________________ 249M /var/tmp/portage/gcc-3.2.3-r1/work/build 417M /var/tmp/portage/gcc-3.2.3-r1/work 24K /var/tmp/portage/gcc-3.2.3-r1/build-info 417M /var/tmp/portage/gcc-3.2.3-r1 ____________________ http://bugs.gentoo.org/show_bug.cgi?id=22651 reports similar conditons, but on a different line number than we have been having. I hope this does not mean that some of us will have to rebuild w/ a larger system partiton or squeeze every last ounze of drive space out of our system partition.
Hi. I have the "line 361" problem too, but I don't think no disk space causes. Try "watch df -h" before emerge.
I watched my drive as it compiled. I had about 310 megs available after downloading the gziped files. During the emerge the free space slowly filled up and hovered at 0 for a while until until I got the line 361 problem. My drive was totally full. I removed the temp files for gcc in /var/temp/portage/ and changed my PORTAGE_TMPDIR in make.conf to another (larger) partition. The emerge then worked just fine with out error.
discspace issue