>>> Compiling source in /tmp/portage/dev-java/bcel-6.10.0/work/bcel-6.10.0-src ... javac -source 1.8 -target 1.8 -d target/classes -encoding UTF-8 -classpath /usr/share/commons-lang-3.6/lib/commons-lang.jar @sources.lst Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Error: unknown option: --module-path Usage: jdeps <options> <classes...> use -h, -? or -help for a list of possible options * ERROR: dev-java/bcel-6.10.0::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 2423: Called die * The specific snippet of code: * jdeps --module-path "$(java-pkg_getjars commons-lang-3.6)" --add-modules org.apache.commons.lang --generate-module-info src/main/java --multi-release 9 "${JAVA_JAR_FILENAME}" || die;
Created attachment 902710 [details] emerge --info
Created attachment 902711 [details] build.log
Previous version dev-java/bcel-6.6.0 builds fine here.
needs https://github.com/gentoo/gentoo/pull/38580 dev-java/bcel: 6.10.0-r1 restrict to >=virtual/jdk-11:*
(In reply to Volkmar W. Pogatzki from comment #4) > needs https://github.com/gentoo/gentoo/pull/38580 > dev-java/bcel: 6.10.0-r1 restrict to >=virtual/jdk-11:* Both virtual/jdk-1.8.0-r9 and virtual/jdk-21 are installed on this system, so I fear that updating RDEPEND won't fix the problem.
*** Bug 939537 has been marked as a duplicate of this bug. ***
(In reply to Ulrich Müller from comment #5) > (In reply to Volkmar W. Pogatzki from comment #4) > > needs https://github.com/gentoo/gentoo/pull/38580 > > dev-java/bcel: 6.10.0-r1 restrict to >=virtual/jdk-11:* > > Both virtual/jdk-1.8.0-r9 and virtual/jdk-21 are installed on this system, > so I fear that updating RDEPEND won't fix the problem. it will, as your system picked jdk 1.8 for the compilation and modules were introduced in java 9.
(In reply to Ulrich Müller from comment #5) > (In reply to Volkmar W. Pogatzki from comment #4) > > needs https://github.com/gentoo/gentoo/pull/38580 > > dev-java/bcel: 6.10.0-r1 restrict to >=virtual/jdk-11:* > > Both virtual/jdk-1.8.0-r9 and virtual/jdk-21 are installed on this system, > so I fear that updating RDEPEND won't fix the problem. The Java eclasses parse *DEPEND
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c99d89d43a9c868e3f06cbe6feb7dac70df0f534 commit c99d89d43a9c868e3f06cbe6feb7dac70df0f534 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2024-09-12 14:09:37 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2024-09-14 08:32:06 +0000 dev-java/bcel: 6.10.0-r1 restrict to >=virtual/jdk-11:* Closes: https://bugs.gentoo.org/939525 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/38580/commits/22b91715da18621a70f063a3428d419aa9c0f59e Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/bcel/{bcel-6.10.0.ebuild => bcel-6.10.0-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)