Canonicalization Check fails (makes it impossible to depend JavaProject on NativeProject)
@dougxc đang làm issue này rồi.
Từ ngày 17/1/2018.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
The suite.py constellation below causes:
Traceback (most recent call last):
File "/home/pwoegere/labs/xxx/mx_olpaw/mx_gate.py", line 267, in gate
if mx.command_function('canonicalizeprojects')([]) != 0:
File "/home/pwoegere/labs/xxx/mx_olpaw/mx.py", line 8931, in canonicalizeprojects
if pkg in dep.extended_java_packages():
AttributeError: 'NativeProject' object has no attribute 'extended_java_packages'
gate: 17 Mar 2016 15:07:00: ABORT: Gate [0:00:11.244213] [disk (free/total): 305.7GB/430.1GB]
'NativeProject' object has no attribute 'extended_java_packages'
I think it should be possible for a JavaProject to depend on a NativeProject:
"com.oracle.xxx.core.dis" : {
"subDir" : "xxx",
"sourceDirs" : ["src"],
"dependencies" : [
"com.oracle.xxx.core",
"com.oracle.xxx.core.dis.native",
],
"annotationProcessors" : [
"graal-core:GRAAL_NODEINFO_PROCESSOR",
"graal-core:GRAAL_REPLACEMENTS_VERIFIER",
"graal-core:GRAAL_OPTIONS_PROCESSOR",
"truffle:TRUFFLE_DSL_PROCESSOR",
],
"javaCompliance" : "1.8",
"checkstyle" : "com.oracle.xxx.truffle",
"workingSets" : "XXX",
"findbugs" : "false",
},
"com.oracle.xxx.core.dis.native" : {
"native" : True,
"subDir" : "xxx",
"dependencies" : ["DISTORM"],
"output" : "clibraries",
"results" : [
"libdistorm3.a",
"include/distorm.h",
"include/mnemonics.h",
]
},
Here com.oracle.xxx.core.dis depends on com.oracle.xxx.core.dis.native. Unfortunately using the definition above results in the error shown before.
- Ngôn ngữ chính
- Python
- Star
- 205
- Fork
- 131
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 graalvm/mx
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
-
Error while doing maven-installCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Use --depth 1 on "git clone"sĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
Issue tương tự
-
[Suggestion]: Build a Zero-Dependency Python Supply-Chain, SBOM, & MCP Security Verifier CLIĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
pr-babysit: the validator reports only the hex part of the harvest fingerprint, so a launch stops review-report-unusableCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởfollow-up
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Web download page shows a file as Completed when its download from S3 fails with an error responseĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
awslabs/visual-asset-management-system#2097 ·
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 70/100
compiler-explorer/compiler-explorer#9738 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
openfoodfacts/openfoodfacts-python#573 ·
Maintainer thường phản hồi trong vòng 2 ngày