You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checkout master branch code, and build metadata store go proto and metadata store service go proto error
What you expected to happen:
Build metadata store go proto and metadata store service go proto sucessfully
How to reproduce it (as minimally and precisely as possible):
➜ ml-metadata git:(master) ✗ bazel build -s -c opt --define grpc_no_ares=true //ml_metadata/proto:metadata_store_go_proto
INFO: Analysed target //ml_metadata/proto:metadata_store_go_proto (0 packages loaded, 0 targets configured).
...
ERROR: /data/tongchao/work/go/src/github.com/google/ml-metadata/ml_metadata/proto/BUILD:57:1: Generating Descriptor Set proto_library //ml_metadata/proto:metadata_store_proto_copy failed (Exit 1) protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc '--descriptor_set_out=bazel-out/k8-opt/genfiles/ml_metadata/proto/metadata_store_proto_copy-descriptor-set.proto.bin' ... (remaining 5 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
google/protobuf/struct.proto: File not found.
ml_metadata/proto/metadata_store.proto:19:1: Import "google/protobuf/struct.proto" was not found or had errors.
ml_metadata/proto/metadata_store.proto:27:5: "google.protobuf.Struct" is not defined.
Target //ml_metadata/proto:metadata_store_go_proto failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.335s, Critical Path: 0.07s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
➜ ml-metadata git:(master) ✗ bazel build -s -c opt --define grpc_no_ares=true //ml_metadata/proto:metadata_store_service_go_proto
ERROR: /data/tongchao/.cache/bazel/_bazel_tongchao/953894ff544ae0ec51997aa49a4c9758/external/io_bazel_rules_go/proto/BUILD.bazel:21:1: no such package '@org_golang_google_grpc//codes': The repository '@org_golang_google_grpc' could not be resolved and referenced by '@io_bazel_rules_go//proto:go_grpc'
ERROR: Analysis of target '//ml_metadata/proto:metadata_store_service_go_proto' failed; build aborted: no such package '@org_golang_google_grpc//codes': The repository '@org_golang_google_grpc' could not be resolved
INFO: Elapsed time: 0.096s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
What happened:
Checkout master branch code, and build metadata store go proto and metadata store service go proto error
What you expected to happen:
Build metadata store go proto and metadata store service go proto sucessfully
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Update google_ml_metadata to v0.27.0 version, resulting in compilation failure
Environment:
bazel version
):cat /etc/os-release
):uname -a
):➜ ml-metadata git:(master) ✗ uname -a Linux localhost 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: