Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480700 - dev-java/maven-bin-3.1.0-r1 should DEPEND on dev-java/commons-logging? - java_prepare(): !!! ERROR: Package commons-logging was not found!
Summary: dev-java/maven-bin-3.1.0-r1 should DEPEND on dev-java/commons-logging? - java...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 481198 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-12 08:23 UTC by Maciej Piechotka
Modified: 2013-08-15 16:54 UTC (History)
4 users (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 Maciej Piechotka 2013-08-12 08:23:46 UTC
!!! ERROR: Package commons-logging was not found!
 * ERROR: dev-java/maven-bin-3.1.0-r1::gentoo failed (prepare phase):
 *   java-config --classpath=avalon-framework-4.1,commons-io-1,commons-logging,juel,osgi-core-api,servlet-api-2.4 failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3907:  Called java-pkg-2_src_prepare
 *   environment, line 1842:  Called java-utils-2_src_prepare
 *   environment, line 3222:  Called java_prepare
 *   environment, line 3236:  Called java-pkg_getjars 'avalon-framework-4.1,commons-io-1,commons-logging,juel,osgi-core-api,servlet-api-2.4'
 *   environment, line 2565:  Called die
 * The specific snippet of code:
 *       [[ $? != 0 ]] && die "java-config --classpath=${pkgs} failed";

It looks like I had dev-java/avalon-logkit installed which fulfilled the requirements of "|| ( dev-java/commons-logging:0 dev-java/log4j:0 dev-java/avalon-logkit:2.0 )" but the the first one was picked by java-config.
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-08-14 15:25:25 UTC
+  14 Aug 2013; Tom Wijsman <TomWij@gentoo.org> maven-bin-3.1.0-r1.ebuild:
+  Move commons-logging under a has_version check just like the other two
+  choices. Fixes bug #480700, reported by spyder on IRC as well as Maciej
+  Piechotka on the bug.
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-08-15 16:54:44 UTC
*** Bug 481198 has been marked as a duplicate of this bug. ***