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

Update quickstarts (including MP) to use new GraalVM 20 docker image. #1576

Merged
merged 2 commits into from
Mar 26, 2020

Conversation

barchetta
Copy link
Member

SE and MP native builds on local machine work AOK.
SE native build in Docker works AOK.
MP native build in Docker getting an error:

[WARNING] com.oracle.svm.core.util.UserError$UserException: 
Class initialization of sun.java2d.cmm.lcms.LCMSTransform failed. 
Use the option --initialize-at-run-time=sun.java2d.cmm.lcms.LCMSTransform to explicitly request delayed initialization of this class.
[WARNING] Detailed message:
...
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: 
Class initialization of sun.java2d.cmm.lcms.LCMSTransform failed. 
Use the option --initialize-at-run-time=sun.java2d.cmm.lcms.LCMSTransform to explicitly request delayed initialization of this class.
...
Caused by: java.lang.UnsatisfiedLinkError: no lcms in java.library.path: [/usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]

So maybe need to add the lcm package to the docker image.

@barchetta barchetta added the 2.x Issues for 2.x version branch label Mar 24, 2020
@barchetta barchetta self-assigned this Mar 24, 2020
Copy link
Contributor

@romain-grecourt romain-grecourt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to fix the lcm lib issue first ?

@barchetta
Copy link
Member Author

Yes. It looks like we remove liblcms on minimization. Will fix that.

@barchetta
Copy link
Member Author

barchetta commented Mar 25, 2020

liblcms issue fixed in PR #1577. New Docker image has been pushed.
MP native image now builds, but at runtime hits issue #1578

@barchetta barchetta changed the title WIP: Update quickstarts (including MP) to use new GraalVM 20 docker image. Update quickstarts (including MP) to use new GraalVM 20 docker image. Mar 26, 2020
@barchetta barchetta merged commit c7baf04 into helidon-io:master Mar 26, 2020
@barchetta barchetta deleted the update-quickstarts branch March 26, 2020 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Issues for 2.x version branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants