sys-devel/gettext is one of the few packages that still depend on Java 8. It seems very likely that it is not ready for >11 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012105 and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982526). Nevertheless there is some progress upstream. A patch is available. Reproducible: Always Expected Results: gettext builds/ runs with current LTS Java
(In reply to onkobu from comment #0) > [...] > Expected Results: > gettext builds/ runs with current LTS Java Compilation should not be the problem, at least for the split-off: https://github.com/gentoo/gentoo/pull/26163
Created attachment 864722 [details, diff] java 17 patch
from debian packages
I think 0.22 might actually work already and I just didn't update the ebuild..
(In reply to Sam James from comment #4) > I think 0.22 might actually work already and I just didn't update the > ebuild.. but why do we have to keep an old version of java that already sucks even when it's the latest
(In reply to Andrea Postiglione from comment #5) > (In reply to Sam James from comment #4) > > I think 0.22 might actually work already and I just didn't update the > > ebuild.. > > but why do we have to keep an old version of java that already sucks even > when it's the latest Sorry, to be clear, that was me noting "hm, I just need to take a look at this, gettext-0.22 might be ok once I fix it."
(In reply to Sam James from comment #6) I've been running this patch[1] for some time now without issue (specifically w/ i2p). Also, the relevant upstream bug[2] has been closed as fixed. Should be ready to just merge it. 1: https://github.com/gentoo/gentoo/pull/34854 2: https://savannah.gnu.org/bugs/index.php?63385
(In reply to Andrea Postiglione from comment #2) > Created attachment 864722 [details, diff] [details, diff] > java 17 patch Is it possible to replace "1.7" from the patch with "$(java-pkg_get-source)" and $(java-pkg_get-target) ? And using ">=virtual/jdk-1.8:*" and ">=virtual/jre-1.8:*" in the ebuild? Would it work with openjdk:21?
Sorry, I'd missed that 0.22 included it.