Created attachment 762066 [details] build log GENTOO_VM=openjdk-11 CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-11" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" * Generating JavaDoc ... ./javax/xml/xpath/XPathFactoryFinder.java:58: error: as of release 9, '_' is a keyword, and may not be used as an identifier } catch (Exception _) { ^ ./javax/xml/xpath/XPathFactoryFinder.java:122: error: as of release 9, '_' is a keyword, and may not be used as an identifier catch (Throwable _) { ^ ./javax/xml/validation/SchemaFactoryFinder.java:72: error: as of release 9, '_' is a keyword, and may not be used as an identifier } catch (Exception _) { ^ ./javax/xml/validation/SchemaFactoryFinder.java:126: error: as of release 9, '_' is a keyword, and may not be used as an identifier catch (Throwable _) { ^ 4 errors * ERROR: dev-java/xml-commons-external-1.4.01-r2::gentoo failed (compile phase): * ejavadoc failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 2327: Called java-pkg-simple_src_compile * environment, line 824: Called ejavadoc '-d' 'target/api' '-encoding' 'UTF-8' '-docencoding' 'UTF-8' '-charset' 'UTF-8' '-quiet' '@sources.lst' * environment, line 589: Called die * The specific snippet of code: * javadoc ${javadoc_args} "${@}" || die "ejavadoc failed"
Created attachment 762067 [details] emerge --info
it should be enough to fix this issue to rename the var _ to something different, e.g. ex
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f69ad493f113b84fdac42efb7996aa5b599187b4 commit f69ad493f113b84fdac42efb7996aa5b599187b4 Author: Yuan Liao <liaoyuan@gmail.com> AuthorDate: 2022-01-18 18:41:26 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2022-01-19 10:01:19 +0000 dev-java/xml-commons-external: Fix Javadoc on JDK 11+ for 1.4.01-r2 Closes: https://bugs.gentoo.org/831116 Signed-off-by: Yuan Liao <liaoyuan@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/23860 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/xml-commons-external/xml-commons-external-1.4.01-r2.ebuild | 2 ++ 1 file changed, 2 insertions(+)