Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The build of the task :native-gradle-plugin:functionalTest in the master branch failed in Oracle GraalVM For JDK 23.ea.13 #606

Closed
linghengqian opened this issue Jun 16, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@linghengqian
Copy link
Contributor

Before reporting

  • This repository should be used to report issues on the Maven or Gradle plugins for GraalVM.
  • Please report issues which are specific to the Spring Framework or the Micronaut framework to their specific repositories.
  • Do not report issues with building your specific application, e.g errors which happen at image build time like classes initialized at build time, or missing classes as run time: those are not related to the plugins but problems with configuration. You can refer to the GraalVM native image documentation for available options and the plugins documentation for how to use them with the plugin.

Describe the bug
A clear and concise description of what the bug is.
Make sure that you have read the documentation and that you are using the latest plugin version.

  • The build of the task :native-gradle-plugin:functionalTest in the master branch failed in Oracle GraalVM For JDK 23.ea.13 .

To Reproduce

When possible, provide a link to a repository which reproduces the issue, with instructions on how to use.
The reproducer must make use of either the Maven or Gradle plugin.

Steps to reproduce the behavior:

sdk install java 23.ea.13-graal
sdk use java 23.ea.13-graal

git clone [email protected]:graalvm/native-build-tools.git
cd ./native-build-tools/
git reset --hard fb962b94f9af2cc04f73624d30a6b7c4dfee3768
./gradlew :native-gradle-plugin:functionalTest

Please use backticks to properly format code.
If possible please attach a complete reproducer here (either as a zip file or as a link to public repository/branch).

Expected behavior
A clear and concise description of what you expected to happen.

Logs
Add logs to help explain your problem.
Please use backticks to properly format big logs.

$ ./gradlew :native-gradle-plugin:functionalTest
Starting a Gradle Daemon, 2 incompatible Daemons could not be reused, use --status for details

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':settings-plugins:compileKotlin'.
> Unknown Kotlin JVM target: 23

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 13s
<-------------> 0% WAITING
> IDLE

System Info (please complete the following information):

  • OS: [e.g. Windows] Ubuntu
  • GraalVM Version [e.g. 22.0 CE] Oracle GraalVM
  • Java Version [e.g. 17] 23.ea.13
  • Plugin version [e.g. native-gradle-plugin:0.9.10] fb962b9

Additional context
Add any other context about the problem here.

@linghengqian linghengqian added the bug Something isn't working label Jun 16, 2024
@vjovanov
Copy link
Member

vjovanov commented Jul 1, 2024

Please consider setting the JAVA_HOME environment variable to an earlier Java version (e.g., 21 or 17) that will work with kotlin. And also set the GRAALVM_HOME to whichever version you need.

Also, have you tried running the project with a non-GraalVM Java 23? I suspect it would fail.

@vjovanov vjovanov self-assigned this Jul 1, 2024
@linghengqian
Copy link
Contributor Author

Please consider setting the JAVA_HOME environment variable to an earlier Java version (e.g., 21 or 17) that will work with kotlin. And also set the GRAALVM_HOME to whichever version you need.

Also, have you tried running the project with a non-GraalVM Java 23? I suspect it would fail.

  • I will say that I'm new to kotlin, and I've found that kotlin seems to have never supported jdk23.

@vjovanov
Copy link
Member

vjovanov commented Jul 2, 2024

Still looks suspiciously failed. Similar to https://github.com/graalvm/native-build-tools/actions/runs/9517556127/job/26236415815?pr=603 .

This seems to be a different error message? I could not find settings-plugins:compileKotlin. Can we close this issue?

@linghengqian
Copy link
Contributor Author

Still looks suspiciously failed. Similar to https://github.com/graalvm/native-build-tools/actions/runs/9517556127/job/26236415815?pr=603 .

This seems to be a different error message? I could not find settings-plugins:compileKotlin. Can we close this issue?

@linghengqian linghengqian closed this as not planned Won't fix, can't repro, duplicate, stale Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants