https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-java/cpptasks-1.0_beta5-r1 installs files with broken symlink. Discovered on: amd64 (internal ref: ci)
CC'ing also the author of the commit (7d14b292281458826b2292aa75a2380cb710cc0d)
Created attachment 762296 [details] build.log build log and emerge --info
Seems to be related to https://bugs.gentoo.org/820869 -- issue with javadoc generation on JDK 11
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5cafff5294e38d8661b1c2468c7479f5aef4229 commit a5cafff5294e38d8661b1c2468c7479f5aef4229 Author: Yuan Liao <liaoyuan@gmail.com> AuthorDate: 2022-01-16 16:54:32 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2022-01-17 09:28:26 +0000 dev-java/cpptasks: Fix Javadoc generation on JDK 11+ The 'javadoc' program shipped in JDK 11+ requires all classes used by the input source files to be present in the classpath passed to it. This has caused numerous other bugs alike, including 780531, 788109, and 820863. Closes: https://bugs.gentoo.org/831294 Signed-off-by: Yuan Liao <liaoyuan@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/23828 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/cpptasks/cpptasks-1.0_beta5-r1.ebuild | 1 + 1 file changed, 1 insertion(+)
For ebuilds that use java-ant-2.eclass, any similar issues can usually be fixed by rewriting the classpath for the "javadoc" tag as well as "javac" tag. This way, the build classpath will be applied to Javadoc generation as well, which should eliminate "package does not exist" errors issued by the 'javadoc' program. --- a/dev-java/cpptasks/cpptasks-1.0_beta5-r1.ebuild +++ b/dev-java/cpptasks/cpptasks-1.0_beta5-r1.ebuild @@ -36,6 +36,7 @@ RDEPEND=" " JAVA_ANT_REWRITE_CLASSPATH="yes" +JAVA_ANT_CLASSPATH_TAGS="javac javadoc" EANT_BUILD_TARGET="jars" EANT_TEST_TARGET="run-tests -Djunit-available=true"