kotlin2 in Debian -- 2025W13 update

Julien Plissonneau Duquène <[email protected]> Fri, 28 Mar 2025 19:55:26 +0100
Newsgroups gmane.linux.debian.devel.java
Message-ID <[email protected]>
Good evening,

As goes the saying, a journey of a thousand miles begins with a single 
step.

Le 2025-03-21 18:58, Julien Plissonneau Duquène a écrit :
> Expect to see a few new branches including `kotlin2-wip` on my fork of 
> the package repository fairly soon.

I was hoping to be done sooner with this but then some COVID replica hit 
me which did no good to my productivity. So far the branch is pushed but 
there aren't any WIP docs yet as I'm not done yet writing a first draft. 
However the Kotlin sources were carefully sieved to reintroduce 
/testData/ contents while removing more unwanted objects including 
(almost) all pre-built binaries and copies of curl, sqlite, jquery and 
yarn. There is still copied code from several other projects but at 
least some of it was modified by Kotlin contributors, so I will 
eventually get back to these later to find out if they are to be 
considered forked or could be factored out of the project.

A not too pleasant surprise was to discover that the upstream project 
decided to use LFS to store a few JPEG images used in the documentation 
(which is way overkill). Fortunately this is supported by Salsa and 
uscan, but it slows down significantly some remote operations. These 
images only appeared in 2.1.0 so the 2.0.21 branch should not be 
impacted.

I also fixed JDK17+ compatibility issues and the remaining CVE on Kotlin 
1.3.31 on a MR which is now pending review (reviewer(s) welcome!) and 
eventually upload.

Next week I'm now going to start combing through the dependencies of 
Kotlin 2.0.21.

Cheers,