Ошибка при импорте ONOS как проекта Bazel в Itellij - PullRequest
0 голосов
/ 27 июня 2019

Я импортирую ONOS как проект BAzel на Itellij, я решил несколько проблем с зависимостями, но у меня все еще есть, и я ничего не нашел в сети.Здесь ошибка:

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...

Чего не хватает?

...