Errors occur with USE=doc on packages which provide module-info. Most probably this is a regression of https://github.com/gentoo/gentoo/pull/34866. The errors might be solved with https://github.com/gentoo/gentoo/pull/35302 but needs more testing.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=672028056a6bb54d5550aaff1a09d752e772bc8d commit 672028056a6bb54d5550aaff1a09d752e772bc8d Author: Manuel Mommertz <manuel.mommertz@desy.de> AuthorDate: 2024-02-13 07:59:13 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-04-10 08:11:04 +0000 java-pkg-simple.eclass: use --module-path for ejavadoc when applicable Bug: https://bugs.gentoo.org/925691 Signed-off-by: Manuel Mommertz <manuel.mommertz@desy.de> Closes: https://github.com/gentoo/gentoo/pull/35302 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> eclass/java-pkg-simple.eclass | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-)
ejavadoc still fails on module-info in multi-jar ebuilds. For single-jar ebuilds the problem is fixed.