this got resolved . 
ref https://github.com/protocolbuffers/protobuf/issues/5376

On Monday, August 1, 2022 at 11:45:41 AM UTC+5:30 ajith u wrote:

> 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 protobuf+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/4391632b-e78b-4824-9538-916dbaa0d23dn%40googlegroups.com.

Reply via email to