| 24 May 2024 |
Infinidoge 🏳️⚧️ | There is already a lot of maintenance burden for OpenJDK in Nixpkgs, and merging a bootstrap that won't be maintained makes it dead on arrival and worsens the existing problem | 17:04:32 |
Infinidoge 🏳️⚧️ | My second JDK PR rips out the existing broken bootstrap, as an example | 17:05:11 |
bendlas | I mean .. by default I will, but I am hoping that there's more than just poor old me interested in that ... | 17:05:11 |
bendlas | also: the nature of the bootstrap is that it should be very low-maintenance, since the historical versions don't change any more. the only thing I had to patch so far, was a buffer overrun in jamvm, that was detected due to more recent gcc | 17:06:23 |
Infinidoge 🏳️⚧️ | As long as it is easy to keep adding new versions to the bootstrap chain, then it should be fine. I can say with some certainty that I don't have the in-depth JDK knowledge (or time) to maintain it from the root though. | 17:07:52 |
Infinidoge 🏳️⚧️ | I'm not quite sure what a full bootstrap chain would really be used for, but it doesn't hurt at least. | 17:08:20 |
bendlas | everything after jdk 7 won't change, java is already bootstrapping from each's previous version | 17:08:36 |
Infinidoge 🏳️⚧️ | The existing bootstrap chain needs to either be fixed or replaced | 17:09:12 |
bendlas | In reply to @infinidoge:inx.moe I'm not quite sure what a full bootstrap chain would really be used for, but it doesn't hurt at least. it's mainly about minimizing your trust base of binary downloads. I think there was a nixcon talk about doing the same thing to gcc | 17:09:17 |
Infinidoge 🏳️⚧️ | My recent PR rips it out entirely because it was broken, JDK 13/14 wouldn't build at all | 17:09:35 |
Infinidoge 🏳️⚧️ | (And it wasn't complete anyways, it started at 11) | 17:09:52 |
bendlas | In reply to @infinidoge:inx.moe My recent PR rips it out entirely because it was broken, JDK 13/14 wouldn't build at all what was the failure? | 17:10:41 |
bendlas | In reply to @infinidoge:inx.moe (And it wasn't complete anyways, it started at 11) or 8 respectively | 17:10:49 |
Infinidoge 🏳️⚧️ | In reply to@bendlas:matrix.org or 8 respectively I'm not sure what you mean by this because it... just doesn't(?) | 17:13:59 |
Infinidoge 🏳️⚧️ | GAH, CINNY | 17:14:06 |
Infinidoge 🏳️⚧️ | LET ME PASTE IMAGES | 17:14:11 |
Infinidoge 🏳️⚧️ | Hold on | 17:14:13 |
Infinidoge 🏳️⚧️ |  Download image.png | 17:14:50 |
Infinidoge 🏳️⚧️ | This entire chain was ripped out because it was broken at 13/14, and I was ripping out AdoptOpenJDK anyways | 17:15:15 |
Infinidoge 🏳️⚧️ | I forget the exact failure, could try and recompile to check, but I know that it was a compile failure that I believe would need patching to fix, so I didn't pursue it | 17:16:36 |
bendlas | OK, i must have misread then. | 17:18:06 |
bendlas | I've never been interested in adoptopenjdk. | 17:18:22 |
Infinidoge 🏳️⚧️ | Good, it's a dead project that I'm trying hard to remove from Nixpkgs lol | 17:18:43 |
bendlas | has been dead / mainly a marketing campaign from the start IMO | 17:19:22 |
Infinidoge 🏳️⚧️ | It provided binaries, so it served a purpose, it's just long been replaced by Temurin.
The main issue is that Temurin doesn't provide those older binary releases to maintain the bootstrap chain as it is | 17:20:13 |
bendlas | Anyway, I'll check back once I get to a bootstrapped icedtea2 / jdk8, and as I said, happy to accept help ... | 17:20:16 |
Infinidoge 🏳️⚧️ | I think a bootstrap chain can definitely work, it'll just need to be a replacement for the existing broken one that doesn't rely on the existing binaries | 17:21:04 |
bendlas | In reply to @infinidoge:inx.moe It provided binaries, so it served a purpose, it's just long been replaced by Temurin. The main issue is that Temurin doesn't provide those older binary releases to maintain the bootstrap chain as it is interesting, I wasn't aware of temurin so far. | 17:21:06 |
bendlas | In reply to @infinidoge:inx.moe I think a bootstrap chain can definitely work, it'll just need to be a replacement for the existing broken one that doesn't rely on the existing binaries that's the whole idea. It's kind of hilarious, the contortion necessary to bootstrap pre jdk7, but at least it can be done. | 17:22:04 |
Infinidoge 🏳️⚧️ | In reply to@bendlas:matrix.org interesting, I wasn't aware of temurin so far. Temurin provides the binaries used to build all modern OpenJDK from source in Nixpkgs
It's definitely the go-to place for Java on Windows | 17:22:33 |