secretflow / spu

SPU (Secure Processing Unit) aims to be a provable, measurable secure computation device, which provides computation ability while keeping your private data protected.
https://www.secretflow.org.cn/docs/spu/en/
Apache License 2.0
235 stars 101 forks source link

当bazel run时报错An error occurred during the fetch of repository 'com_github_eigenteam_eigen' #140

Closed Stu-Yang closed 1 year ago

Stu-Yang commented 1 year ago

您好,我目前想在Ubuntu 20.04上运行secretflow/spu/examples/python/ml/ss_lr,当我安装README.md进行编译时报错:

root@CARC-20:~/yp_workplace/secretflow/spu/examples/python/ml/ss_lr# bazel run -c opt //examples/python/utils:nodectl -- up
Starting local Bazel server and connecting to it...
DEBUG: Rule 'yacl' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1676014912 +0800"
DEBUG: Repository yacl instantiated at:
  /root/yp_workplace/secretflow/spu/WORKSPACE:19:9: in <toplevel>
  /root/yp_workplace/secretflow/spu/bazel/repositories.bzl:45:10: in spu_deps
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe
Repository rule git_repository defined at:
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'llvm-raw' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'tf_runtime' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'llvm-raw' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'pybind11_bazel' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_github_grpc_grpc' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'zlib' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'upb' because it already exists.
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/tsl/lib/gtl/BUILD:100:11: in linkstatic attribute of cc_library rule @tsl//tsl/lib/gtl:map_util: setting 'linkstatic=1' is recommended if there are no object files
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:215:17: in cc_library rule @xla//xla/stream_executor:dnn_proto_cc_impl: Target '@xla//xla/stream_executor:dnn_proto_cc_impl' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:215:17: in cc_library rule @xla//xla/stream_executor:dnn_proto_cc_headers_only: Target '@xla//xla/stream_executor:dnn_proto_cc_headers_only' violates visibility of target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/BUILD:1109:17: in cc_library rule @xla//xla:autotune_results_proto_cc_impl: Target '@xla//xla:autotune_results_proto_cc_impl' violates visibility of alias '@tsl//tsl/protobuf:autotuning_proto_cc' referring to target '@tsl//tsl/protobuf:autotuning_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/BUILD:1109:17: in cc_library rule @xla//xla:autotune_results_proto_cc_headers_only: Target '@xla//xla:autotune_results_proto_cc_headers_only' violates visibility of target '@tsl//tsl/protobuf:autotuning_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/gpu/BUILD:53:17: in cc_library rule @xla//xla/service/gpu:backend_configs_cc_impl: Target '@xla//xla/service/gpu:backend_configs_cc_impl' violates visibility of alias '@xla//xla/stream_executor:dnn_proto_cc' referring to target '@xla//xla/stream_executor:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/gpu/BUILD:53:17: in cc_library rule @xla//xla/service/gpu:backend_configs_cc_headers_only: Target '@xla//xla/service/gpu:backend_configs_cc_headers_only' violates visibility of target '@xla//xla/stream_executor:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/tsl/platform/BUILD:1022:11: in cc_library rule @tsl//tsl/platform:float8: Target '@tsl//tsl/platform:float8' violates visibility of alias '@eigen_archive//:eigen3' referring to target '@xla//third_party/eigen3:eigen3'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/BUILD:201:11: in cc_library rule @xla//xla:types: Target '@xla//xla:types' violates visibility of alias '@eigen_archive//:eigen3' referring to target '@xla//third_party/eigen3:eigen3'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:177:11: in cc_library rule @xla//xla/stream_executor:data_type: Target '@xla//xla/stream_executor:data_type' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/tsl/platform/BUILD:1012:11: in cc_library rule @tsl//tsl/platform:bfloat16: Target '@tsl//tsl/platform:bfloat16' violates visibility of alias '@eigen_archive//:eigen3' referring to target '@xla//third_party/eigen3:eigen3'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/cpu/BUILD:1047:11: in cc_library rule @xla//xla/service/cpu:runtime_single_threaded_matmul_impl: Target '@xla//xla/service/cpu:runtime_single_threaded_matmul_impl' violates visibility of alias '@eigen_archive//:eigen3' referring to target '@xla//third_party/eigen3:eigen3'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/tsl/platform/BUILD:967:11: in cc_library rule @tsl//tsl/platform:threadpool_interface: Target '@tsl//tsl/platform:threadpool_interface' violates visibility of alias '@eigen_archive//:eigen3' referring to target '@xla//third_party/eigen3:eigen3'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:6604:11: in cc_library rule @xla//xla/service:global_device_id: Target '@xla//xla/service:global_device_id' violates visibility of target '@tsl//tsl/lib/gtl:int_type'. Continuing because --nocheck_visibility is active
DEBUG: Rule 'org_interconnection' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1669271462 +0800"
DEBUG: Repository org_interconnection instantiated at:
  /root/yp_workplace/secretflow/spu/WORKSPACE:28:10: in <toplevel>
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/yacl/bazel/repositories.bzl:44:10: in yacl_deps
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe
Repository rule git_repository defined at:
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:200:11: in cc_library rule @xla//xla/stream_executor:device_memory: Target '@xla//xla/stream_executor:device_memory' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:252:11: in cc_library rule @xla//xla/stream_executor:rng: Target '@xla//xla/stream_executor:rng' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:89:11: in cc_library rule @xla//xla/stream_executor:launch_dim: Target '@xla//xla/stream_executor:launch_dim' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:139:11: in cc_library rule @xla//xla/stream_executor:kernel_spec: Target '@xla//xla/stream_executor:kernel_spec' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:576:11: in cc_library rule @xla//xla/stream_executor:host_or_device_scalar: Target '@xla//xla/stream_executor:host_or_device_scalar' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:164:11: in cc_library rule @xla//xla/stream_executor:allocator_stats: Target '@xla//xla/stream_executor:allocator_stats' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:223:11: in cc_library rule @xla//xla/stream_executor:fft: Target '@xla//xla/stream_executor:fft' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:124:11: in cc_library rule @xla//xla/stream_executor:device_description: Target '@xla//xla/stream_executor:device_description' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:124:11: in cc_library rule @xla//xla/stream_executor:device_description: Target '@xla//xla/stream_executor:device_description' violates visibility of target '@tsl//tsl/lib/math:math_util'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:206:11: in cc_library rule @xla//xla/stream_executor:device_options: Target '@xla//xla/stream_executor:device_options' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/tsl/platform/BUILD:258:11: in cc_library rule @tsl//tsl/platform:status: Target '@tsl//tsl/platform:status' violates visibility of target '@tsl//tsl/platform/default:status'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/tsl/platform/default/BUILD:109:11: in cc_library rule @tsl//tsl/platform/default:env: Target '@tsl//tsl/platform/default:env' violates visibility of alias '@eigen_archive//:eigen3' referring to target '@xla//third_party/eigen3:eigen3'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:29:11: in cc_library rule @xla//xla/stream_executor:stream_executor_headers: Target '@xla//xla/stream_executor:stream_executor_headers' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/BUILD:279:11: in cc_library rule @xla//xla:util: Target '@xla//xla:util' violates visibility of target '@tsl//tsl/lib/gtl:iterator_range'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/BUILD:279:11: in cc_library rule @xla//xla:util: Target '@xla//xla:util' violates visibility of target '@tsl//tsl/lib/math:math_util'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:231:11: in cc_library rule @xla//xla/stream_executor:platform: Target '@xla//xla/stream_executor:platform' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:667:11: in cc_library rule @xla//xla/stream_executor:dnn: Target '@xla//xla/stream_executor:dnn' violates visibility of target '@tsl//tsl/lib/strings:proto_serialization'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:561:11: in cc_library rule @xla//xla/stream_executor:blas: Target '@xla//xla/stream_executor:blas' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:561:11: in cc_library rule @xla//xla/stream_executor:blas: Target '@xla//xla/stream_executor:blas' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/client/BUILD:46:11: in cc_library rule @xla//xla/client:padding: Target '@xla//xla/client:padding' violates visibility of target '@tsl//tsl/lib/math:math_util'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/host/BUILD:19:11: in cc_library rule @xla//xla/stream_executor/host:host_platform_id: Target '@xla//xla/stream_executor/host:host_platform_id' violates visibility of target '@xla//xla/stream_executor:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:712:11: in cc_library rule @xla//xla/stream_executor:temporary_device_memory: Target '@xla//xla/stream_executor:temporary_device_memory' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/rocm/BUILD:143:11: in cc_library rule @xla//xla/stream_executor/rocm:rocm_platform_id: Target '@xla//xla/stream_executor/rocm:rocm_platform_id' violates visibility of target '@xla//xla/stream_executor:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:344:11: in cc_library rule @xla//xla/stream_executor:multi_platform_manager: Target '@xla//xla/stream_executor:multi_platform_manager' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:667:11: in cc_library rule @xla//xla/stream_executor:dnn: Target '@xla//xla/stream_executor:dnn' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:285:11: in cc_library rule @xla//xla/stream_executor:executor_cache: Target '@xla//xla/stream_executor:executor_cache' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:667:11: in cc_library rule @xla//xla/stream_executor:dnn: Target '@xla//xla/stream_executor:dnn' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/BUILD:866:11: in cc_library rule @xla//xla:shape_tree: Target '@xla//xla:shape_tree' violates visibility of target '@tsl//tsl/lib/gtl:iterator_range'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:586:11: in cc_library rule @xla//xla/stream_executor:event: Target '@xla//xla/stream_executor:event' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/cuda/BUILD:41:11: in cc_library rule @xla//xla/stream_executor/cuda:cuda_platform_id: Target '@xla//xla/stream_executor/cuda:cuda_platform_id' violates visibility of target '@xla//xla/stream_executor:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:466:11: in cc_library rule @xla//xla/stream_executor:kernel: Target '@xla//xla/stream_executor:kernel' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:466:11: in cc_library rule @xla//xla/stream_executor:kernel: Target '@xla//xla/stream_executor:kernel' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:285:11: in cc_library rule @xla//xla/stream_executor:executor_cache: Target '@xla//xla/stream_executor:executor_cache' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:586:11: in cc_library rule @xla//xla/stream_executor:event: Target '@xla//xla/stream_executor:event' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:363:11: in cc_library rule @xla//xla/stream_executor:stream_executor_internal: Target '@xla//xla/stream_executor:stream_executor_internal' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:387:11: in cc_library rule @xla//xla/stream_executor:stream_executor_pimpl_header: Target '@xla//xla/stream_executor:stream_executor_pimpl_header' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:387:11: in cc_library rule @xla//xla/stream_executor:stream_executor_pimpl_header: Target '@xla//xla/stream_executor:stream_executor_pimpl_header' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:693:11: in cc_library rule @xla//xla/stream_executor:temporary_memory_manager: Target '@xla//xla/stream_executor:temporary_memory_manager' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:527:11: in cc_library rule @xla//xla/stream_executor:timer: Target '@xla//xla/stream_executor:timer' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:527:11: in cc_library rule @xla//xla/stream_executor:timer: Target '@xla//xla/stream_executor:timer' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:420:16: in cc_library rule @xla//xla/stream_executor:stream_executor_pimpl: Target '@xla//xla/stream_executor:stream_executor_pimpl' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:420:16: in cc_library rule @xla//xla/stream_executor:stream_executor_pimpl: Target '@xla//xla/stream_executor:stream_executor_pimpl' violates visibility of alias '@eigen_archive//:eigen3' referring to target '@xla//third_party/eigen3:eigen3'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:420:16: in cc_library rule @xla//xla/stream_executor:stream_executor_pimpl: Target '@xla//xla/stream_executor:stream_executor_pimpl' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:772:11: in cc_library rule @xla//xla/stream_executor:stream_executor_impl: Target '@xla//xla/stream_executor:stream_executor_impl' violates visibility of target '@tsl//tsl/protobuf:dnn_proto_cc_impl'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3823:11: in cc_library rule @xla//xla/service:computation_placer: Target '@xla//xla/service:computation_placer' violates visibility of target '@xla//xla/stream_executor:stream_executor'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3823:11: in cc_library rule @xla//xla/service:computation_placer: Target '@xla//xla/service:computation_placer' violates visibility of target '@xla//xla/stream_executor:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3823:11: in cc_library rule @xla//xla/service:computation_placer: Target '@xla//xla/service:computation_placer' violates visibility of target '@xla//xla/stream_executor/cuda:cuda_platform_id'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3823:11: in cc_library rule @xla//xla/service:computation_placer: Target '@xla//xla/service:computation_placer' violates visibility of target '@xla//xla/stream_executor/host:host_platform_id'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3823:11: in cc_library rule @xla//xla/service:computation_placer: Target '@xla//xla/service:computation_placer' violates visibility of target '@xla//xla/stream_executor/rocm:rocm_platform_id'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/hlo/ir/BUILD:19:11: in cc_library rule @xla//xla/hlo/ir:hlo: Target '@xla//xla/hlo/ir:hlo' violates visibility of target '@tsl//tsl/lib/gtl:iterator_range'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/hlo/ir/BUILD:19:11: in cc_library rule @xla//xla/hlo/ir:hlo: Target '@xla//xla/hlo/ir:hlo' violates visibility of target '@tsl//tsl/lib/gtl:map_util'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:4084:11: in cc_library rule @xla//xla/service:logical_buffer: Target '@xla//xla/service:logical_buffer' violates visibility of target '@tsl//tsl/lib/gtl:int_type'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3387:11: in cc_library rule @xla//xla/service:dot_merger: Target '@xla//xla/service:dot_merger' violates visibility of target '@xla//xla/service/graphcycles:graphcycles'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:4072:11: in cc_library rule @xla//xla/service:buffer_value_containers: Target '@xla//xla/service:buffer_value_containers' violates visibility of target '@tsl//tsl/lib/gtl:compactptrset'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:5390:11: in cc_library rule @xla//xla/service:hlo_graph_dumper: Target '@xla//xla/service:hlo_graph_dumper' violates visibility of target '@tsl//tsl/lib/gtl:map_util'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:5390:11: in cc_library rule @xla//xla/service:hlo_graph_dumper: Target '@xla//xla/service:hlo_graph_dumper' violates visibility of target '@tsl//tsl/lib/io:zlib_compression_options'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:5390:11: in cc_library rule @xla//xla/service:hlo_graph_dumper: Target '@xla//xla/service:hlo_graph_dumper' violates visibility of target '@tsl//tsl/lib/io:zlib_outputbuffer'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3920:11: in cc_library rule @xla//xla/service:hlo_cost_analysis: Target '@xla//xla/service:hlo_cost_analysis' violates visibility of target '@tsl//tsl/lib/gtl:map_util'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:4416:11: in cc_library rule @xla//xla/service:tuple_points_to_analysis: Target '@xla//xla/service:tuple_points_to_analysis' violates visibility of target '@tsl//tsl/lib/gtl:compactptrset'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:393:11: in cc_library rule @xla//xla/service:dump: Target '@xla//xla/service:dump' violates visibility of target '@tsl//tsl/lib/io:zlib_compression_options'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:393:11: in cc_library rule @xla//xla/service:dump: Target '@xla//xla/service:dump' violates visibility of target '@tsl//tsl/lib/io:zlib_outputbuffer'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:393:11: in cc_library rule @xla//xla/service:dump: Target '@xla//xla/service:dump' violates visibility of target '@tsl//tsl/lib/strings:proto_serialization'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/tsl/framework/BUILD:297:11: in cc_library rule @tsl//tsl/framework:fixedpoint_types: Target '@tsl//tsl/framework:fixedpoint_types' violates visibility of alias '@eigen_archive//:eigen3' referring to target '@xla//third_party/eigen3:eigen3'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/tsl/framework/fixedpoint/BUILD:14:11: in cc_library rule @tsl//tsl/framework/fixedpoint:fixedpoint: Target '@tsl//tsl/framework/fixedpoint:fixedpoint' violates visibility of alias '@eigen_archive//:eigen3' referring to target '@xla//third_party/eigen3:eigen3'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/tsl/framework/contraction/BUILD:65:11: in cc_library rule @tsl//tsl/framework/contraction:eigen_contraction_kernel_with_mkl: Target '@tsl//tsl/framework/contraction:eigen_contraction_kernel_with_mkl' violates visibility of alias '@eigen_archive//:eigen3' referring to target '@xla//third_party/eigen3:eigen3'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/cpu/BUILD:1061:11: in cc_library rule @xla//xla/service/cpu:runtime_single_threaded_matmul: Target '@xla//xla/service/cpu:runtime_single_threaded_matmul' violates visibility of alias '@eigen_archive//:eigen3' referring to target '@xla//third_party/eigen3:eigen3'. Continuing because --nocheck_visibility is active
INFO: Repository com_github_eigenteam_eigen instantiated at:
  /root/yp_workplace/secretflow/spu/WORKSPACE:19:9: in <toplevel>
  /root/yp_workplace/secretflow/spu/bazel/repositories.bzl:39:32: in spu_deps
  /root/yp_workplace/secretflow/spu/bazel/repositories.bzl:289:10: in _com_github_eigenteam_eigen
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe
Repository rule http_archive defined at:
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in <toplevel>
WARNING: Download from https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException Checksum was 0c8c490764f9c2a793133491adca0cd073b73e0bde965c68cbe58d91b5ed4261 but wanted 8586084f71f9bde545ee7fa6d00288b264a2b7ac3607b974e54d13e7162c1c72
ERROR: An error occurred during the fetch of repository 'com_github_eigenteam_eigen':
   Traceback (most recent call last):
        File "/root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/http.bzl", line 125, column 45, in _http_archive_impl
                download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz] to /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/com_github_eigenteam_eigen/temp11944514553605750315/eigen-3.4.0.tar.gz: Checksum was 0c8c490764f9c2a793133491adca0cd073b73e0bde965c68cbe58d91b5ed4261 but wanted 8586084f71f9bde545ee7fa6d00288b264a2b7ac3607b974e54d13e7162c1c72
ERROR: /root/yp_workplace/secretflow/spu/WORKSPACE:19:9: fetching http_archive rule //external:com_github_eigenteam_eigen: Traceback (most recent call last):
        File "/root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/http.bzl", line 125, column 45, in _http_archive_impl
                download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz] to /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/com_github_eigenteam_eigen/temp11944514553605750315/eigen-3.4.0.tar.gz: Checksum was 0c8c490764f9c2a793133491adca0cd073b73e0bde965c68cbe58d91b5ed4261 but wanted 8586084f71f9bde545ee7fa6d00288b264a2b7ac3607b974e54d13e7162c1c72
INFO: Repository stablehlo instantiated at:
  /root/yp_workplace/secretflow/spu/WORKSPACE:55:15: in <toplevel>
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/workspace2.bzl:50:28: in workspace
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/workspace2.bzl:18:14: in _initialize_third_party
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/third_party/stablehlo/workspace.bzl:11:20: in repo
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/third_party/repo.bzl:136:21: in tf_http_archive
Repository rule _tf_http_archive defined at:
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/third_party/repo.bzl:89:35: in <toplevel>
INFO: Repository com_github_facebook_zstd instantiated at:
  /root/yp_workplace/secretflow/spu/WORKSPACE:19:9: in <toplevel>
  /root/yp_workplace/secretflow/spu/bazel/repositories.bzl:36:30: in spu_deps
  /root/yp_workplace/secretflow/spu/bazel/repositories.bzl:87:10: in _com_github_facebook_zstd
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe
Repository rule http_archive defined at:
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in <toplevel>
INFO: Repository com_github_emptoolkit_emp_tool instantiated at:
  /root/yp_workplace/secretflow/spu/WORKSPACE:28:10: in <toplevel>
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/yacl/bazel/repositories.bzl:34:36: in yacl_deps
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/yacl/bazel/repositories.bzl:296:10: in _com_github_emptoolkit_emp_tool
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe
Repository rule http_archive defined at:
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in <toplevel>
INFO: Repository com_github_brpc_brpc instantiated at:
  /root/yp_workplace/secretflow/spu/WORKSPACE:28:10: in <toplevel>
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/yacl/bazel/repositories.bzl:20:26: in yacl_deps
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/yacl/bazel/repositories.bzl:52:10: in _com_github_brpc_brpc
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe
Repository rule http_archive defined at:
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in <toplevel>
ERROR: /root/yp_workplace/secretflow/spu/libspu/mpc/utils/BUILD.bazel:92:15: //libspu/mpc/utils:linalg depends on @com_github_eigenteam_eigen//:eigen3 in repository @com_github_eigenteam_eigen which failed to fetch. no such package '@com_github_eigenteam_eigen//': java.io.IOException: Error downloading [https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz] to /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/com_github_eigenteam_eigen/temp11944514553605750315/eigen-3.4.0.tar.gz: Checksum was 0c8c490764f9c2a793133491adca0cd073b73e0bde965c68cbe58d91b5ed4261 but wanted 8586084f71f9bde545ee7fa6d00288b264a2b7ac3607b974e54d13e7162c1c72
ERROR: Analysis of target '//examples/python/utils:nodectl' failed; build aborted: 
INFO: Elapsed time: 45.835s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (267 packages loaded, 15513 targets configured)
FAILED: Build did NOT complete successfully (267 packages loaded, 15513 targets configured)
    Fetching @simplest_ot; Cloning f40a33a37e3ff8cd81655c35237c177e358dc5b1 of https://github.com/secretflow/simplest-ot.git 23s
    Fetching https://github.com/facebook/zstd/releases/download/v1.5.0/zstd-1.5.0.tar.gz; 106,496B 19s

似乎问题出现在eigen3的安装上面,但当我通过sudo apt-get install libeigen3-dev安装后,运行bazel run -c opt //examples/python/utils:nodectl -- up依然会报上述错误,想问一下如何解决正确安装eigen3?

anakinxc commented 1 year ago

eigen-3.4.0 的 tar 包 signature 突然发生了奇怪的变化,已经在 #136 里修复了,麻烦同步一下代码

Stu-Yang commented 1 year ago

你好,我今天同步了spu的代码,再进行bazel run时报错(报错如下),请问是什么问题呀?

(secretflow) root@CARC-20:~/yp_workplace/secretflow/spu/examples/python/ml/ss_lr# bazel run -c opt //examples/python/utils:nodectl -- up
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'tf_runtime' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'llvm-raw' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'pybind11_bazel' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_github_grpc_grpc' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'zlib' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'upb' because it already exists.
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/tsl/lib/gtl/BUILD:100:11: in linkstatic attribute of cc_library rule @tsl//tsl/lib/gtl:map_util: setting 'linkstatic=1' is recommended if there are no object files
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/BUILD:1125:17: in cc_library rule @xla//xla:autotune_results_proto_cc_impl: Target '@xla//xla:autotune_results_proto_cc_impl' violates visibility of alias '@tsl//tsl/protobuf:autotuning_proto_cc' referring to target '@tsl//tsl/protobuf:autotuning_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:216:17: in cc_library rule @xla//xla/stream_executor:dnn_proto_cc_impl: Target '@xla//xla/stream_executor:dnn_proto_cc_impl' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/BUILD:1125:17: in cc_library rule @xla//xla:autotune_results_proto_cc_headers_only: Target '@xla//xla:autotune_results_proto_cc_headers_only' violates visibility of target '@tsl//tsl/protobuf:autotuning_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:216:17: in cc_library rule @xla//xla/stream_executor:dnn_proto_cc_headers_only: Target '@xla//xla/stream_executor:dnn_proto_cc_headers_only' violates visibility of target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/gpu/BUILD:54:17: in cc_library rule @xla//xla/service/gpu:backend_configs_cc_impl: Target '@xla//xla/service/gpu:backend_configs_cc_impl' violates visibility of alias '@xla//xla/stream_executor:dnn_proto_cc' referring to target '@xla//xla/stream_executor:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/gpu/BUILD:54:17: in cc_library rule @xla//xla/service/gpu:backend_configs_cc_headers_only: Target '@xla//xla/service/gpu:backend_configs_cc_headers_only' violates visibility of target '@xla//xla/stream_executor:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:178:11: in cc_library rule @xla//xla/stream_executor:data_type: Target '@xla//xla/stream_executor:data_type' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:6482:11: in cc_library rule @xla//xla/service:global_device_id: Target '@xla//xla/service:global_device_id' violates visibility of target '@tsl//tsl/lib/gtl:int_type'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:207:11: in cc_library rule @xla//xla/stream_executor:device_options: Target '@xla//xla/stream_executor:device_options' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:89:11: in cc_library rule @xla//xla/stream_executor:launch_dim: Target '@xla//xla/stream_executor:launch_dim' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:253:11: in cc_library rule @xla//xla/stream_executor:rng: Target '@xla//xla/stream_executor:rng' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:224:11: in cc_library rule @xla//xla/stream_executor:fft: Target '@xla//xla/stream_executor:fft' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:201:11: in cc_library rule @xla//xla/stream_executor:device_memory: Target '@xla//xla/stream_executor:device_memory' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:140:11: in cc_library rule @xla//xla/stream_executor:kernel_spec: Target '@xla//xla/stream_executor:kernel_spec' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:165:11: in cc_library rule @xla//xla/stream_executor:allocator_stats: Target '@xla//xla/stream_executor:allocator_stats' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:577:11: in cc_library rule @xla//xla/stream_executor:host_or_device_scalar: Target '@xla//xla/stream_executor:host_or_device_scalar' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:125:11: in cc_library rule @xla//xla/stream_executor:device_description: Target '@xla//xla/stream_executor:device_description' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:125:11: in cc_library rule @xla//xla/stream_executor:device_description: Target '@xla//xla/stream_executor:device_description' violates visibility of target '@tsl//tsl/lib/math:math_util'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/tsl/platform/BUILD:259:11: in cc_library rule @tsl//tsl/platform:status: Target '@tsl//tsl/platform:status' violates visibility of target '@tsl//tsl/platform/default:status'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:29:11: in cc_library rule @xla//xla/stream_executor:stream_executor_headers: Target '@xla//xla/stream_executor:stream_executor_headers' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/BUILD:293:11: in cc_library rule @xla//xla:util: Target '@xla//xla:util' violates visibility of target '@tsl//tsl/lib/gtl:iterator_range'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/BUILD:293:11: in cc_library rule @xla//xla:util: Target '@xla//xla:util' violates visibility of target '@tsl//tsl/lib/math:math_util'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:232:11: in cc_library rule @xla//xla/stream_executor:platform: Target '@xla//xla/stream_executor:platform' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:713:11: in cc_library rule @xla//xla/stream_executor:temporary_device_memory: Target '@xla//xla/stream_executor:temporary_device_memory' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:562:11: in cc_library rule @xla//xla/stream_executor:blas: Target '@xla//xla/stream_executor:blas' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:562:11: in cc_library rule @xla//xla/stream_executor:blas: Target '@xla//xla/stream_executor:blas' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:668:11: in cc_library rule @xla//xla/stream_executor:dnn: Target '@xla//xla/stream_executor:dnn' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:668:11: in cc_library rule @xla//xla/stream_executor:dnn: Target '@xla//xla/stream_executor:dnn' violates visibility of target '@tsl//tsl/lib/strings:proto_serialization'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:668:11: in cc_library rule @xla//xla/stream_executor:dnn: Target '@xla//xla/stream_executor:dnn' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/client/BUILD:46:11: in cc_library rule @xla//xla/client:padding: Target '@xla//xla/client:padding' violates visibility of target '@tsl//tsl/lib/math:math_util'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:286:11: in cc_library rule @xla//xla/stream_executor:executor_cache: Target '@xla//xla/stream_executor:executor_cache' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:286:11: in cc_library rule @xla//xla/stream_executor:executor_cache: Target '@xla//xla/stream_executor:executor_cache' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/rocm/BUILD:143:11: in cc_library rule @xla//xla/stream_executor/rocm:rocm_platform_id: Target '@xla//xla/stream_executor/rocm:rocm_platform_id' violates visibility of target '@xla//xla/stream_executor:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/host/BUILD:19:11: in cc_library rule @xla//xla/stream_executor/host:host_platform_id: Target '@xla//xla/stream_executor/host:host_platform_id' violates visibility of target '@xla//xla/stream_executor:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:345:11: in cc_library rule @xla//xla/stream_executor:multi_platform_manager: Target '@xla//xla/stream_executor:multi_platform_manager' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/cuda/BUILD:41:11: in cc_library rule @xla//xla/stream_executor/cuda:cuda_platform_id: Target '@xla//xla/stream_executor/cuda:cuda_platform_id' violates visibility of target '@xla//xla/stream_executor:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:587:11: in cc_library rule @xla//xla/stream_executor:event: Target '@xla//xla/stream_executor:event' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:587:11: in cc_library rule @xla//xla/stream_executor:event: Target '@xla//xla/stream_executor:event' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/BUILD:882:11: in cc_library rule @xla//xla:shape_tree: Target '@xla//xla:shape_tree' violates visibility of target '@tsl//tsl/lib/gtl:iterator_range'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:467:11: in cc_library rule @xla//xla/stream_executor:kernel: Target '@xla//xla/stream_executor:kernel' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:467:11: in cc_library rule @xla//xla/stream_executor:kernel: Target '@xla//xla/stream_executor:kernel' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:364:11: in cc_library rule @xla//xla/stream_executor:stream_executor_internal: Target '@xla//xla/stream_executor:stream_executor_internal' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:388:11: in cc_library rule @xla//xla/stream_executor:stream_executor_pimpl_header: Target '@xla//xla/stream_executor:stream_executor_pimpl_header' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:388:11: in cc_library rule @xla//xla/stream_executor:stream_executor_pimpl_header: Target '@xla//xla/stream_executor:stream_executor_pimpl_header' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:694:11: in cc_library rule @xla//xla/stream_executor:temporary_memory_manager: Target '@xla//xla/stream_executor:temporary_memory_manager' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:528:11: in cc_library rule @xla//xla/stream_executor:timer: Target '@xla//xla/stream_executor:timer' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:528:11: in cc_library rule @xla//xla/stream_executor:timer: Target '@xla//xla/stream_executor:timer' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:421:16: in cc_library rule @xla//xla/stream_executor:stream_executor_pimpl: Target '@xla//xla/stream_executor:stream_executor_pimpl' violates visibility of target '@xla//xla/stream_executor/platform:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:421:16: in cc_library rule @xla//xla/stream_executor:stream_executor_pimpl: Target '@xla//xla/stream_executor:stream_executor_pimpl' violates visibility of alias '@tsl//tsl/protobuf:dnn_proto_cc' referring to target '@tsl//tsl/protobuf:dnn_proto_cc_headers_only'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/stream_executor/BUILD:773:11: in cc_library rule @xla//xla/stream_executor:stream_executor_impl: Target '@xla//xla/stream_executor:stream_executor_impl' violates visibility of target '@tsl//tsl/protobuf:dnn_proto_cc_impl'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3712:11: in cc_library rule @xla//xla/service:computation_placer: Target '@xla//xla/service:computation_placer' violates visibility of target '@xla//xla/stream_executor:stream_executor'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3712:11: in cc_library rule @xla//xla/service:computation_placer: Target '@xla//xla/service:computation_placer' violates visibility of target '@xla//xla/stream_executor:platform'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3712:11: in cc_library rule @xla//xla/service:computation_placer: Target '@xla//xla/service:computation_placer' violates visibility of target '@xla//xla/stream_executor/cuda:cuda_platform_id'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3712:11: in cc_library rule @xla//xla/service:computation_placer: Target '@xla//xla/service:computation_placer' violates visibility of target '@xla//xla/stream_executor/host:host_platform_id'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3712:11: in cc_library rule @xla//xla/service:computation_placer: Target '@xla//xla/service:computation_placer' violates visibility of target '@xla//xla/stream_executor/rocm:rocm_platform_id'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/hlo/ir/BUILD:19:11: in cc_library rule @xla//xla/hlo/ir:hlo: Target '@xla//xla/hlo/ir:hlo' violates visibility of target '@tsl//tsl/lib/gtl:iterator_range'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/hlo/ir/BUILD:19:11: in cc_library rule @xla//xla/hlo/ir:hlo: Target '@xla//xla/hlo/ir:hlo' violates visibility of target '@tsl//tsl/lib/gtl:map_util'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3809:11: in cc_library rule @xla//xla/service:hlo_cost_analysis: Target '@xla//xla/service:hlo_cost_analysis' violates visibility of target '@tsl//tsl/lib/gtl:map_util'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:5264:11: in cc_library rule @xla//xla/service:hlo_graph_dumper: Target '@xla//xla/service:hlo_graph_dumper' violates visibility of target '@tsl//tsl/lib/gtl:map_util'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:5264:11: in cc_library rule @xla//xla/service:hlo_graph_dumper: Target '@xla//xla/service:hlo_graph_dumper' violates visibility of target '@tsl//tsl/lib/io:zlib_compression_options'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:5264:11: in cc_library rule @xla//xla/service:hlo_graph_dumper: Target '@xla//xla/service:hlo_graph_dumper' violates visibility of target '@tsl//tsl/lib/io:zlib_outputbuffer'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3972:11: in cc_library rule @xla//xla/service:logical_buffer: Target '@xla//xla/service:logical_buffer' violates visibility of target '@tsl//tsl/lib/gtl:int_type'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3960:11: in cc_library rule @xla//xla/service:buffer_value_containers: Target '@xla//xla/service:buffer_value_containers' violates visibility of target '@tsl//tsl/lib/gtl:compactptrset'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:3276:11: in cc_library rule @xla//xla/service:dot_merger: Target '@xla//xla/service:dot_merger' violates visibility of target '@xla//xla/service/graphcycles:graphcycles'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:4292:11: in cc_library rule @xla//xla/service:tuple_points_to_analysis: Target '@xla//xla/service:tuple_points_to_analysis' violates visibility of target '@tsl//tsl/lib/gtl:compactptrset'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:388:11: in cc_library rule @xla//xla/service:dump: Target '@xla//xla/service:dump' violates visibility of target '@tsl//tsl/lib/io:zlib_compression_options'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:388:11: in cc_library rule @xla//xla/service:dump: Target '@xla//xla/service:dump' violates visibility of target '@tsl//tsl/lib/io:zlib_outputbuffer'. Continuing because --nocheck_visibility is active
WARNING: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/xla/service/BUILD:388:11: in cc_library rule @xla//xla/service:dump: Target '@xla//xla/service:dump' violates visibility of target '@tsl//tsl/lib/strings:proto_serialization'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:algebraic_simplifier'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:batch_dot_simplification'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:batchnorm_expander'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:bitcast_dtypes_expander'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:call_inliner'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:cholesky_expander'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:conditional_simplifier'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:conditional_to_select'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:convolution_group_converter'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:dot_decomposer'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:dot_merger'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:float_normalization'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:gather_expander'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:hlo_constant_folding'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:hlo_dce'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:hlo_pass_pipeline'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:map_inliner'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:operand_upcaster'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:qr_expander'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:reshape_mover'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:result_caster'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:scatter_expander'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:sort_simplifier'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:triangular_solve_expander'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:while_loop_simplifier'. Continuing because --nocheck_visibility is active
WARNING: /root/yp_workplace/secretflow/spu/libspu/compiler/front_end/BUILD.bazel:17:15: in cc_library rule //libspu/compiler/front_end:hlo_importer: Target '//libspu/compiler/front_end:hlo_importer' violates visibility of target '@xla//xla/service:zero_sized_hlo_elimination'. Continuing because --nocheck_visibility is active
INFO: Analyzed target //examples/python/utils:nodectl (280 packages loaded, 20952 targets configured).
INFO: Found 1 target...
ERROR: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/com_github_grpc_grpc/src/core/BUILD:3386:16: Compiling src/core/ext/xds/xds_routing.cc failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 96 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from /usr/include/c++/9/bits/move.h:55,
                 from /usr/include/c++/9/bits/stl_pair.h:59,
                 from /usr/include/c++/9/bits/stl_algobase.h:64,
                 from /usr/include/c++/9/bits/stl_tree.h:63,
                 from /usr/include/c++/9/map:60,
                 from external/com_github_grpc_grpc/src/core/ext/xds/xds_routing.h:26,
                 from external/com_github_grpc_grpc/src/core/ext/xds/xds_routing.cc:21:
