* Need at least JDK 9 to compile module-info.java in src_compile. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20220507-120005 ------------------------------------------------------------------- The log matches a QA pattern or a pattern requested by a Gentoo developer.
Created attachment 777320 [details] dev-java:woodstox-core-6.2.8:20220507-172938.log
Created attachment 777323 [details] emerge-history.txt
Created attachment 777326 [details] etc.portage.tar.bz2
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b6ac60816f1486d8d581f847cfeed17d4f1d3c4 commit 8b6ac60816f1486d8d581f847cfeed17d4f1d3c4 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-05-09 09:13:18 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2022-05-10 06:33:59 +0000 dev-java/woodstox-core: virtual/jdk-1.8:*" -> -11.* Bug: https://bugs.gentoo.org/843185 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Florian Schmaus <flow@gentoo.org> .../woodstox-core/woodstox-core-6.2.8-r1.ebuild | 102 +++++++++++++++++++++ 1 file changed, 102 insertions(+)
This still does not build because of missing org.codehaus.stax2: >>> Compiling source in /var/tmp/portage/dev-java/woodstox-core-6.2.8-r1/work/woodstox-woodstox-core-6.2.8 ... javac -source 1.8 -target 1.8 -d target/classes -encoding UTF-8 -classpath /usr/share/osgi-core-api/lib/osgi-core-api.jar:/usr/share/msv/lib/msv.jar:/usr/share/relaxng-datatype/lib/relaxng-datatype.jar:/usr/share/stax2-api/lib/stax2-api.jar:/usr/share/xsdlib/lib/xsdlib.jar:/usr/share/xerces-2/lib/xerces.jar:/usr/share/xml-commons-external-1.4/lib/xml-commons-external.jar:/usr/share/xml-commons-resolver/lib/xml-commons-resolver.jar:/usr/share/iso-relax/lib/iso-relax.jar:/usr/share/ant-core/lib/ant.jar:/usr/share/ant-core/lib/ant-bootstrap.jar:/usr/share/ant-core/lib/ant-launcher.jar @sources.lst warning: [options] bootstrap class path not set in conjunction with -source 8 Note: src/main/java/com/ctc/wstx/osgi/WstxBundleActivator.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 warning javac -source 9 -target 9 -d target/classes -encoding UTF-8 --module-path /usr/share/osgi-core-api/lib/osgi-core-api.jar:/usr/share/msv/lib/msv.jar:/usr/share/relaxng-datatype/lib/relaxng-datatype.jar:/usr/share/stax2-api/lib/stax2-api.jar:/usr/share/xsdlib/lib/xsdlib.jar:/usr/share/xerces-2/lib/xerces.jar:/usr/share/xml-commons-external-1.4/lib/xml-commons-external.jar:/usr/share/xml-commons-resolver/lib/xml-commons-resolver.jar:/usr/share/iso-relax/lib/iso-relax.jar:/usr/share/ant-core/lib/ant.jar:/usr/share/ant-core/lib/ant-bootstrap.jar:/usr/share/ant-core/lib/ant-launcher.jar --module-version 6.2.8 src/moditect/module-info.java warning: [options] bootstrap class path not set in conjunction with -source 9 src/moditect/module-info.java:10: error: module not found: org.codehaus.stax2 requires transitive org.codehaus.stax2; ^ 1 error 1 warning * ERROR: dev-java/woodstox-core-6.2.8-r1::gentoo failed (compile phase): * ejavac failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 2347: Called java-pkg-simple_src_compile * environment, line 857: Called ejavac '-d' 'target/classes' '-encoding' 'UTF-8' '--module-path' '/usr/share/osgi-core-api/lib/osgi-core-api.jar:/usr/share/msv/lib/msv.jar:/usr/share/relaxng-datatype/lib/relaxng-datatype.jar:/usr/share/stax2-api/lib/stax2-api.jar:/usr/share/xsdlib/lib/xsdlib.jar:/usr/share/xerces-2/lib/xerces.jar:/usr/share/xml-commons-external-1.4/lib/xml-commons-external.jar:/usr/share/xml-commons-resolver/lib/xml-commons-resolver.jar:/usr/share/iso-relax/lib/iso-relax.jar:/usr/share/ant-core/lib/ant.jar:/usr/share/ant-core/lib/ant-bootstrap.jar:/usr/share/ant-core/lib/ant-launcher.jar' '--module-version' '6.2.8' 'src/moditect/module-info.java' * environment, line 610: Called die * The specific snippet of code: * "${args[@]}" || die "ejavac failed" * * If you need support, post the output of `emerge --info '=dev-java/woodstox-core-6.2.8-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/woodstox-core-6.2.8-r1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=openjdk-bin-11 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-11.0.14_p9" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" and of course, the output of emerge --info =woodstox-core-6.2.8 * The complete build log is located at '/var/tmp/portage/dev-java/woodstox-core-6.2.8-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/woodstox-core-6.2.8-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/woodstox-core-6.2.8-r1/work/woodstox-woodstox-core-6.2.8' * S: '/var/tmp/portage/dev-java/woodstox-core-6.2.8-r1/work/woodstox-woodstox-core-6.2.8'
(In reply to Petr Pisar from comment #5) > This still does not build because of missing org.codehaus.stax2: > [...] With dev-java/stax2-api-4.2.1-r1 it should work.
(In reply to Volkmar W. Pogatzki from comment #6) > (In reply to Petr Pisar from comment #5) > > This still does not build because of missing org.codehaus.stax2: > > [...] > > With dev-java/stax2-api-4.2.1-r1 it should work. It does for me
I confirm that today when dev-java/stax2-api-4.2.1-r1 was stabilized and after updating to it, dev-java/woodstox-core-6.2.8-r1 builds fine.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05dd858693ef933ffddd905daf103629d005b71 commit c05dd858693ef933ffddd905daf103629d005b71 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2022-11-03 08:55:16 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-11-03 18:10:41 +0000 dev-java/woodstox-core: drop 6.2.8-r1 Closes: https://bugs.gentoo.org/843185 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/28120 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-java/woodstox-core/Manifest | 1 - .../woodstox-core/woodstox-core-6.2.8-r1.ebuild | 102 --------------------- 2 files changed, 103 deletions(-)