Canonicalization Check fails (makes it impossible to depend JavaProject on NativeProject)
@dougxc 已经在做这个了。
开始于 2018年1月17日。
评估
这个 Issue 还没有评估数据。
描述
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.
- 主要语言
- Python
- 星标
- 205
- 派生
- 131
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
graalvm/mx 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 58/100
-
难度 2/5 1-3 小时 新手友好度 45/100
-
Error while doing maven-install可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 3/5 1-2 天 新手友好度 30/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 2/5 1-3 小时 新手友好度 45/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
-
pr-babysit: the validator reports only the hex part of the harvest fingerprint, so a launch stops review-report-unusable可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭follow-up
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Web download page shows a file as Completed when its download from S3 fails with an error response未关闭bug
难度 2/5 1-3 小时 新手友好度 77/100
awslabs/visual-asset-management-system#2097 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
compiler-explorer/compiler-explorer#9738 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
openfoodfacts/openfoodfacts-python#573 ·
维护者通常 2 天内回复