Bug#1078380: gradle-kotlin-dsl: FTBFS: make[1]: *** [debian/rules:10: override_dh_auto_build] Error 2

Lucas Nussbaum lucas at debian.org
Sat Aug 10 07:04:24 BST 2024


Source: gradle-kotlin-dsl
Version: 0.13.2-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240809 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # gradle-kotlin-dsl-tooling-models
> kotlinc \
>     -module-name gradle-kotlin-dsl-tooling-models \
>     -d tooling-models/target/classes \
>     tooling-models/src/main/kotlin/
> OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
> 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:165)
> 	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)
> 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
> 	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
> 	at org.jetbrains.kotlin.preloading.Preloader.run(Preloader.java:81)
> 	at org.jetbrains.kotlin.preloading.Preloader.main(Preloader.java:43)
> 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)
> 	... 32 more
> 
> make[1]: *** [debian/rules:10: override_dh_auto_build] Error 2


The full build log is available from:
http://qa-logs.debian.net/2024/08/09/gradle-kotlin-dsl_0.13.2-5_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240809;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240809&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-java-maintainers mailing list