Your message dated Sat, 25 Jan 2025 07:52:28 +0000
with message-id <e1tbaxw-003whr...@fasolo.debian.org>
and subject line Bug#1057513: fixed in kotlin 1.3.31+ds1-2
has caused the Debian Bug report #1057513,
regarding kotlin: FTBFS with default Java 21
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1057513: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057513
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: kotlin
Version: 1.3.31+ds1-1build5
Severity: important
Tags: ftbfs
User: debian-j...@lists.debian.org
Usertags: default-java21
Dear Maintainers,
The package kotlin ftbfs with default Java 21.
The relevant part of the build log:
---------------
All input files are considered out-of-date for incremental task
':buildSrc:compileKotlin'.
file or directory '/<<PKGBUILDDIR>>/buildSrc/src/main/java', not found
file or directory '/<<PKGBUILDDIR>>/buildSrc/src/main/java', not found
Using Kotlin/JVM incremental compilation
exception: java.lang.IllegalStateException: Could not load module definition
from: VirtualFile:
/usr/lib/jvm/java-21-openjdk-amd64!/modules/java.base/module-info.class. The
file might be broken by incorrect post-processing via bytecode tools. Please
remove this file from the classpath.
at
org.jetbrains.kotlin.resolve.jvm.modules.JavaModuleInfo$Companion.read(JavaModuleInfo.kt:85)
at
org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.findSystemModule(CliJavaModuleFinder.kt:44)
at
org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder.access$findSystemModule(CliJavaModuleFinder.kt:25)
at
org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:37)
at
org.jetbrains.kotlin.cli.jvm.modules.CliJavaModuleFinder$systemModules$1.invoke(CliJavaModuleFinder.kt:25)
at
kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:172)
at
kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:132)
at
kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:156)
at
kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:278)
at
kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:265)
at kotlin.sequences.SequencesKt___SequencesKt.none(_Sequences.kt:1298)
at
org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.addModularRoots(ClasspathRootsResolver.kt:226)
at
org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.computeRoots(ClasspathRootsResolver.kt:123)
at
org.jetbrains.kotlin.cli.jvm.compiler.ClasspathRootsResolver.convertClasspathRoots(ClasspathRootsResolver.kt:79)
at
org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:228)
at
org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:122)
at
org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:409)
at
org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createCoreEnvironment(K2JVMCompiler.kt:258)
at
org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:123)
at
org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:53)
at
org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:84)
at
org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:42)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:103)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:81)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:49)
at
org.jetbrains.kotlin.cli.common.CLITool$Companion.doMainNoExit(CLITool.kt:214)
at
org.jetbrains.kotlin.cli.common.CLITool$Companion.doMain(CLITool.kt:206)
at
org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion.main(K2JVMCompiler.kt:300)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.main(K2JVMCompiler.kt)
Caused by: java.lang.IllegalArgumentException: Unsupported class file major
version 65
at
org.jetbrains.org.objectweb.asm.ClassReader.<init>(ClassReader.java:199)
at
org.jetbrains.org.objectweb.asm.ClassReader.<init>(ClassReader.java:180)
at
org.jetbrains.org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
at
org.jetbrains.kotlin.resolve.jvm.modules.JavaModuleInfo$Companion.read(JavaModuleInfo.kt:68)
... 28 more
:buildSrc:compileKotlin FAILED
:compileKotlin (Thread[#29,Daemon worker,5,main]) completed. Took 2.855 secs.
FAILURE: Build failed with an exception.
---------------
-- System Information:
Debian Release: trixie/sid
APT prefers mantic-updates
APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500, 'mantic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-13-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- End Message ---
--- Begin Message ---
Source: kotlin
Source-Version: 1.3.31+ds1-2
Done: Julien Plissonneau Duquène <sre4e...@free.fr>
We believe that the bug you reported is fixed in the latest version of
kotlin, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1057...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Julien Plissonneau Duquène <sre4e...@free.fr> (supplier of updated kotlin
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 18 Jan 2025 09:40:56 +0000
Source: kotlin
Architecture: source
Version: 1.3.31+ds1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers
<pkg-java-maintain...@lists.alioth.debian.org>
Changed-By: Julien Plissonneau Duquène <sre4e...@free.fr>
Closes: 1057513
Changes:
kotlin (1.3.31+ds1-2) unstable; urgency=medium
.
* Team upload.
.
[ Vladimir Petko ]
* Resolve Java 21 FTBFS (Closes: #1057513):
- d/p/073-abstractlist.patch: add missing methods to the API due to
the update to source level 8.
- d/p/074-kapt3.patch: cherry-pick upstream patch to resolve Java 21
ftbfs due to the jdk.compiler changes.
- d/control: require updated libasm-java and libintellij-* packages
to support Java 21.
.
[ Julien Plissonneau Duquène ]
* Promote Standards-Version to 4.7.0 with no changes.
* Resolve another FTBFS issue: work around the embedded version of
intellij-core throwing a NPE while resolving the MethodNode class by
patching the compiler JARs with the current version; also temporarily
rebuild using Java 11 to work around the embedded ASM not being able to
parse Java 21 classes.
Checksums-Sha1:
90ee4ca49fa08317fd4dfe2b63153c6351027fd8 3058 kotlin_1.3.31+ds1-2.dsc
abdc04a4b84636299208d19d38a6882aa42bd021 118584
kotlin_1.3.31+ds1-2.debian.tar.xz
cc6464c899c223a463c54178fc2e4fc20905faa6 20117
kotlin_1.3.31+ds1-2_amd64.buildinfo
Checksums-Sha256:
5ae293fc1b042740d343206a5707851098959184ab24749379a11afb21304540 3058
kotlin_1.3.31+ds1-2.dsc
aadb3f0ec0b899d1b977fa8e80527373538bbfdba4b3ce4bc6b5f05e199391e5 118584
kotlin_1.3.31+ds1-2.debian.tar.xz
219d878e959bed399cb481ce6ad4e108d0f8a895a6c32646cf2cf40c865e26ca 20117
kotlin_1.3.31+ds1-2_amd64.buildinfo
Files:
a536a22a799e196d01df2bddf89549d7 3058 java optional kotlin_1.3.31+ds1-2.dsc
ddbd8b1d787e3dad3ea8b7888d11fc10 118584 java optional
kotlin_1.3.31+ds1-2.debian.tar.xz
143b3d257fb02022feed1fe69b84d3a9 20117 java optional
kotlin_1.3.31+ds1-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmeUk7YUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpbPGQ/+JP6dQhuEcFMYGN6PRCqKDQGVDpiG
SioofpW9NeQUwQY1a0/J71J2q/SZ8g3O6v6zcRL9YVSfH5pQR8M5bZzpwKdMy4Di
A6inpSETbYDxujXcGWsJ3C804XW/p++Zksxu6avHvtMMcS8ZQ2basSF46/Cj0fEG
7SLaK8grY39b6bZ3rhVoUk19u+jrK6+Ui6h4zsajfunOKyAGwaHaTlivfOu7y5h/
wR4KpMSrZ86eXPkuefcMDLP2N/GayxeD25QCHpb/2EgzEosXZl6VAJVAexRLYNhS
B5IPnSAwwGIk3hzdLyGIhIoyEeiq3bQolEIgapTcFidYabTNQEgdQDORqLZpG7xM
QRAE2RRKwDgVOiam5opZFkc+42dTGRlGqJ2rOHO/k95VNPcXutXLpgyvIgoDlgks
YWLwxa1wZ7/DvHR9s/4DGaNr7I31cDxUdRL8hQsbTXX9OoIAnNgNHOc67Ym4yEi3
8oHpLjzs1eYs0w4fROh7WekcCUm3rxiBb18L7VqV3LB1WtcOc1wdLiLCMHiK7OCZ
Okt7mSAZnu1EZ4J0Lf2WXbw64KYtznZKK6Y6Ed/vWeKAc7LTazrJudPUd7wB/XKh
/rUmQG0x9UkPmymLIuh8/8kFdVXwVlsfvS1zRDK/Wuy9/r1s3zbvoqoBrjyBFvQD
dyE3r8zCpdwkyQQ=
=KWyz
-----END PGP SIGNATURE-----
pgpCch4UaEEO_.pgp
Description: PGP signature
--- End Message ---