Hi, i tried to build zetasql in ubuntu docker and got the error below
error
ERROR: /zetasql/zetasql/public/BUILD:515:11: Compiling zetasql/public/json_value.cc failed: (Exit 1): gcc failed: error executing command (from target //zetasql/public:json_value) /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++17' -MD -MF ... (remaining 57 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
zetasql/public/json_value.cc: In static member function 'static absl::StatusOr<zetasql::JSONValue> zetasql::JSONValue::ParseJSONString(absl::string_view, zetasql::JSONParsingOptions)':
zetasql/public/json_value.cc:461:10: error: could not convert 'json' from 'zetasql::JSONValue' to 'absl::StatusOr<zetasql::JSONValue>'
return json;
^~~~
zetasql/public/json_value.cc: In static member function 'static absl::StatusOr<zetasql::JSONValue> zetasql::JSONValue::DeserializeFromProtoBytes(absl::string_view, std::optional<int>)':
zetasql/public/json_value.cc:471:10: error: could not convert 'json' from 'zetasql::JSONValue' to 'absl::StatusOr<zetasql::JSONValue>'
return json;
^~~~
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-stringop-truncation'
cc1plus: warning: unrecognized command line option '-Wno-class-memaccess'
INFO: Elapsed time: 653.156s, Critical Path: 79.20s
INFO: 1036 processes: 493 internal, 543 processwrapper-sandbox.
FAILED: Build did NOT complete successfully
Hi, i tried to build zetasql in ubuntu docker and got the error below
error
Dockerfile