Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
If we use old Protocol Buffers, bundled gRPC reports build error:
/tmp/arrow-0.14.0.dJDu3/apache-arrow-0.14.0/cpp/build/grpc_ep-prefix/src/grpc_ep/src/compiler/php_generator.cc:21:10: fatal error: google/protobuf/compiler/php/php_generator.h: No such file or directory #include <google/protobuf/compiler/php/php_generator.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[5]: *** [CMakeFiles/grpc_plugin_support.dir/src/compiler/php_generator.cc.o] Error 1 make[5]: *** Waiting for unfinished jobs.... /tmp/arrow-0.14.0.dJDu3/apache-arrow-0.14.0/cpp/build/grpc_ep-prefix/src/grpc_ep/src/compiler/ruby_generator.cc: In function ‘grpc::string grpc_ruby_generator::GetServices(const FileDescriptor*)’: /tmp/arrow-0.14.0.dJDu3/apache-arrow-0.14.0/cpp/build/grpc_ep-prefix/src/grpc_ep/src/compiler/ruby_generator.cc:165:25: error: ‘const class google::protobuf::FileOptions’ has no member named ‘has_ruby_package’; did you mean ‘has_java_package’? if (file->options().has_ruby_package()) { ^~~~~~~~~~~~~~~~ has_java_package /tmp/arrow-0.14.0.dJDu3/apache-arrow-0.14.0/cpp/build/grpc_ep-prefix/src/grpc_ep/src/compiler/ruby_generator.cc:166:38: error: ‘const class google::protobuf::FileOptions’ has no member named ‘ruby_package’; did you mean ‘java_package’? package_name = file->options().ruby_package(); ^~~~~~~~~~~~ java_package make[5]: *** [CMakeFiles/grpc_plugin_support.dir/src/compiler/ruby_generator.cc.o] Error 1 make[4]: *** [CMakeFiles/grpc_plugin_support.dir/all] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [all] Error 2
Attachments
Issue Links
- links to