/usr/include/c++/9/type_traits: In instantiation of 'struct std::is_constructible<grpc_core::XdsListenerResource::FilterChainData>':
/usr/include/c++/9/type_traits:2912:25:   required from 'constexpr const bool std::is_constructible_v<grpc_core::XdsListenerResource::FilterChainData>'
/usr/include/c++/9/optional:479:66:   required by substitution of 'template<class ... _Args, typename std::enable_if<is_constructible_v<grpc_core::XdsListenerResource::FilterChainData, _Args&& ...>, bool>::type <anonymous> > constexpr std::_Optional_base<grpc_core::XdsListenerResource::FilterChainData, false, false>::_Optional_base(std::in_place_t, _Args&& ...) [with _Args = {}; typename std::enable_if<is_constructible_v<grpc_core::XdsListenerResource::FilterChainData, _Args&& ...>, bool>::type <anonymous> = <missing>]'
/usr/include/c++/9/type_traits:883:12:   required from 'struct std::is_constructible<grpc_core::XdsListenerResource::TcpListener, const grpc_core::XdsListenerResource::TcpListener&>'
/usr/include/c++/9/type_traits:901:12:   required from 'struct std::__is_copy_constructible_impl<grpc_core::XdsListenerResource::TcpListener, true>'
/usr/include/c++/9/type_traits:907:12:   required from 'struct std::is_copy_constructible<grpc_core::XdsListenerResource::TcpListener>'
/usr/include/c++/9/type_traits:2918:25:   required from 'constexpr const bool std::is_copy_constructible_v<grpc_core::XdsListenerResource::TcpListener>'
/usr/include/c++/9/variant:275:5:   required from 'constexpr const bool std::__detail::__variant::_Traits<grpc_core::XdsListenerResource::HttpConnectionManager, grpc_core::XdsListenerResource::TcpListener>::_S_copy_ctor'
/usr/include/c++/9/variant:1228:11:   required from 'class std::variant<grpc_core::XdsListenerResource::HttpConnectionManager, grpc_core::XdsListenerResource::TcpListener>'
external/com_github_grpc_grpc/src/core/ext/xds/xds_listener.h:189:53:   required from here
/usr/include/c++/9/type_traits:883:12: error: default member initializer for 'grpc_core::XdsListenerResource::DownstreamTlsContext::require_client_certificate' required before the end of its enclosing class
  883 |     struct is_constructible
      |            ^~~~~~~~~~~~~~~~
