develep branch build failed with manylinux devel Docker image
Created by: Yancey1989
The grpc build failed, https://paddleci.ngrok.io/viewLog.html?buildId=19763&buildTypeId=Manylinux1_CpuAvxOpenblas&tab=buildLog&_focus=4023
[23:14:38] In file included from src/compiler/php_generator.cc:23:0:
[23:14:38] ./src/compiler/php_generator_helpers.h: In function ‘grpc::string grpc_php_generator::GetPHPServiceFilename(const FileDescriptor*, const ServiceDescriptor*, const string&)’:
[23:14:38] ./src/compiler/php_generator_helpers.h:51:23: error: ‘const class google::protobuf::FileOptions’ has no member named ‘has_php_namespace’
[23:14:38] if (file->options().has_php_namespace()) {
[23:14:38] ^
[23:14:38] ./src/compiler/php_generator_helpers.h:52:39: error: ‘const class google::protobuf::FileOptions’ has no member named ‘php_namespace’
[23:14:38] oss << ReplaceAll(file->options().php_namespace(), "\\", "/");
[23:14:38] ^
[23:14:38] src/compiler/php_generator.cc: In function ‘grpc::string grpc_php_generator::{anonymous}::PackageName(const FileDescriptor*)’:
[23:14:38] src/compiler/php_generator.cc:47:23: error: ‘const class google::protobuf::FileOptions’ has no member named ‘has_php_namespace’
[23:14:38] if (file->options().has_php_namespace()) {
[23:14:38] ^
[23:14:38] src/compiler/php_generator.cc:48:28: error: ‘const class google::protobuf::FileOptions’ has no member named ‘php_namespace’
[23:14:38] return file->options().php_namespace();
[23:14:38] ^
[23:14:38] src/compiler/php_generator.cc:52:1: error: control reaches end of non-void function [-Werror=return-type]
[23:14:38] }
[23:14:38] ^
[23:14:38] cc1plus: all warnings being treated as errors