bazel build fails for @com_google_protobuf://protobuf on Bazel 3.7.1 on mac intel monteray 12.5
2,293 views
Skip to first unread message
ajith u
unread,
Aug 1, 2022, 2:15:41 AM8/1/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Protocol Buffers
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 ?
ajith u
unread,
Aug 1, 2022, 5:04:57 AM8/1/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message