You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make native-image using JLine 3.25.1 - sbt/sbt#7500
problem
[info] /home/runner/.cache/coursier/jvm/[email protected]/bin/native-image -cp /home/runner/work/sbt/sbt/client/target/native-image-internal/manifest.jar --no-fallback --initialize-at-run-time=sbt.client -H:IncludeResourceBundles=jline.console.completer.CandidateListCompletionHandler -H:+ReportExceptionStackTraces -H:-ParseRuntimeOptions -H:Name=/home/runner/work/sbt/sbt/client/target/bin/sbtn sbt.client.Client /home/runner/work/sbt/sbt/client/target/bin/sbtn
WARNING: Unknown module: org.graalvm.nativeimage.llvm specified to --add-exports
WARNING: Unknown module: org.graalvm.nativeimage.llvm specified to --add-exports
WARNING: Unknown module: org.graalvm.nativeimage.llvm specified to --add-exports
Error: Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///home/runner/.cache/coursier/v1/https/repo1.maven.org/maven2/org/jline/jline-terminal-jna/3.25.1/jline-terminal-jna-3.25.1.jar!/META-INF/native-image/org.jline/jline-terminal-jna/native-image.properties'. Use -H:PrintFlags= to list all available options.
Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///home/runner/.cache/coursier/v1/https/repo1.maven.org/maven2/org/jline/jline-native/3.25.1/jline-native-3.25.1.jar!/META-INF/native-image/org.jline/jline-native/native-image.properties'. Use -H:PrintFlags= to list all available options.
Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///home/runner/.cache/coursier/v1/https/repo1.maven.org/maven2/org/jline/jline-terminal/3.25.1/jline-terminal-3.25.1.jar!/META-INF/native-image/org.jline/jline-terminal/native-image.properties'. Use -H:PrintFlags= to list all available options.
Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///home/runner/.cache/coursier/v1/https/repo1.maven.org/maven2/org/jline/jline-terminal-jansi/3.25.1/jline-terminal-jansi-3.25.1.jar!/META-INF/native-image/org.jline/jline-terminal-jansi/native-image.properties'. Use -H:PrintFlags= to list all available options.
Error: Image build request failed with exit status 1
[error] native-image command failed with exit code '1'
Starting in 2023, GraalVM Community Edition will align with the six-month JDK release cadence. There will be two feature releases per year to support the latest JDK version.
@SethTisue Apparently JLine 3.25.1 requires GraalVM 23+.
But even with GraalVM 23, I haven't been able to get JLine 3.25.1 to work with native image due to #959.
steps
Make native-image using JLine 3.25.1 - sbt/sbt#7500
problem
notes
I am not familiar with the GraalVM situation, but https://www.graalvm.org/release-calendar/ says:
https://github.com/graalvm/graalvm-ce-builds/releases only has up till 22.x, which can be installed via Coursier etc. #886 bumped graal to 23.1.1.
Would you consider downgrading graal to 22.x?
The text was updated successfully, but these errors were encountered: