Summary: | dev-java/batik-1.18-r1:failed (compile phase) with jdk-1.8: class file has wrong version 55.0, should be 52.0 (org/mozilla/javascript/ClassShutter.class) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/40862 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-java:batik-1.18-r1:20250302-200517.log emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt.xz temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 920143 [details]
emerge-info.txt
Created attachment 920144 [details]
dev-java:batik-1.18-r1:20250302-200517.log
Created attachment 920145 [details]
emerge-history.txt.xz
Created attachment 920146 [details]
environment
Created attachment 920147 [details]
etc.clang.tar.xz
Created attachment 920148 [details]
etc.portage.tar.xz
Created attachment 920149 [details]
logs.tar.xz
Created attachment 920150 [details]
qlist-info.txt.xz
Created attachment 920151 [details]
temp.tar.xz
Problem is that I forget testing reverse dependencies with Java 8. Not clear how to proceed. Either commits 68eaf93f54 (dev-java/batik-1.18-r1) and d25f15426a (dev-java/bsf-2.4.0-r6) should be reverted and wait for final removal of Java 8 freom ::gentoo Or, also dev-java/batik and dev-java/bsf should be lifted to jre-11:* libreoffice-9999 already has 'java? ( >=virtual/jre-11 )' and is not affected. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff9c6a8ea06256f8b1cc2d56bd25dab49383e95 commit 5ff9c6a8ea06256f8b1cc2d56bd25dab49383e95 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2025-03-03 10:29:42 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-03 11:09:23 +0000 dev-java/batik: lift dependency to >=virtual/jdk-11:* #950479 Closes: https://bugs.gentoo.org/950479 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Sam James <sam@gentoo.org> dev-java/batik/{batik-1.18-r1.ebuild => batik-1.18-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dc7b3b7af0f9813e562fc810f722a2f06ee1e9e commit 3dc7b3b7af0f9813e562fc810f722a2f06ee1e9e Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2025-03-03 10:33:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-03 11:09:24 +0000 dev-java/bsf: lift dependency to >=virtual/jdk-11:* #950479 Bug: https://bugs.gentoo.org/950479 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/40862 Signed-off-by: Sam James <sam@gentoo.org> dev-java/bsf/{bsf-2.4.0-r6.ebuild => bsf-2.4.0-r7.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8da3bad7e4c149502cb8cda2e472d4c133fbf4 commit dd8da3bad7e4c149502cb8cda2e472d4c133fbf4 Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2025-03-03 08:50:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-03 11:09:23 +0000 dev-java/rhino: sort variables, explain dependency changes in 1.8.0 For rhino-1.8.0, dependencies had to be lifted to >=virtual/jdk-11:* and >=virtual/jre-11:*. Using jre-11:* now produces class file version 55.0 instead of 52.0 which leads to bug #950479 and others. This commit adds comments explaining why the higher java version is needed. Bug: https://bugs.gentoo.org/950479 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Sam James <sam@gentoo.org> dev-java/rhino/rhino-1.8.0.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) |