Good evening,
Le 2024-11-22 18:25, sre4e...@free.fr a écrit :
Next week I will start working on a detailed action plan and PoC for
the rebootstrap, in between build runs and fixups.
Updating and then fixing the builds of various packages (not all of them
direct dependencies of Gradle) kept me busier than expected, and thus
the writing hasn't progressed much, though the reading and the thinking
have. I added a bunch of links to the bottom of wip/README [1] if you
are interested, and commented on a few GitHub issues for some shameless
self-advertising.
The build progressed a bit and now fails on the outdated Groovy; my
current plan is to attempt to patch Gradle to make it build with the
version currently in Debian, and make it work at least enough to be able
to rebuild both Gradle itself and newer versions of Groovy with it.
I also plan to patch Gradle 4.4.1 to make it work with the newer
libkryo-java (that should be rather trivial) and libnative-platform-java
and -jni (easy enough at first sight), to make the transition easier. I
attempted the reverse (patching libraries to implement
retrocompatibility) but that's not possible at least with kryo that
changed return types of methods keeping the same names and argument
types.
I managed to get IDEA to sync the patched project now without errors and
even in offline mode, which should help me with further patching deep
into the internals of the beast, and you now have a shiny new
debian/rules target to help you if you want to try that at home.
Dependencies and reverse dependencies are now detailed in their own
wip/document.md, that was a fairly tedious job for the dependencies but
hopefully worth it, it allowed me to fix a few mistakes and learn a few
things about Kotlin. There are actually much fewer direct dependencies
than I thought initially, and also more of them that are up-to-date than
I thought.
I registered on mentors.debian.net and published packages there [2]
(though I haven't uploaded all of them yet) if you want to try them
without rebuilding, leave a review or, if you dare, upload the new
`kryo` that currently breaks all two of its two reverse dependencies to
experimental ^ ^.
As usual, comments and contributions are welcome.
Cheers,
[1]:
https://salsa.debian.org/jpd/gradle/-/blob/upgrade-to-8.11.1-wip/debian/wip/README.md
[2]: https://mentors.debian.net/packages/uploader/sre4e...@free.fr/
--
Julien Plissonneau Duquène