graalvm / setup-graalvm

GitHub Action for setting up GraalVM distributions.
https://www.graalvm.org
Universal Permissive License v1.0
195 stars 28 forks source link

Native build error on windows and macOS suddenly #73

Closed GrapeBaBa closed 11 months ago

GrapeBaBa commented 11 months ago

https://github.com/optimism-java/hildr/actions/runs/7222148708/job/19678581079

It worked fine, no change with this file.

Could not determine the dependencies of task ':hildr-node:nativeCompile'.
> class org.graalvm.buildtools.gradle.internal.GraalVMReachabilityMetadataService$Inject cannot be cast to class org.graalvm.buildtools.gradle.internal.GraalVMReachabilityMetadataService (org.graalvm.buildtools.gradle.internal.GraalVMReachabilityMetadataService$Inject is in unnamed module of loader org.gradle.internal.classloader.VisitableURLClassLoader$InstrumentingVisitableURLClassLoader @3ca99799; org.graalvm.buildtools.gradle.internal.GraalVMReachabilityMetadataService is in unnamed module of loader org.gradle.internal.classloader.VisitableURLClassLoader$InstrumentingVisitableURLClassLoader @524aa108)
fniephaus commented 11 months ago

It looks you got a bit confused about the versioning in your commit: GraalVM 22.3.1 is an old GraalVM release and did not support JDK 21. I would assume it's failing because of this.