* Package: dev-java/gin-2.1.2 * Repository: gentoo * Maintainer: gienah@gentoo.org java@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using: openjdk-bin-17 >>> Unpacking source... >>> Unpacking google-gin-2.1.2.zip to /var/tmp/portage/dev-java/gin-2.1.2/work >>> Source unpacked in /var/tmp/portage/dev-java/gin-2.1.2/work >>> Preparing source in /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b ... * Removing unneeded file trunk/lib/aopalliance.jar * QA Notice: eend called without preceding ebegin (phase: prepare) [ ok ] * Removing unneeded file trunk/lib/javax.inject.jar * QA Notice: eend called without preceding ebegin (phase: prepare) [ ok ] * Removing unneeded file lib/aopalliance.jar * QA Notice: eend called without preceding ebegin (phase: prepare) [ ok ] * Removing unneeded file lib/javax.inject.jar * QA Notice: eend called without preceding ebegin (phase: prepare) [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b ... Rewriting attributes Rewriting ./trunk/samples/simple/build.xml Rewriting ./trunk/samples/HigherLower/build.xml Rewriting ./trunk/build.xml Rewriting ./samples/simple/build.xml Rewriting ./samples/HigherLower/build.xml Rewriting ./build.xml >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b ... * Disabling all optional ANT_TASKS 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. Buildfile: /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/build.xml compile.production: [mkdir] Created dir: /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/out/production [javac] Compiling 121 source files to /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/out/production [javac] Note: /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/src/com/google/gwt/inject/rebind/GinBridgeClassLoader.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [copy] Copying 1 file to /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/out/production [copy] Copying 51 files to /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/out/production compile.tests.client: [mkdir] Created dir: /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/out/test [javac] Compiling 169 source files to /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/out/test [copy] Copying 7 files to /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/out/test [copy] Copying 169 files to /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/out/test compile.tests.rebind: [javac] Compiling 39 source files to /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/out/test [javac] /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/test/com/google/gwt/inject/rebind/reflect/ReflectUtilTest.java:345: error: types CharSequence and Map are incompatible; [javac] private > T combinedTypeVariableMethod() { [javac] ^ [javac] class INT#1 inherits abstract and default for isEmpty() from types CharSequence and Map [javac] where K,V are type-variables: [javac] K extends Object declared in interface Map [javac] V extends Object declared in interface Map [javac] where INT#1 is an intersection type: [javac] INT#1 extends Object,CharSequence,Map [javac] /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/test/com/google/gwt/inject/rebind/reflect/ReflectUtilTest.java:355: error: types CharSequence and Map are incompatible; [javac] private T parametrizedMethod(V param) { return null; } [javac] ^ [javac] class INT#1 inherits abstract and default for isEmpty() from types CharSequence and Map [javac] where K,V are type-variables: [javac] K extends Object declared in interface Map [javac] V extends Object declared in interface Map [javac] where INT#1 is an intersection type: [javac] INT#1 extends Object,CharSequence,Map [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 2 errors BUILD FAILED /var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b/build.xml:160: Compile failed; see the compiler error output for details. Total time: 14 seconds * ERROR: dev-java/gin-2.1.2::gentoo failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3070: Called java-pkg-2_src_compile * environment, line 1448: Called eant 'compile' '-f' 'build.xml' * environment, line 616: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of `emerge --info '=dev-java/gin-2.1.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/gin-2.1.2::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=openjdk-bin-17 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-17.0.3_p7" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="javac" and of course, the output of emerge --info =gin-2.1.2 * The complete build log is located at '/var/log/portage/dev-java:gin-2.1.2:20220617-215945.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/gin-2.1.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/gin-2.1.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b' * S: '/var/tmp/portage/dev-java/gin-2.1.2/work/google-gin-d62089f5b6ea33d842ab4646b51583c65a8be36b'