Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 156305

Summary: dev-java/commons-collections-3.1 doesn't compile without java 1.4.x
Product: Gentoo Linux Reporter: Christophe PEREZ <chris>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christophe PEREZ 2006-11-26 07:36:53 UTC
I'm trying to upgrade tomcat to 5.5.20-r2.
I only have installed :
dev-java/sun-jdk-1.5.0.08
virtual/jdk-1.5.0
virtual/jre-1.5.0
So, I don't want/need (?) java 1.4.x.
I use USE flag java5 for tomcat, and commons-collections doesn't compile :
 * Using Generation-1 System VM: blackdown-jdk-1.4.2
>>> Unpacking source...
>>> Unpacking commons-collections-3.1-src.tar.gz to /home/portage/tmp/portage/commons-collections-3.1/work
tar: A lone zero block at 9646
>>> Source unpacked.
>>> Compiling source in /home/portage/tmp/portage/commons-collections-3.1/work/commons-collections-3.1 ...
Error: JAVA_HOME is not defined correctly.
  We cannot execute /opt/blackdown-jdk-1.4.2.03/bin/java

Do I really need jdk-1.4 or is it a little bug in dependencies ?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-26 07:39:59 UTC
Try w/ 3.2 please.