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

Bug 190708

Summary: [java-overlay] hibernate-annotations is attempting to use other packages without declaring them in the ebuild
Product: Gentoo Linux Reporter: James Bancroft <jim.bancroft>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: alex_y_xu
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 191017    
Bug Blocks:    
Attachments: Added some packages to DEPEND and RDEPEND that were previously unspecified.

Description James Bancroft 2007-08-29 22:42:59 UTC
In the java-overlay, when I try to emerge spring, which depends on hibernate-annotations, I get the following error message:

 * The ebuild is attempting to use asm-2 that is not declared in DEPEND.
 * Because you have this package installed the package will
 * build without problems, but please report this to
 * http://bugs.gentoo.org
 * The ebuild is attempting to use asm-2, without specifying --build-only, that is not declared in RDEPEND or PDEPEND.
 * The package will build without problems, but may fail to run
 * if you don't have asm-2 installed, so please report
 * this to http://bugs.gentoo.org
 * The ebuild is attempting to use c3p0 that is not declared in DEPEND.
 * Because you have this package installed the package will
 * build without problems, but please report this to
 * http://bugs.gentoo.org
 * The ebuild is attempting to use c3p0, without specifying --build-only, that is not declared in RDEPEND or PDEPEND.
 * The package will build without problems, but may fail to run
 * if you don't have c3p0 installed, so please report
 * this to http://bugs.gentoo.org
 * The ebuild is attempting to use commons-collections that is not declared in DEPEND.
 * Because you have this package installed the package will
 * build without problems, but please report this to
 * http://bugs.gentoo.org
 * The ebuild is attempting to use commons-collections, without specifying --build-only, that is not declared in RDEPEND or PDEPEND.
 * The package will build without problems, but may fail to run
 * if you don't have commons-collections installed, so please report
 * this to http://bugs.gentoo.org
 * The ebuild is attempting to use commons-logging that is not declared in DEPEND.
 * Because you have this package installed the package will
 * build without problems, but please report this to
 * http://bugs.gentoo.org
 * The ebuild is attempting to use commons-logging, without specifying --build-only, that is not declared in RDEPEND or PDEPEND.
 * The package will build without problems, but may fail to run
 * if you don't have commons-logging installed, so please report
 * this to http://bugs.gentoo.org
 * The ebuild is attempting to use dom4j-1 that is not declared in DEPEND.
 * Because you have this package installed the package will
 * build without problems, but please report this to
 * http://bugs.gentoo.org
 * The ebuild is attempting to use dom4j-1, without specifying --build-only, that is not declared in RDEPEND or PDEPEND.
 * The package will build without problems, but may fail to run
 * if you don't have dom4j-1 installed, so please report
 * this to http://bugs.gentoo.org
 * The ebuild is attempting to use ehcache that is not declared in DEPEND.
 * Because you have this package installed the package will
 * build without problems, but please report this to
 * http://bugs.gentoo.org
 * The ebuild is attempting to use ehcache, without specifying --build-only, that is not declared in RDEPEND or PDEPEND.
 * The package will build without problems, but may fail to run
 * if you don't have ehcache installed, so please report
 * this to http://bugs.gentoo.org
 * The ebuild is attempting to use jaxen-1.1 that is not declared in DEPEND.
 * Because you have this package installed the package will
 * build without problems, but please report this to
 * http://bugs.gentoo.org
 * The ebuild is attempting to use jaxen-1.1, without specifying --build-only, that is not declared in RDEPEND or PDEPEND.
 * The package will build without problems, but may fail to run
 * if you don't have jaxen-1.1 installed, so please report
 * this to http://bugs.gentoo.org
!!! ERROR: Package jdbc2-stdext was not found!


Reproducible: Always

Steps to Reproduce:
Comment 1 James Bancroft 2007-09-06 00:18:17 UTC
Created attachment 130127 [details, diff]
Added some packages to DEPEND and RDEPEND that were previously unspecified.

I think this patch should fix many of the error messages asking for packages to be specified in DEPEND/RDEPEND.  I haven't done the jboss dependencies though, because they're in the java-experimental overlay (see bug #191017)
Comment 2 Alex Xu (Hello71) 2015-06-11 00:36:56 UTC
fixed in hibernate-annotations-3.2.0