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

Missing CAP cache value for: NativeCodeInfo:PosixDirectives:ConstantInfo:CLOCK_REALTIME (android) #1238

Open
Hugolarson opened this issue Dec 6, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Hugolarson
Copy link

Using substrate 0.0.61 with maven plugin 1.0.22 on Ubuntu 22.04 Wsl2

mvn -Pandroid gluonfx:build

[Wed Dec 06 16:28:15 CET 2023][INFO] [SUB] Error: Missing CAP cache value for: NativeCodeInfo:PosixDirectives:ConstantInfo:CLOCK_REALTIME
[Wed Dec 06 16:28:15 CET 2023][INFO] [SUB] com.oracle.svm.core.util.UserError$UserException: Missing CAP cache value for: NativeCodeInfo:PosixDirectives:ConstantInfo:CLOCK_REALTIME
[Wed Dec 06 16:28:15 CET 2023][INFO] [SUB] at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.UserError.abort(UserError.java:73)
[Wed Dec 06 16:28:15 CET 2023][INFO] [SUB] at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.c.info.InfoTreeVisitor.processChildren(InfoTreeVisitor.java:78)

@Hugolarson Hugolarson added the bug Something isn't working label Dec 6, 2023
@jperedadnr
Copy link
Contributor

Which GraalVM build are you using?
For mobile, you should only use Gluon's GraalVM build 22.1.0.1-Final from https://github.com/gluonhq/graal/releases/latest

@Hugolarson
Copy link
Author

graalvm-community-openjdk-21.0.1+12.1

I thought the latest fix on Substrate fixed this issue.
It's sad that for mobile we are stuck with old Jre and JavaFX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants