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
The build command was bazel build proto:hello_proto.
What did you expect to see?
Build go through.
What did you see instead?
ERROR: /home/rishin/workspace/grpc_blaze/proto/BUILD:5:14: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf//:protoc', but this target could not be found because of: no such package '@com_google_protobuf//': The repository '@com_google_protobuf' could not be resolved
ERROR: Analysis of target '//proto:hello_proto' failed; build aborted: Analysis failed
The text was updated successfully, but these errors were encountered:
What version of gazelle are you using?
Not using gazelle.
What version of rules_go are you using?
Not using rules_go.
What version of Bazel are you using?
bazel 3.5.1- (@non-git)
Does this issue reproduce with the latest releases of all the above?
Did not check this since these are the latest available version on Ubuntu 22.04 and I am stuck with the OS.
What operating system and processor architecture are you using?
Linux 6.2.0-36-generic 22.04.1-Ubuntu x86_64
What did you do?
Directory structure as follows:
Empty
WORKSPACE
file.The
BUILD
file is as follows:My
protoc
version islibprotoc 3.12.4
.The build command was
bazel build proto:hello_proto
.What did you expect to see?
Build go through.
What did you see instead?
ERROR: /home/rishin/workspace/grpc_blaze/proto/BUILD:5:14: every rule of type proto_library implicitly depends upon the target '@com_google_protobuf//:protoc', but this target could not be found because of: no such package '@com_google_protobuf//': The repository '@com_google_protobuf' could not be resolved
ERROR: Analysis of target '//proto:hello_proto' failed; build aborted: Analysis failed
The text was updated successfully, but these errors were encountered: