-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 image build fails with VMError$HostedError: Boolean option value can be only + or -
#36684
Comments
You added a link to a Zulip discussion, please make sure the description of the issue is comprehensive and doesn't require accessing Zulip This message is automatically generated by a bot. |
This is fixed upstream with oracle/graal@a28e629, the fix is included in GraalVM for 21.0.1 (GraalVM 23.1.1) and will be part of Mandrel 23.1.1.0-Final which is expected to land in the following days. Leaving the issue open till the Mandrel release becomes available and the quarkus-images get updated. Thanks for the report @brunobat |
Good to hear we will get the fix soon. Thanks @zakkak ! |
@brunobat the aforementioned releases are now available and the updated Mandrel images are now available in quay.io, could you please try and see if they resolve the issue? Please make sure to pull the latest |
Thanks @zakkak. |
@brunobat that's a known upstream GraalVM bug. You should upgrade to a newer (>= 2.25.0) gax-grpc version which includes googleapis/sdk-platform-java#1892. |
Still no luck after upgrading. I get different errors depending on the graallvm being used.
In the CI, with
FYI, I added I've added this code to one of the processors:
|
Do you get the same error with GraalVM CE 21.0.1? If not, it might be an Oracle GraalVM specific issue.
I suggest closing this issues as fixed (since the initial error no longer appears with the latest GraalVM and Mandrel) and opening a new issue for the new error including the full log, I guess the reproducer is the same? |
Looks good to me. |
Describe the bug
Build fails with cryptic message and not allowing further actions from the user:
https://github.com/quarkiverse/quarkus-opentelemetry-exporter/actions/runs/6629170891/job/18007855740?pr=104
Also discussed here: https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/GraalVM.20error/near/398318139
Expected behavior
According to @zakkak the message should be:
Actual behavior
build fails with cryptic message
How to Reproduce?
Build this PR with graalvm 21
Output of
uname -a
orver
No response
Output of
java -version
Java version: 21+35-LTS, vendor version: Mandrel-23.1.0.0-Final
Quarkus version or git rev
At least Quarkus 3.5.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
See Quarkiverse CI: https://github.com/quarkiverse/quarkus-opentelemetry-exporter/actions/runs/6639560552/job/18038172666?pr=104
The text was updated successfully, but these errors were encountered: