It seems that the java-ant-2 eclass searching for javatoolkit files under system libdir
local rewriter3="${EPREFIX}/usr/$(get_libdir)/javatoolkit/bin/xml-rewrite-3.py" local rewriter4="${EPREFIX}/usr/$(get_libdir)/javatoolkit/bin/build-xml-rewrite"
That in amd64 system means /usr/lib64 but javatoolkit install files under /lib.
This break the compilation of plantuml too and probably all packages that use ant
/var/tmp/portage/media-gfx/plantuml-8046/temp/environment: line 1694: /usr/lib64/javatoolkit/bin/xml-rewrite-3.py: No such file or directory * ERROR: media-gfx/plantuml-8046::media-kit failed (configure phase): * xml-rewrite-3 failed: ./build.xml * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 3958: Called java-ant-2_src_configure * environment, line 1600: Called java-ant_bsfix * environment, line 1618: Called java-ant_bsfix_files './build.xml' * environment, line 1694: Called die * The specific snippet of code: * ${rewriter3} "${files[@]}" -c --source-element ${JAVA_PKG_BSFIX_SOURCE_TAGS// / --source-element } --source-attribute source --source-value ${want_source} --target-element ${JAVA_PKG_BSFIX_TARGET_TAGS// / --target-element } --target-attribute target --target-value ${want_target} --target-attribute nowarn --target-value yes "${bsfix_extra_args[@]}" || die "xml-rewrite-3 failed: ${file}"; * * If you need support, post the output of `emerge --info '=media-gfx/plantuml-8046::media-kit'`, * the complete build log and the output of `emerge -pqv '=media-gfx/plantuml-8046::media-kit'`. !!! When you file a bug report, please include the following information: GENTOO_VM=openjdk-bin-8 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.272_p10" JAVACFLAGS="-source 1.7 -target 1.7" COMPILER="" and of course, the output of emerge --info =plantuml-8046 * The complete build log is located at '/var/tmp/portage/media-gfx/plantuml-8046/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/plantuml-8046/temp/environment'. * Working directory: '/var/tmp/portage/media-gfx/plantuml-8046/work/plantuml-8046' * S: '/var/tmp/portage/media-gfx/plantuml-8046/work/plantuml-8046'