In file included from external/com_github_grpc_grpc/src/core/ext/xds/xds_routing.h:35,
                 from external/com_github_grpc_grpc/src/core/ext/xds/xds_routing.cc:21:
external/com_github_grpc_grpc/src/core/ext/xds/xds_listener.h:83:37: note: defined here
   83 |     bool require_client_certificate = false;
      |                                     ^~~~~~~~
Target //examples/python/utils:nodectl failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 12.989s, Critical Path: 10.01s
INFO: 65 processes: 28 internal, 37 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
anakinxc commented 1 year ago

@Stu-Yang

/usr/include/c++/9 麻烦安装 gcc 11,gcc 9 我们并不支持,当然也可以用 spu-ci 这个 docker 镜像来编译

Stu-Yang commented 1 year ago

@anakinxc 非常感谢你的及时回复,目前编译又出现了一些问题,我尝试了一些解决办法但没有奏效。

当我执行bazel run -c opt //examples/python/utils:nodectl -- up时,出现了下面的问题,一开始以为是网络问题,重复执行几次后还是会报错。之后以为是之前编译缓存问题,执行bazel clean --expunge后发现还是会报同样的错误。

想问一下这个如何解决,这看起来确实是下载的问题?

(secretflow) root@CARC-20:~/yp_workplace/secretflow/spu/examples/python/ml/ss_lr# bazel run -c opt //examples/python/utils:nodectl -- up
Starting local Bazel server and connecting to it...
DEBUG: Rule 'yacl' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1680146773 +0800"
DEBUG: Repository yacl instantiated at:
  /root/yp_workplace/secretflow/spu/WORKSPACE:19:9: in <toplevel>
  /root/yp_workplace/secretflow/spu/bazel/repositories.bzl:46:10: in spu_deps
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe
Repository rule git_repository defined at:
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'tf_runtime' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/xla/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'llvm-raw' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'pybind11_bazel' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'com_github_grpc_grpc' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'zlib' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/tsl/third_party/repo.bzl:132:14: 
Warning: skipping import of repository 'upb' because it already exists.
INFO: Repository com_google_protobuf instantiated at:
  /root/yp_workplace/secretflow/spu/WORKSPACE:28:10: in <toplevel>
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/yacl/bazel/repositories.bzl:29:25: in yacl_deps
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/yacl/bazel/repositories.bzl:124:10: in _com_google_protobuf
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe
Repository rule http_archive defined at:
  /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in <toplevel>
