kotlin2 in Debian -- 2025W36 update

Julien Plissonneau Duquène <[email protected]> Sun, 07 Sep 2025 21:41:33 +0200
Newsgroups gmane.linux.debian.devel.java
Message-ID <[email protected]>
Good evening,

My latest side quest was to update libjaxen-java [1] which now needs a 
sponsor [2] to upload it to unstable. There is a 2.0.0 release available 
upstream but it brings some breaking changes (removals) so I settled on 
1.2.0 for now which "only" deprecates a few APIs. So far no additional 
issues were encountered while rebuilding its reverse dependencies, but 
only 414 out of 996 are already done. The whole rebuild is expected to 
run for about two days on my system (my sbuild configurations could 
definitely benefit from some tuning). I should really take some time to 
learn how to use Debusine.

Le 2025-09-01 21:27, Julien Plissonneau Duquène a écrit :
> hacking the Bazel build to enable local IDE features

In the 2023 version of intellij-community-idea I'm packaging the Bazel 
build scripts aren't there yet, as they were added in 2024. It's still 
plain old IDEA project files, and as the old kotlin compiler is not 
supported by the IDE anyway it's probably not worth the trouble to mess 
with them.

For kotlin we need at the very least the util, util-jdom (new, actually 
a fork of jdom2), jps-model and jps-model-impl (formerly model-api and 
model-impl) libraries to be packaged; the other libraries are only used 
for tests so they are not critical. I would like to find a way to merge 
the JetBrains changes into the jdom2 package but that will be for 
(probably much) later. I will try to drop some APIs from util that 
depend on aalto-xml which is not currently packaged.

Next I will pick the work of Vladimir and try to get a newer 
kotlinx-coroutines to build with the old gradle/kotlin, as it's needed 
to build the platform libs. I will also have to spend some time on the 
homework sent by my Application Manager ;)

Cheers,


[1]: https://salsa.debian.org/java-team/libjaxen-java/-/merge_requests/3
[2]: https://mentors.debian.net/package/libjaxen-java/