-
Notifications
You must be signed in to change notification settings - Fork 51
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
native-maven-plugin >= v0.9.26: Build fails due to graal_isolate.h not being put into target folder #600
Comments
Thanks for reporting @milarine! A verbose output of the native image command invocation would be useful to see what is happening. |
Hello @vjovanov, thanks for your reply! You can find a reproducer here: https://github.com/milarine/test-native-build-tools |
I used GraalVM 21, and had to modify the function signature to:
as
and The output is as expected with build tools
Please confirm if this also happens on your machine. |
Can you maybe send a link to the GraalVM version you were using? We are a bit confused about the change in version numbering. We tested your supposed changes with this version: https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-21.3.3.1 and get the following error when running
We also built a Docker image for reproducing our problem to make sure it has nothing to do with our local environment, which we can provide to you if you are interested. |
Describe the problem
After upgrading native-maven-plugin to version 0.9.26 our build fails, because the files
graal_isolate.h
andgraal_isolate_dynamic.h
are being put on root level instead of the target folder as it was in version 0.9.25. We also tested higher versions including the latest 10.0.2 and the behaviour is the same.With versions <0.9.26 the output looks as follows:
With versions >=0.9.26:
This is our plugin configuration:
Is this a bug or do we have to configure something additionally?
System Info:
Debian 11 (bullseye)
graalvm-ce-java17-22.2.0
17
native-maven-plugin:0.9.26
The text was updated successfully, but these errors were encountered: