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

Could not find option 'UnlockExperimentalVMOptions' #508

Closed
jamesfredley opened this issue Feb 5, 2025 · 4 comments · Fixed by #514 or #524
Closed

Could not find option 'UnlockExperimentalVMOptions' #508

jamesfredley opened this issue Feb 5, 2025 · 4 comments · Fixed by #514 or #524
Assignees

Comments

@jamesfredley
Copy link
Contributor

https://github.com/grails/grails-forge/actions/runs/13166486235

https://github.com/grails/grails-forge/actions/runs/13166486235/job/36748160839

Step 9/13 : RUN native-image -cp /home/app/libs/*.jar:/home/app/resources:/home/app/application.jar --no-fallback -H:Name=application -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.configure=ALL-UNNAMED -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk=ALL-UNNAMED -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jni=ALL-UNNAMED -J--add-exports=org.graalvm.sdk/org.graalvm.nativeimage.impl=ALL-UNNAMED -H:ConfigurationFileDirectories=/home/app/config-dirs/generateResourcesConfigFile -H:Class=org.grails.forge.analytics.postgres.Main
 ---> Running in 9a70f504259d
Error: Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///home/app/libs/jdbc-socket-factory-core-1.21.0.jar!/META-INF/native-image/com.google.cloud.sql/cloud-sql-jdbc-socket-factory-parent/native-image.properties'. Use -H:PrintFlags= to list all available options.
Error: Image build request failed with exit status 1


> Task :grails-forge-analytics-postgres:dockerBuildNative FAILED
gradle/actions: Writing build results to /home/runner/work/_temp/.gradle-actions/build-results/__run_3-1738789[76](https://github.com/grails/grails-forge/actions/runs/13166486235/job/36748160839#step:8:77)4646.json
@jamesfredley jamesfredley moved this to Todo in Grails 7 Feb 5, 2025
@jamesfredley jamesfredley added this to the 7.0.0-M2 milestone Feb 6, 2025
@jamesfredley jamesfredley self-assigned this Feb 13, 2025
@jamesfredley jamesfredley linked a pull request Feb 14, 2025 that will close this issue
@github-project-automation github-project-automation bot moved this from Todo to Done in Grails 7 Feb 14, 2025
@jamesfredley jamesfredley moved this from Done to Todo in Grails 7 Feb 14, 2025
@jamesfredley jamesfredley reopened this Feb 14, 2025
@matrei
Copy link
Contributor

matrei commented Feb 15, 2025

@jamesfredley I think this commit might be the culprit: f657dd2

There are many newer versions of this library, maybe try to update to the latest, 1.23.1? https://mvnrepository.com/artifact/com.google.cloud.sql/postgres-socket-factory

@jamesfredley
Copy link
Contributor Author

I disabled automerge for renovate bot, which seemed like a bad idea and not something we do on other repos. 30cdbfa

To prevent large changes like: https://github.com/grails/grails-forge/commits/7.0.x/?since=2024-12-28&until=2024-12-28

@jamesfredley jamesfredley linked a pull request Feb 18, 2025 that will close this issue
@jamesfredley
Copy link
Contributor Author

@matrei Thank you. 1.23.1 failed, but going back to 1.17.1 worked.

@github-project-automation github-project-automation bot moved this from Todo to Done in Grails 7 Feb 18, 2025
@jamesfredley
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
2 participants