Skip to content

ERROR: Analysis of target '//psi/algorithm/dkpir:dk_pir_benchmark' failed; build aborted: Analysis failed #376

Description

@gpt8763

(base) [root@VM-16-10-centos psi]# bazel build //... -c opt
Starting local Bazel server (8.6.0rc1) and connecting to it...
WARNING: /root/psi/MODULE.bazel:8:7: The attribute 'compatibility_level' in module() is a no-op and will be removed in a future Bazel release. Please remove it from your MODULE.bazel file.
WARNING: For repository 'platforms', the root module requires module version platforms@0.0.11, but got platforms@1.0.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'rules_cc', the root module requires module version rules_cc@0.0.13, but got rules_cc@0.2.13 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'rules_proto', the root module requires module version rules_proto@6.0.0.bcr.1, but got rules_proto@7.0.2 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'protobuf', the root module requires module version protobuf@27.3, but got protobuf@29.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off

git clone (base) [root@VM-16-10-centos psi]# bazel build //... -c opt
Starting local Bazel server (8.6.0rc1) and connecting to it...
WARNING: /root/psi/MODULE.bazel:8:7: The attribute 'compatibility_level' in module() is a no-op and will be removed in a future Bazel release. Please remove it from your MODULE.bazel file.
WARNING: For repository 'platforms', the root module requires module version platforms@0.0.11, but got platforms@1.0.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'rules_cc', the root module requires module version rules_cc@0.0.13, but got rules_cc@0.2.13 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'rules_proto', the root module requires module version rules_proto@6.0.0.bcr.1, but got rules_proto@7.0.2 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'protobuf', the root module requires module version protobuf@27.3, but got protobuf@29.0 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'abseil-cpp', the root module requires module version abseil-cpp@20240722.0, but got abseil-cpp@20240722.0.bcr.1 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'boost.math', the root module requires module version boost.math@1.83.0, but got boost.math@1.83.0.bcr.1 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'zlib', the root module requires module version zlib@1.3.1.bcr.3, but got zlib@1.3.1.bcr.5 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: /root/psi/experiment/pir/piano/BUILD.bazel:26:17: target '//experiment/pir/piano:piano_cc_proto' is deprecated: cc_proto_library is removed from @rules_cc//cc:defs.bzl in Bazel 8. Please load the implementation from https://github.com/protocolbuffers/protobuf. After adding the dependency to WORKSPACE or MODULE.bazel use the load statement: load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
WARNING: /root/psi/psi/checkpoint/BUILD.bazel:27:17: target '//psi/checkpoint:checkpoint_cc_proto' is deprecated: cc_proto_library is removed from @rules_cc//cc:defs.bzl in Bazel 8. Please load the implementation from https://github.com/protocolbuffers/protobuf. After adding the dependency to WORKSPACE or MODULE.bazel use the load statement: load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
WARNING: /root/psi/psi/utils/BUILD.bazel:155:17: target '//psi/utils:serializable_cc_proto' is deprecated: cc_proto_library is removed from @rules_cc//cc:defs.bzl in Bazel 8. Please load the implementation from https://github.com/protocolbuffers/protobuf. After adding the dependency to WORKSPACE or MODULE.bazel use the load statement: load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
WARNING: /root/psi/psi/utils/BUILD.bazel:165:17: target '//psi/utils:table_utils_cc_proto' is deprecated: cc_proto_library is removed from @rules_cc//cc:defs.bzl in Bazel 8. Please load the implementation from https://github.com/protocolbuffers/protobuf. After adding the dependency to WORKSPACE or MODULE.bazel use the load statement: load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
ERROR: /root/.cache/bazel/_bazel_root/ac48ce55773798e90aa778c645d5c53e/external/yacl+/yacl/link/transport/BUILD.bazel:61:17: in cc_proto_library rule @@YacL+//yacl/link/transport:ic_transport_proto:
Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/ac48ce55773798e90aa778c645d5c53e/external/rules_cc+/cc/private/rules_impl/failing_cc_proto_library.bzl", line 26, column 9, in _impl
fail(CC_PROTO_LIBRARY_DEPRECATION)
Error in fail: cc_proto_library is removed from @rules_cc//cc:defs.bzl in Bazel 8. Please load the implementation from https://github.com/protocolbuffers/protobuf. After adding the dependency to WORKSPACE or MODULE.bazel use the load statement: load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
ERROR: /root/.cache/bazel/_bazel_root/ac48ce55773798e90aa778c645d5c53e/external/yacl+/yacl/link/transport/BUILD.bazel:61:17: Analysis of target '@@YacL+//yacl/link/transport:ic_transport_proto' (config: 673b1c0) failed
Use --verbose_failures to see the command lines of failed build steps.
ERROR: Analysis of target '//psi/algorithm/dkpir:dk_pir_benchmark' failed; build aborted: Analysis failed
INFO: Elapsed time: 71.361s, Critical Path: 3.40s
INFO: 19 processes: 19 internal.
ERROR: Build did NOT complete successfully
FAILED:
Fetching repository @@aws_sdk_cpp+; starting 4s
Fetching /root/.cache/bazel/_bazel_root/ac48ce55773798e90aa778c645d5c53e/external/aws_sdk_cpp+; Extracting 1.7.336.tar.gz

