-
Notifications
You must be signed in to change notification settings - Fork 19
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
Building substrate examples fail with ... native-image ... returned non-zero result #57
Comments
I had to update the native maven plugin for Graal to get this to work with 22.1 with PR #58. Could you try that out? This makes the example |
On Equinox it seems the package |
I now got the |
To get the native examples working with equinox you can pass
|
There is still an error I found here that code 1 is returned if memory is out. However, the error still occurs for -Pfelix and -Pequinox in `./mvnw clean install -X -Pjava8 -Psubstrate -Pfelix Errors on stdout:
|
I have the same GraalVM version and I am also running on Linux and I don't see these errors. I am using RHEL 8.5 which has an older kernel version that you. Does it fail the same if you use Which project is this failing on? Can you try building the |
I suspect you may have been failing on the jaxrs example, but still not sure. There were some issues with the jaxrs example that I have a fix for in PR #59 |
When building the examples I get the following error:
[ERROR] Failed to execute goal org.graalvm.nativeimage:native-image-maven-plugin:21.0.0:native-image (default) on project org.apache.felix.atomos.examples.substrate.lib: Execution of /usr/lib/jvm/graalvm-ce-java11-22.1.0/lib/svm/bin/native-image -cp /home/wolfgang/git/felix-atomos/atomos/tar... -H:Name=atomos returned non-zero result
My environment is as follwos:
The text was updated successfully, but these errors were encountered: