Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336690 - net-p2p/vuze-4.5.0.4 fails to compile on amd64 with icedtea because of low javac memory limits
Summary: net-p2p/vuze-4.5.0.4 fails to compile on amd64 with icedtea because of low ja...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-10 05:46 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2010-09-10 15:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2010-09-10 05:46:30 UTC
vuze-4.5.0.4 fails to compile on all of my amd64 systems with icedtea-6.1.9; it appears that the 256 MB memory limit specified in the ebuild is too low:

# emerge vuze
[...]
>>> Compiling source in /var/tmp/portage/net-p2p/vuze-4.5.0.4/work/vuze-4.5.0.4 ...
 * Disabling all optional ANT_TASKS
Buildfile: /var/tmp/portage/net-p2p/vuze-4.5.0.4/work/vuze-4.5.0.4/build.xml

init:
     [echo] Building Azureus2.jar...
    [mkdir] Created dir: /var/tmp/portage/net-p2p/vuze-4.5.0.4/work/vuze-4.5.0.4/dist

compile:
    [javac] Compiling 2874 source files to /var/tmp/portage/net-p2p/vuze-4.5.0.4/work/vuze-4.5.0.4
    [javac] 
    [javac] 

BUILD FAILED
/var/tmp/portage/net-p2p/vuze-4.5.0.4/work/vuze-4.5.0.4/build.xml:20: Error starting modern compiler

Total time: 37 seconds
 * ERROR: net-p2p/vuze-4.5.0.4 failed:
 *   eant failed

Letting javac use 320 MB (by changing mem="256" to mem="320" on line 88 of the vuze-4.5.0.4 ebuild) allows vuze to compile and install successfully.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-09-10 15:29:29 UTC
OK changed to 320 MB on amd64, thanks for reporting and testing.