WARNING: For repository 'abseil-cpp', the root module requires module version abseil-cpp@20240722.0, but got abseil-cpp@20240722.0.bcr.1 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'boost.math', the root module requires module version boost.math@1.83.0, but got boost.math@1.83.0.bcr.1 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: For repository 'zlib', the root module requires module version zlib@1.3.1.bcr.3, but got zlib@1.3.1.bcr.5 in the resolved dependency graph. Please update the version in your MODULE.bazel or set --check_direct_dependencies=off
WARNING: /root/psi/experiment/pir/piano/BUILD.bazel:26:17: target '//experiment/pir/piano:piano_cc_proto' is deprecated: cc_proto_library is removed from @rules_cc//cc:defs.bzl in Bazel 8. Please load the implementation from https://github.com/protocolbuffers/protobuf. After adding the dependency to WORKSPACE or MODULE.bazel use the load statement: load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
WARNING: /root/psi/psi/checkpoint/BUILD.bazel:27:17: target '//psi/checkpoint:checkpoint_cc_proto' is deprecated: cc_proto_library is removed from @rules_cc//cc:defs.bzl in Bazel 8. Please load the implementation from https://github.com/protocolbuffers/protobuf. After adding the dependency to WORKSPACE or MODULE.bazel use the load statement: load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
WARNING: /root/psi/psi/utils/BUILD.bazel:155:17: target '//psi/utils:serializable_cc_proto' is deprecated: cc_proto_library is removed from @rules_cc//cc:defs.bzl in Bazel 8. Please load the implementation from https://github.com/protocolbuffers/protobuf. After adding the dependency to WORKSPACE or MODULE.bazel use the load statement: load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
WARNING: /root/psi/psi/utils/BUILD.bazel:165:17: target '//psi/utils:table_utils_cc_proto' is deprecated: cc_proto_library is removed from @rules_cc//cc:defs.bzl in Bazel 8. Please load the implementation from https://github.com/protocolbuffers/protobuf. After adding the dependency to WORKSPACE or MODULE.bazel use the load statement: load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
ERROR: /root/.cache/bazel/_bazel_root/ac48ce55773798e90aa778c645d5c53e/external/yacl+/yacl/link/transport/BUILD.bazel:61:17: in cc_proto_library rule @@YacL+//yacl/link/transport:ic_transport_proto:
Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/ac48ce55773798e90aa778c645d5c53e/external/rules_cc+/cc/private/rules_impl/failing_cc_proto_library.bzl", line 26, column 9, in _impl
fail(CC_PROTO_LIBRARY_DEPRECATION)
Error in fail: cc_proto_library is removed from @rules_cc//cc:defs.bzl in Bazel 8. Please load the implementation from https://github.com/protocolbuffers/protobuf. After adding the dependency to WORKSPACE or MODULE.bazel use the load statement: load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library")
ERROR: /root/.cache/bazel/_bazel_root/ac48ce55773798e90aa778c645d5c53e/external/yacl+/yacl/link/transport/BUILD.bazel:61:17: Analysis of target '@@YacL+//yacl/link/transport:ic_transport_proto' (config: 673b1c0) failed
Use --verbose_failures to see the command lines of failed build steps.
ERROR: Analysis of target '//psi/algorithm/dkpir:dk_pir_benchmark' failed; build aborted: Analysis failed
INFO: Elapsed time: 71.361s, Critical Path: 3.40s
INFO: 19 processes: 19 internal.
ERROR: Build did NOT complete successfully
FAILED:
Fetching repository @@aws_sdk_cpp+; starting 4s
Fetching /root/.cache/bazel/_bazel_root/ac48ce55773798e90aa778c645d5c53e/external/aws_sdk_cpp+; Extracting 1.7.336.tar.gz

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions