Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazel build //src:person_cc_proto fail #20

Open
HenryQin opened this issue Aug 19, 2023 · 2 comments
Open

bazel build //src:person_cc_proto fail #20

HenryQin opened this issue Aug 19, 2023 · 2 comments

Comments

@HenryQin
Copy link

I got these message for compiling person_cc_proto

ERROR: /home/lighthouse/.cache/bazel/_bazel_lighthouse/63bd832c5da9da3b0281fb42bbcf7349/external/com_google_protobuf/BUILD:1006:21: in proto_lang_toolchain rule @com_google_protobuf//:cc_toolchain: '@com_google_protobuf//:cc_toolchain' does not have mandatory provider 'ProtoInfo'.
ERROR: Analysis of target '//src:person_cc_proto' failed; build aborted: Analysis of target '@com_google_protobuf//:cc_toolchain' failed
INFO: Elapsed time: 0.204s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)

@HenryQin
Copy link
Author

it is ok building person_java_proto

@HenryQin
Copy link
Author

bazel 4.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant