我试图按照此处的说明构建 Mirah。在“rake gem”步骤中,我收到了几次警告和失败通知。输出示例如下:
警告:org/dynalang/dynalink/MonomorphicCallSite.class(org/dynalang/dynalink:MonomorphicCallSite.class):主要版本 51 比该编译器支持的最高主要版本 50 更新。
建议升级编译器。
注意:/Users/paul/dev/interesting/mirah/src/org/mirah/DynalangBootstrap.java 使用或覆盖已弃用的 API。
注意:使用 -Xlint:deprecation 重新编译以了解详细信息。
4 条警告
构建 jar:/Users/paul/dev/interesting/mirah/javalib/mirah-bootstrap.jar
耙子中止!
不知道如何构建任务“bootstrap”
我应该如何开始解决这个问题?例如,应该升级哪个编译器,如何升级?
I was trying to build Mirah, following the instructions here. On the step 'rake gem', I got several warnings and a failure notice. A sample of the output follows:
warning: org/dynalang/dynalink/MonomorphicCallSite.class(org/dynalang/dynalink:MonomorphicCallSite.class): major version 51 is newer than 50, the highest major version supported by this compiler.
It is recommended that the compiler be upgraded.
Note: /Users/paul/dev/interesting/mirah/src/org/mirah/DynalangBootstrap.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
4 warnings
Building jar: /Users/paul/dev/interesting/mirah/javalib/mirah-bootstrap.jar
rake aborted!
Don't know how to build task 'bootstrap'
How should I begin troubleshooting this? For example, which compiler should be upgraded, and how can that be done?
发布评论
评论(1)
此问题是在主上确定的,所以你现在应该能够拉出 master 并构建得很好了。
如果您有意使用旧树,则还有另一个选项来构建 gem:出现
错误消息是因为在 Charles 修复之前,:gem 任务错误地将“jar:bootstrap”引用为“bootstrap”。
This issue is fixed on master by https://github.com/mirah/mirah/commit/fac6bd5a13be6d818b9ac362650f5f540d771682, so you should be able to pull master and build just fine now.
If you're using an old tree intentionally, there another option to build the gem:
Your error message is happening because prior to Charles' fix, the :gem task erroneously refers to "jar:bootstrap" as just "bootstrap".