Hi, Please correct me if I'm wrong, but I think there's been some kind of a mess when cleaning up the tree. On an "older" Gentoo server I have www-servers/tomcat-9.0.7 and virtual/{jdk,jre}- 1.8.0-r4. Now I'm in the process of installing a new Gentoo machine, and portage tries to install tomcat 8 because the latest tomcat 9 in the tree requires a JDK that's still masked. Maybe the jdk/jre should have been stabilized before removing the older tomcat 9 versions?
that was the original intention, but many months passed and no stabilization of jre/jdk 11 is on the way. tomcat 9.0.7 is old and vulnerable so i removed it, though it was the only stable in 9 slot, but for the reasons i wrote. you can still use tomcat 9 if you want (i do on my servers), but you have to install jdk 11 and unmask gentoo-vm use flag on it.
tomcat:9 now uses jdk:1.8 for compilation but there is still the need for jdk:11 due to eclipse-ecj:4.13 (though i changed eclipse-ecj to use source/target 1.8, it still needs jdk:11 to compile)
Is there any chance we can get the latest 9 at least in the unstable tree that doesn't require jre/jdk:11 and accepts 1.8?
tomcat:9 itself does not require jdk:11 as of now. the problem is ecj (which tomcat depends on) does, ecj does not compile with jdk:1.8.
i think what might work is creating binary ecj ebuild on another system where jdk:11 is umasked and then installing the binary package on the target system and emerging tomcat:9.
May be we should just stabilize java 11 and completely remove java 8 because ones is closing to EOL
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f6fb7a3d67d44d8c8e914c3a38beedf558e1172 commit 0f6fb7a3d67d44d8c8e914c3a38beedf558e1172 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2022-01-13 09:22:19 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2022-01-13 09:22:32 +0000 profiles/package.mask: removed mask on www-servers/tomcat and related Closes: https://bugs.gentoo.org/710266 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> profiles/package.mask | 7 ------- 1 file changed, 7 deletions(-)