Hi,
We are running the below Bazel build command
*bazel build @com_google_protobuf://protobuf *
And it is erroring out with
*external/com_google_protobuf/src/google/protobuf/stubs/statusor.h:193:29:
error: no member named 'UNKNOWN' in
'google::protobuf::util::status_internal::Status' :
status_(util::Status::UNKNOWN) { ~~~~~~~~~~~~~~^
external/com_google_protobuf/src/google/protobuf/stubs/statusor.h:199:22:
error: use of undeclared identifier 'error' status_ =
Status(error::INTERNAL, "Status::OK is not a valid argument."); ^
external/com_google_protobuf/src/google/protobuf/stubs/statusor.h:208:22:
error: use of undeclared identifier 'error' status_ =
Status(error::INTERNAL, "nullptr is not a valid argument."); ^
external/com_google_protobuf/src/google/protobuf/stubs/statusor.h:210:23:
error: no member named 'OK' in
'google::protobuf::util::status_internal::Status' status_ = Status::OK;
~~~~~~~~^*
Bazel version is 3.7.1 and this error is happening only on Mac with Intel
chipset.
Mac OS Monterey on M1 chip is not having this error.
Any idea on this behaviour ?
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/protobuf/ee52817d-66dd-4bf4-b32f-3d29b2d3693bn%40googlegroups.com.