Every time I try to compile sun-j2sdk-r2.ebuild I got the same error message that I'm attaching to this bug report. I'm using Portage 2.0.44 (default-x86-1.4, gcc-3.2, glibc-2.3.1-r2) on an Athlon XP 1800+, 256MB RAM.
Created attachment 5710 [details] The error message I got
Well it looks like blackdown segfaulted. Could you also post the error log files, you should find them in your /root/ dir named hs_err_pi???.log You don't have much RAM so that could cause problems, I've seen it make gcc crash. As a work around you could try the compile with the sun jdk instead. Just emerge sun-jdk and set it as the default jdk using java-config and retry. There is not much I can do, could you post the hs_err_pi???.log file? Also check your blackdown installation.
Created attachment 5727 [details] That's the only log file I found
Stefan, I've tried your suggestion and got this error attached.
Created attachment 5756 [details] I guess it's the same error :-(
I have had another report of this failing for someone who only has 198 MB. Like gcc with -O3, I think this ebuild will fail without significant amounts of memory. Try setting the MAKEOPTS setting to "" (nothing) to stop the parallel build. (rather than the -j2 in make.globals ) This would use up less RAM thus it may compile correctly.
I'm always trying without parallel building because of the memory stuff. I'm thinking about removing the tmpfs file system that cache 128MB of my main memory. I'll report any changes after that.
No news ;-( I've tried without any tmpfs mounted and get no succeful results :-((( Any new ideas?
Nope, I have no new ideas now, I will have to let this bug fester ..
Hi there, Your Java compiler bug is a great mistory to me, for most people it works fine. But in this case it doesn't. Many people have complained of errors in the ebuild but most of them were caused by other factors. One example is GSECURITY being enabled. As I cannot replicate the compile errors and the errors seem unique to you I will not try and fix it any more. Marking bug as WORKSFORME (and everyone else bar 3 people). I am very sorry but there is nothing I can do, Stefan