Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10804 - sun-j2sdk-r2 don't compile at all
Summary: sun-j2sdk-r2 don't compile at all
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-15 19:15 UTC by Ingo -LaSombra- Hoffmann
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The error message I got (javabug,4.94 KB, application/octet-stream)
2002-11-15 19:15 UTC, Ingo -LaSombra- Hoffmann
Details
That's the only log file I found (hs_err_pid4563.log,3.94 KB, text/x-log)
2002-11-16 11:55 UTC, Ingo -LaSombra- Hoffmann
Details
I guess it's the same error :-( (javabug2,4.64 KB, text/plain)
2002-11-17 19:50 UTC, Ingo -LaSombra- Hoffmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo -LaSombra- Hoffmann 2002-11-15 19:15:04 UTC
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.
Comment 1 Ingo -LaSombra- Hoffmann 2002-11-15 19:15:48 UTC
Created attachment 5710 [details]
The error message I got
Comment 2 Stefan Jones (RETIRED) gentoo-dev 2002-11-16 04:03:42 UTC
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.
Comment 3 Ingo -LaSombra- Hoffmann 2002-11-16 11:55:20 UTC
Created attachment 5727 [details]
That's the only log file I found
Comment 4 Ingo -LaSombra- Hoffmann 2002-11-17 19:49:27 UTC
Stefan, 
 
I've tried your suggestion and got this error attached. 
Comment 5 Ingo -LaSombra- Hoffmann 2002-11-17 19:50:19 UTC
Created attachment 5756 [details]
I guess it's the same error :-(
Comment 6 Stefan Jones (RETIRED) gentoo-dev 2002-11-18 11:27:39 UTC
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.
Comment 7 Ingo -LaSombra- Hoffmann 2002-11-18 17:36:46 UTC
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.
Comment 8 Ingo -LaSombra- Hoffmann 2002-11-21 18:20:07 UTC
No news ;-(
I've tried without any tmpfs mounted and get no succeful results :-(((
Any new ideas?
Comment 9 Stefan Jones (RETIRED) gentoo-dev 2002-11-22 01:44:58 UTC
Nope, I have no new ideas now, I will have to let this bug fester ..
Comment 10 Stefan Jones (RETIRED) gentoo-dev 2002-12-11 16:05:57 UTC
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