Summary: | emerge of java packages fails with java.lang.OutOfMemoryError on amd64 with blackdown-jdk-1.4.2.03 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | S. Pickerodt <pickerodt> |
Component: | [OLD] Development | Assignee: | Java team <java> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
S. Pickerodt
2006-10-05 10:22:31 UTC
Can you try the following? a) BOOTJAVAC_OPTS="-J-Xmx256m" ANT_OPTS="-Xmx256m" emerge ant-core b) emerge =sun-jdk-1.5* JAVA_PKG_FORCE_VM="sun-jdk-1.5" emerge ant-core (In reply to comment #1) a) Results in the same error as reported above. b) Resolves the problem! The compiler issues a few warnings similar to the following: src/main/org/apache/tools/zip/ZipEntry.java:425: warning: non-varargs call of varargs method with inexact argument type for last parameter; But otherwise everything goes well! Many thanks for the quick reply!!! The same problem occours with ant-tasks-1.6.5-r2 - same solution. Should I file a seperate bug report? (In reply to comment #2) > The same problem occours with ant-tasks-1.6.5-r2 - same solution. > Should I file a seperate bug report? No, looks like a general problem with blackdown, but dunno why you get it with every package and some only with azureus etc, and why didn't the solution a) help. In any case, you can workaround by editing /etc/java-config-2/build/jdk.conf and uncommenting the line "#*=sun-jdk". This will ensure building with sun-jdk whenever possible. Either is is a ant-1.6 bug or a blackdown one, eitherway WONTFIX oR CANTFIX. |