>>> Emerging (4 of 36) dev-java/concurrent-util-1.3.4-r1::gentoo * gentoo-concurrent-util-1.3.4.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] /usr/portage/eclass/java-utils-2.eclass: line 294: USE: readonly variable /usr/portage/eclass/java-utils-2.eclass: line 294: USE: readonly variable /usr/portage/eclass/java-utils-2.eclass: line 294: USE: readonly variable * Using: oracle-jdk-bin-1.8 >>> Unpacking source... >>> Unpacking gentoo-concurrent-util-1.3.4.tar.bz2 to /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work >>> Source unpacked in /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work >>> Compiling source in /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4 ... /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/temp/environment: line 464: USE: readonly variable /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/temp/environment: line 464: USE: readonly variable Rewriting attributes Rewriting ./build.xml * Disabling all optional ANT_TASKS Buildfile: /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build.xml init: [mkdir] Created dir: /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build [mkdir] Created dir: /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build/classes [mkdir] Created dir: /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build/demo [mkdir] Created dir: /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build/javadoc [mkdir] Created dir: /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build/lib compile: [javac] Compiling 92 source files to /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build/classes [javac] /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/src/java/EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap.java:678: error: remove(Object,Object) in ConcurrentHashMap cannot implement remove(Object,Object) in Map [javac] protected Object remove(Object key, Object value) { [javac] ^ [javac] attempting to assign weaker access privileges; was public [javac] 1 error BUILD FAILED /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build.xml:25: Compile failed; see the compiler error output for details. Total time: 7 seconds * ERROR: dev-java/concurrent-util-1.3.4-r1::gentoo failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3875: Called java-pkg-2_src_compile * environment, line 1801: Called eant 'jar' '-f' 'build.xml' * environment, line 584: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of `emerge --info '=dev-java/concurrent-util-1.3.4-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/concurrent-util-1.3.4-r1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=oracle-jdk-bin-1.8 CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.45" JAVACFLAGS="-source 1.2 -target 1.2" COMPILER="javac" and of course, the output of emerge --info =concurrent-util-1.3.4 * The complete build log is located at '/var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4' * S: '/var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4'
This a known issue. There's an ongoing effort to remove this package from the tree as it is upsetting the JDK 1.8. Thanks for the heads up though. *** This bug has been marked as a duplicate of bug 544038 ***