!!! 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.
+ 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.
*** Bug 481198 has been marked as a duplicate of this bug. ***