On 2024-04-03 00:20 +0200, Sebastian Ramacher wrote: > building openjdk-21 is currently still stuck on openjdk-21 > build-depending on itself: > > https://buildd.debian.org/status/package.php?p=openjdk-21 > > > Somebody did the work to provide boostrap builds of openjdk-17 on armel > and armhf. We need the same for openjdk-21.
Yes. I had a look at this. I was hoping to use the openjdk-17 to allow building of openjdk-21. But it doesn't 'just work', because: checking for version string... 21.0.3-ea+7-Debian-1 configure: Found potential Boot JDK using configure arguments configure: Potential Boot JDK found at /usr/lib/jvm/java-17-openjdk-armhf is incorrect JDK version (openjdk version "17.0.11-ea" 2024-04-16 OpenJDK Runtime Environment (build 17.0.11-ea+7-Debian-1) OpenJDK Server VM (build 17.0.11-ea+7-Debian-1, mixed mode, sharing)); ignoring configure: (Your Boot JDK version must be one of: 20 21) configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK Now what I'm not sure is whether openjdk-21 _actually_ needs openjdk 20 (or 21), or if it just needs 'java', and has been set to '20 or 21' for reasons of being able to drop -17 in due course. Nor where these things are configured. If it _does_ need -20, then can I build -20 with -17 or -19 with -17 and so on? The advantage of going straight to -21 is that it's not in the archive already and 'just' needs a binary build. and also -21 has had its build-deps modified for t64 dependencies. -20 and -19 haven't been -20 needs -19 (and jtreg7 but one can use -Pnocheck) -19 needs -18 (and jtreg6 but one can use -Pnocheck) So right now I'm not sure what the easiest path is. Can I actually just build -21 with -17 if I can persuade the build system, or will something important break with that much version-skew? can I build -19 with -17 (and appropriate t64 dep updates) (-18 is no longer in the archive so I really hope we don't need to go 18,19,20,21 Clues welcome on the best approach. Wookey -- Principal hats: Debian, Wookware, ARM http://wookware.org/
signature.asc
Description: PGP signature