WARNING: Download from https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protobuf-all-3.19.4.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 401 Unauthorized
ERROR: An error occurred during the fetch of repository 'com_google_protobuf':
   Traceback (most recent call last):
        File "/root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/http.bzl", line 125, column 45, in _http_archive_impl
                download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protobuf-all-3.19.4.tar.gz] to /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/com_google_protobuf/temp7430484153778038173/protobuf-all-3.19.4.tar.gz: GET returned 401 Unauthorized
ERROR: /root/yp_workplace/secretflow/spu/WORKSPACE:28:10: fetching http_archive rule //external:com_google_protobuf: Traceback (most recent call last):
        File "/root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/bazel_tools/tools/build_defs/repo/http.bzl", line 125, column 45, in _http_archive_impl
                download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protobuf-all-3.19.4.tar.gz] to /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/com_google_protobuf/temp7430484153778038173/protobuf-all-3.19.4.tar.gz: GET returned 401 Unauthorized
ERROR: no such package '@com_google_protobuf//': java.io.IOException: Error downloading [https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protobuf-all-3.19.4.tar.gz] to /root/.cache/bazel/_bazel_root/334f4c68bae767008a9ac672daa07cfa/external/com_google_protobuf/temp7430484153778038173/protobuf-all-3.19.4.tar.gz: GET returned 401 Unauthorized
INFO: Elapsed time: 442.973s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
    Fetching https://github.com/protocolbuffers/protobuf/releases/download/v3.19.4/protobuf-all-3.19.4.tar.gz; 2,235,791B 398s
anakinxc commented 1 year ago
GET returned 401 Unauthorized

检查一下网络