Closed ajw0100 closed 3 years ago
I'm trying to import zetasql which requires bazel 1.0.0. I am getting the following in the Bazel Console:
Syncing project: Sync (incremental)... Updating VCS... Running Bazel info... Command: bazel info --tool_tag=ijwb:CLion --curses=no --color=yes --progress_in_terminal_title=no -- Command: git diff --name-status --no-renames 57651f4f0cf9efa76163bc0282edfcf98dd72414 INFO: Writing tracer profile to '/home/aj/.cache/bazel/_bazel_aj/37879a55b6bc931b4f59d0e64bea9f59/command.profile.gz' Computing VCS working set... .clwb/.bazelproject (added) .clwb/.blaze/modules/.project-data-dir.iml (added) .clwb/.blaze/modules/.workspace.iml (added) .clwb/.idea/.gitignore (added) .clwb/.idea/.name (added) .clwb/.idea/modules.xml (added) .clwb/.idea/runConfigurations.xml (added) .idea/.gitignore (added) .idea/modules.xml (added) .idea/runConfigurations.xml (added) .idea/vcs.xml (added) .idea/zetasql.iml (added) bazel-bin (added) bazel-out (added) bazel-testlogs (added) bazel-zetasql (added) Querying targets building source files... Command: bazel query --tool_tag=ijwb:CLion --output=label_kind --keep_going same_pkg_direct_rdeps(\"//:.idea/.gitignore\"+\"//:.idea/modules.xml\"+\"//:.idea/runConfigurations.xml\"+\"//:.idea/vcs.xml\"+\"//:.idea/zetasql.iml\") -- Querying targets in project directories... Command: bazel query --tool_tag=ijwb:CLion --output=label_kind --keep_going "attr(\"tags\", \"^((?!manual).)*$\", //...:all - //bazel-bin/...:all - //bazel-genfiles/...:all - //bazel-out/...:all - //bazel-testlogs/...:all - //bazel-zetasql/...:all - //.clwb/...:all)" -- 928 targets found under project directories; syncing 740 of them. Sync targets from project view directories: //zetasql/tools/execute_query:execute_query_prompt_testutils //zetasql/tools/execute_query:homedir //zetasql/tools/execute_query:execute_query_loop //zetasql/tools/execute_query:execute_query_tool //zetasql/tools/execute_query:string_error_collector //zetasql/tools/execute_query:simple_proto_evaluator_table_iterator //zetasql/tools/execute_query:execute_query_proto_writer //zetasql/tools/execute_query:execute_query_writer //zetasql/tools/execute_query:output_query_result //zetasql/tools/execute_query:execute_query_prompt //zetasql/tools/execute_query:execute_query_proto //zetasql/testing:sql_types_test //zetasql/resolved_ast:test_utils //zetasql/reference_impl:use_reference_driver_for_compliance_test //zetasql/reference_impl:test_relational_op //zetasql/reference_impl:tuple_test_util //zetasql/public:sql_tvf //zetasql/public:numeric_value_test_utils //zetasql/public:non_sql_function //zetasql/testdata:populate_sample_tables //zetasql/public:evaluator_lite //zetasql/parser:run_parser_test_lib //zetasql/scripting:parse_helpers //zetasql/parser:parse_tree_serializer //zetasql/parser:parse_tree_proto //zetasql/compliance:runtime_expected_errors //zetasql/compliance:compliance_test_cases //zetasql/compliance:compliance_test_base //zetasql/compliance:sql_test_base //zetasql/testing:type_util //zetasql/compliance:parameters_test_util //zetasql/reference_impl:reference_driver //zetasql/reference_impl:statement_evaluator //zetasql/scripting:script_executor //zetasql/scripting:stack_frame //zetasql/scripting:script_executor_state_proto //zetasql/scripting:variable_proto //zetasql/reference_impl:evaluator_table_iterator_proto //zetasql/reference_impl:rewrite_flags //zetasql/compliance:test_util //zetasql/compliance:legal_runtime_errors //zetasql/compliance:matchers //zetasql/compliance:known_error_proto //zetasql/common/testing:status_payload_matchers_test_proto //zetasql/common/testing:status_payload_matchers //zetasql/common/testing:status_payload_matchers_oss //zetasql/compliance:functions_testlib //zetasql/testing:test_function //zetasql/testing:test_value //zetasql/compliance:test_driver Plus 690 more targets Building Bazel targets... Command: bazel build --tool_tag=ijwb:CLion --keep_going --build_event_binary_file=/tmp/intellij-bep-e1482b00-f966-4660-8313-519b6fc07449 --nobuild_event_binary_file_path_conversion --curses=no --color=yes --progress_in_terminal_title=no --noexperimental_run_validations --aspects=@intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect --override_repository=intellij_aspect=/home/aj/.local/share/JetBrains/CLion2021.2/clwb/aspect --output_groups=intellij-resolve-cpp,intellij-info-cpp,intellij-info-generic -- //zetasql/tools/execute_query:execute_query_prompt_testutils //zetasql/tools/execute_query:homedir //zetasql/tools/execute_query:execute_query_loop //zetasql/tools/execute_query:execute_query_tool //zetasql/tools/execute_query:string_error_collector //zetasql/tools/execute_query:simple_proto_evaluator_table_iterator //zetasql/tools/execute_query:execute_query_proto_writer //zetasql/tools/execute_query:execute_query_writer //zetasql/tools/execute_query:output_query_result /... ERROR: Unrecognized option: --noexperimental_run_validations INFO: Writing tracer profile to '/home/aj/.cache/bazel/_bazel_aj/37879a55b6bc931b4f59d0e64bea9f59/command.profile.gz' build invocation result: fatal_error Sync finished Sync failed
Bazel > Sync > Sync Project with BUILD Files
CLion: 2021.2.2 Platform: Linux 5.11.0-37-generic Bazel plugin: 2021.09.21.0.1-api-version-212 Bazel: 1.0.0
I ended up downgrading CLion and the Bazel plugin:
Description of the issue. Please be specific.
I'm trying to import zetasql which requires bazel 1.0.0. I am getting the following in the Bazel Console:
What's the simplest set of steps to reproduce this issue? Please provide an example project, if possible.
Bazel > Sync > Sync Project with BUILD Files
Version information
CLion: 2021.2.2 Platform: Linux 5.11.0-37-generic Bazel plugin: 2021.09.21.0.1-api-version-212 Bazel: 1.0.0