Binary images are fallback images that require java
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- build-system, devops
Hướng nghiên cứu
Bắt đầu tại tools/cli-application/build.gradle ở dòng 23 và so sánh các tùy chọn nativeImage của nó với cảnh báo về tính năng không được hỗ trợ trong log build Linux cuối cùng được liên kết. Xác định cách truyền nhiều tùy chọn vào bước nativeImage của Gradle, sau đó xác minh rằng native image đã phát hành chạy được trong môi trường CI của tài liệu mà không có Java.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When trying to use the native image on the documenation CI (vercel) which does not java available by default we (docs / @davifantasia ) found that the native images in the GitHub releases are not actually fully native but graalvm fallback images that require a JVM.
It's my fault effectively, I should have read the logs more carefully and not rely on passing allow-incomplete-classpath when there can be more issues than that. ( https://github.com/commercetools/rmf-codegen/blob/master/tools/cli-application/build.gradle#L23 )
Here's the log line in the last linux build: https://github.com/commercetools/rmf-codegen/runs/1463962319?check_suite_focus=true#step:4:175
2020-11-27T13:41:20.2564243Z Warning: Aborting stand-alone image build. Unsupported features in 4 methods
2020-11-27T13:41:20.2565015Z Detailed message:
2020-11-27T13:41:20.2568041Z Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Invoke with MethodHandle argument could not be reduced to at most a single call or single field access. The method handle must be a compile time constant, e.g., be loaded from a `static final` field. Method that contains the method handle invocation: java.lang.invoke.MethodHandle.invokeBasic()
2020-11-27T13:41:20.2572179Z To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The error is then reported at run time when the invoke is executed.
To pass report-unsupported-elements-at-runtime to the graalvm native image builder we'd have to learn how to pass mulitple options in the gradly nativeImage step.
- Ngôn ngữ chính
- Kotlin
- Star
- 16
- Fork
- 7
- Merge trung bình
- 1 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của commercetools/rmf-codegen
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
commercetools/rmf-codegen#333 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
commercetools/rmf-codegen#323 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
commercetools/rmf-codegen#313 · 2 bình luận ·
-
Add support for more languagesĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
commercetools/rmf-codegen#306 · 5 bình luận ·
-
Validate correct use of traitsĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 40/100
commercetools/rmf-codegen#295 ·
Tất cả issue của commercetools/rmf-codegen
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
T31n/YagniLauncher#1051 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Accepted Needs Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
ankidroid/Anki-Android#22114 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
solana-foundation/pay-kit#341 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100