Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517094 - dev-java/lucene fails to build with JAVA_PKG_STRICT
Summary: dev-java/lucene fails to build with JAVA_PKG_STRICT
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
Depends on:
Reported: 2014-07-14 13:34 UTC by Johann Schmitz (ercpe) (RETIRED)
Modified: 2020-05-04 22:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2014-07-14 13:34:21 UTC
ant-ivy is declared in DEPEND as >=dev-java/ant-ivy-2.2.0:2. It seems that the java-pkg_ensure-dep in java-utils-2.eclass does not correctly match the package against DEPEND.

>>> Creating Manifest for /home/johann/development/repos/gentoo-x86/dev-java/lucene
 * lucene-3.6.2-src.tgz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                               [ ok ]
 * Using: oracle-jdk-bin-1.7
>>> Unpacking source...
>>> Unpacking lucene-3.6.2-src.tgz to /var/tmp/portage/dev-java/lucene-3.6.2/work
>>> Source unpacked in /var/tmp/portage/dev-java/lucene-3.6.2/work
>>> Preparing source in /var/tmp/portage/dev-java/lucene-3.6.2/work/lucene-3.6.2 ...
 * The ebuild is attempting to use ant-ivy:2 that is not declared in DEPEND.
 * ERROR: dev-java/lucene-3.6.2::gentoo failed (prepare phase):
 *   The ebuild is attempting to use ant-ivy:2 that is not declared in DEPEND.
 * Call stack:
 *, line   93:  Called src_prepare
 *   environment, line 3934:  Called java-pkg-2_src_prepare
 *   environment, line 1782:  Called java-utils-2_src_prepare
 *   environment, line 3163:  Called java_prepare
 *   environment, line 3179:  Called java-pkg_jar-from '--build-only' '--into' 'lib' 'ant-ivy:2'
 *   environment, line 2746:  Called java-pkg_ensure-dep 'build' 'ant-ivy:2'
 *   environment, line 2231:  Called die
 * The specific snippet of code:
 *               die "${dev_error}";
 * If you need support, post the output of `emerge --info '=dev-java/lucene-3.6.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/lucene-3.6.2::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.7  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info =lucene-3.6.2
 * The complete build log is located at '/var/tmp/portage/dev-java/lucene-3.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/lucene-3.6.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/lucene-3.6.2/work/lucene-3.6.2'
 * S: '/var/tmp/portage/dev-java/lucene-3.6.2/work/lucene-3.6.2'

Reproducible: Always