The package azureus-2.5.0.4-r1 gets an out of memory error when compiling with ibm-jdk-bin-1.5.0.5a. This is a similar problem as discussed in: http://bugs.gentoo.org/show_bug.cgi?id=145338 Only, my platform is ppc (Kuro Box with ppc 603e), and therefore the conditionals in the ebuild file do not export an ANT_OPTS value. I did: export ANT_OPTS="-Xmx192m" In the shell before emerging, and then the compile worked fine. Lower values may work, too--this was the only value I tried. This statement should be in the ebuild file. See Additional Information. Reproducible: Always From azureus-2.5.0.4-r1.ebuild: src_compile() { # we started to force ecj because -Xmx seemed to have no effect but that # was because of ANT_OPTS not exported. Bug #145338 use x86 && export ANT_OPTS="-Xmx128m" use amd64 && export ANT_OPTS="-Xmx256m" eant ${ant_extra_opts} jar } Suggested code: src_compile() { # we started to force ecj because -Xmx seemed to have no effect but that # was because of ANT_OPTS not exported. Bug #145338 use x86 && export ANT_OPTS="-Xmx128m" use amd64 && export ANT_OPTS="-Xmx256m" use ppc && export ANT_OPTS="-Xmx192m" eant ${ant_extra_opts} jar }
Ok, ebuild has been modified. Thanks for the suggestion and testing. Sorry you experienced an oom :) Closing bug.