在Itellij中将ONOS移植为Bazel项目时出错

时间:2019-06-27 12:36:46

标签: intellij-idea bazel onos

我要在Itellij上将ONOS导入为BAzel项目,我已经解决了几个依赖项问题,但是仍然有一个依赖项,我在网上一无所获。 这里的错误:

INFO: Loading complete.  Analyzing...
ERROR: /home/onos/.cache/bazel/_bazel_onos/ee5dcedfe0ed9ac080aedd3598b3af7e/external/local_config_cc/BUILD:46:1: in @intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect aspect on cc_toolchain_suite rule @local_config_cc//:toolchain: 
Traceback (most recent call last):
    File "/home/onos/.cache/bazel/_bazel_onos/ee5dcedfe0ed9ac080aedd3598b3af7e/external/local_config_cc/BUILD", line 46
        @intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect(...)
    File "/home/onos/.cache/bazel/_bazel_onos/ee5dcedfe0ed9ac080aedd3598b3af7e/external/intellij_aspect/intellij_info_bundled.bzl", line 38, in _aspect_impl
        intellij_info_aspect_impl(target, ctx, semantics)
    File "/home/onos/.cache/bazel/_bazel_onos/ee5dcedfe0ed9ac080aedd3598b3af7e/external/intellij_aspect/intellij_info_impl.bzl", line 789, in intellij_info_aspect_impl
        collect_c_toolchain_info(target, ctx, semantics, ide_info, <2 more arguments>)
    File "/home/onos/.cache/bazel/_bazel_onos/ee5dcedfe0ed9ac080aedd3598b3af7e/external/intellij_aspect/intellij_info_impl.bzl", line 370, in collect_c_toolchain_info
        cc_common.create_compile_variables(feature_configuration = feature_..., <3 more arguments>)
expected value of type 'NoneType or sequence' for parameter 'user_compile_flags', for call to method create_compile_variables(cc_toolchain, feature_configuration, source_file = None, output_file = None, user_compile_flags = None, include_directories = None, quote_include_directories = None, system_include_directories = None, preprocessor_defines = None, use_pic = False, add_legacy_cxx_options = False) of 'cc_common'.
INFO: Found 6107 targets...
INFO: Building...

缺少什么?

0 个答案:

没有答案