Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162650 - dev-java/fastutil-5.0.5 fails to emerge
Summary: dev-java/fastutil-5.0.5 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-18 12:40 UTC by Vladimir G. Ivanovic
Modified: 2007-01-18 13:29 UTC (History)
0 users

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


Attachments
emerge log file (build.log,417.82 KB, text/plain)
2007-01-18 12:41 UTC, Vladimir G. Ivanovic
Details
emerge --info (emerge.info,12.42 KB, text/plain)
2007-01-18 12:41 UTC, Vladimir G. Ivanovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir G. Ivanovic 2007-01-18 12:40:12 UTC
...
compile:
    [javac] Since compiler setting isn't classic or modern,ignoring fork setting.
    [javac] Compiling 1324 source files to /var/tmp/portage/dev-java/fastutil-5.0.5/work/fastutil-5.0.5/build
    [javac] Since compiler setting isn't classic or modern,ignoring fork setting.

BUILD FAILED
/var/tmp/portage/dev-java/fastutil-5.0.5/work/fastutil-5.0.5/build.xml:16: java.lang.reflect.InvocationTargetException

Total time: 54 seconds

!!! ERROR: dev-java/fastutil-5.0.5 failed.
Call stack:
  ebuild.sh, line 1618:   Called dyn_compile
  ebuild.sh, line 975:   Called qa_call 'src_compile'
  environment, line 4421:   Called src_compile
  fastutil-5.0.5.ebuild, line 22:   Called java-pkg-2_src_compile
  java-pkg-2.eclass, line 80:   Called eant 'jar' 'javadoc' '-f' 'build.xml'
  java-utils-2.eclass, line 1418:   Called die

!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-java/fastutil-5.0.5/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="ecj-3.2"
and of course, the output of emerge --info
Comment 1 Vladimir G. Ivanovic 2007-01-18 12:41:05 UTC
Created attachment 107359 [details]
emerge log file
Comment 2 Vladimir G. Ivanovic 2007-01-18 12:41:46 UTC
Created attachment 107361 [details]
emerge --info
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-01-18 13:29:08 UTC
Build.xml was setting memoryMaximumSize=512m for <javac> which only works with fork=true, which only works with javac :) So when using ecj, fork was ignored and it resulted in outofmemory in ecj causing the InvocationTargetException.
Fixed by raising the memory for whole ant using ANT_OPTS. Thanks for reporting.
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-01-18 13:29:23 UTC
Fixed in CVS.