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

Bug 132268

Summary: dev-java/hibernate-3.0_rc1 missing dep on dev-java/ant-tasks
Product: Gentoo Linux Reporter: Matthew Kennedy (RETIRED) <mkennedy>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matthew Kennedy (RETIRED) gentoo-dev 2006-05-04 09:25:20 UTC
It seems hibernate's build.xml requires the antlr taskdef.  The antlr taskdef is installed with dev-java/ant-tasks, but hibernate is missing that dependency.  emerge hibernate fails unless ant-tasks is emerged:

>>> Unpacking hibernate-3.0rc1.tar.gz to /var/tmp/portage/hibernate-3.0_rc1/work
tar: A lone zero block at 120580
sed: can't read test/org/hibernate/test/CacheTest.java: No such file or directory
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/hibernate-3.0_rc1/work/hibernate-3.0 ...

BUILD FAILED
/var/tmp/portage/hibernate-3.0_rc1/work/hibernate-3.0/build.xml:98: taskdef class org.apache.tools.ant.taskdefs.optional.ANTLR cannot be found

Total time: 0 seconds

!!! ERROR: dev-java/hibernate-3.0_rc1 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  hibernate-3.0_rc1.ebuild, line 155:   Called die
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-05-04 10:30:49 UTC
Should be fixed in CVS. Thanks for reporting.