* Package: dev-java/ant-contrib-1.0_beta3-r1 * Repository: gentoo * Maintainer: java@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox !!! ERROR: The javac executable was not found in the Java path * Using: oracle-jre-bin-1.8 >>> Unpacking source... >>> Unpacking ant-contrib-1.0b3-src.tar.bz2 to /var/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work >>> Source unpacked in /var/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work >>> Preparing source in /var/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib ... * Applying tests-visibility.patch ... [ ok ] ./lib/xercesImpl/jars/xercesImpl-2.6.2.jar ./lib/oro/jars/oro-2.0.8.jar ./lib/junit/jars/junit-3.8.1.jar ./lib/ivy/jars/ivy-1.3.1.jar ./lib/commons-logging/jars/commons-logging-1.0.4.jar ./lib/commons-httpclient/jars/commons-httpclient-3.0.1.jar ./lib/commons-codec/jars/commons-codec-1.3.jar ./lib/commons-cli/jars/commons-cli-1.0.jar ./lib/bcel/jars/bcel-5.1.jar ./lib/ant/jars/ant-1.6.5.jar >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib ... Rewriting attributes Rewriting ./build.xml >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib ... * Using following ANT_TASKS: ant-ivy * java-pkg_ensure-dep: The ebuild is attempting to use ant-core, which is not declared with a SLOT in [RP]DEPEND and --build-only wasn't given. Warning: Unable to determine tools.jar location. If build fails because sun.* classes could not be found, Make sure you are using a JDK, not JRE as your user/system VM. and that you have java-config version 2.0.30 or above installed. Unable to locate tools.jar. Expected to find it in /opt/oracle-jre-bin-1.8.0.77/lib/tools.jar Buildfile: /var/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib/build.xml init: configure: [ns0:configure] Loading jar:file:/usr/share/ant-ivy/lib/ivy.jar!/fr/jayasoft/ivy/ivy.properties [ns0:configure] :: Ivy local-20160503103906 - 20160503103906 :: http://ivy.jayasoft.org/ :: [ns0:configure] :: configuring :: file = /var/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib/ivy-conf.xml resolve: classpath: compile: [mkdir] Created dir: /var/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib/target/classes BUILD FAILED /var/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib/build.xml:52: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/opt/oracle-jre-bin-1.8.0.77" Total time: 0 seconds * ERROR: dev-java/ant-contrib-1.0_beta3-r1::gentoo failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 133: Called src_compile * environment, line 4006: Called java-pkg-2_src_compile * environment, line 1886: Called eant 'jar' '-f' 'build.xml' '-Dversion=1.0_beta3' '-Ddep.available=true' * environment, line 647: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of `emerge --info '=dev-java/ant-contrib-1.0_beta3-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/ant-contrib-1.0_beta3-r1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=oracle-jre-bin-1.8 CLASSPATH="" JAVA_HOME="/opt/oracle-jre-bin-1.8.0.77" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac" and of course, the output of emerge --info =ant-contrib-1.0_beta3 * The complete build log is located at '/var/log/portage/dev-java:ant-contrib-1.0_beta3-r1:20160503-083929.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib' * S: '/var/tmp/portage/dev-java/ant-contrib-1.0_beta3-r1/work/ant-contrib'