conan-center-index
conan-center-index copied to clipboard
[grpc] Use protos and binaries from requirements `googleapis` and `grpc-proto` (RFC)
Here I'm proposing some patches to consume headers and libraries from googleapis and grpc-proto instead of generating and building them in grpc itself. In any case there are some protos that need to be generated while building grpc because they use grpc_cpp_plugin (utility like protoc) that is built in the grpc project.
With this approach, I try to prevent ODR violations when consumers of grpc need to use some protos from googleapis (I'm looking at you, google-cloud-cpp project). It will also ensure that all the graph is using the same protos (and files generated from them).
Finally, the patches were not as complicated as I had feared 😃
Big question: is it worth the effort? Is it adding too much complexity to the project?
TODO:
- [x] Pending https://github.com/conan-io/conan-center-index/pull/11827
Failure in build 1 (a9f780c1e4fc2694d2fa0048221e8aff46a5dfc9):
-
grpc/1.46.3@: Didn't run or was cancelled before finishing
-
grpc/1.48.0@: Didn't run or was cancelled before finishing
-
grpc/1.47.1@: Error running command
conan info grpc/1.47.1@#dfabded1dcc2a66b449b1ce969326253 --json {jsonName} -pr {profileName}:[settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] grpc:shared=True ... ERROR: grpc-proto/cci.20220627: option 'shared' doesn't exist Possible options are []
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.
I detected other pull requests that are modifying grpc/all recipe:
- #12157
- #10804
This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.
Failure in build 3 (45804d3ffe785dfe467e4782dbdaf09f1acb4af4):
-
grpc/1.47.1@: Didn't run or was cancelled before finishing
-
grpc/1.46.3@: CI failed to create some packages (All logs)
Logs for packageID
dceb11da3bc4824b6ff740f02a7a3f73a5efacda:[settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux [options] grpc:shared=False[...] /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/core/ext/transport/binder/transport/binder_transport.cc:674:29: warning: format not a string literal and no format arguments [-Wformat-security] 674 | gpr_log(GPR_INFO, __func__); | ^ /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/core/ext/transport/binder/transport/binder_transport.cc: In function ‘void destroy_transport(grpc_transport*)’: /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/core/ext/transport/binder/transport/binder_transport.cc:693:29: warning: format not a string literal and no format arguments [-Wformat-security] 693 | gpr_log(GPR_INFO, __func__); | ^ /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/core/ext/transport/binder/transport/binder_transport.cc: In function ‘grpc_endpoint* get_endpoint(grpc_transport*)’: /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/core/ext/transport/binder/transport/binder_transport.cc:701:29: warning: format not a string literal and no format arguments [-Wformat-security] 701 | gpr_log(GPR_INFO, __func__); | ^ /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/core/ext/transport/binder/transport/binder_transport.cc: In constructor ‘grpc_binder_transport::grpc_binder_transport(std::unique_ptr<grpc_binder::Binder>, bool, std::shared_ptr<grpc::experimental::binder::SecurityPolicy>)’: /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/core/ext/transport/binder/transport/binder_transport.cc:737:29: warning: format not a string literal and no format arguments [-Wformat-security] 737 | gpr_log(GPR_INFO, __func__); | ^ /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/core/ext/transport/binder/transport/binder_transport.cc: In function ‘grpc_transport* grpc_create_binder_transport_client(std::unique_ptr<grpc_binder::Binder>, std::shared_ptr<grpc::experimental::binder::SecurityPolicy>)’: /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/core/ext/transport/binder/transport/binder_transport.cc:767:29: warning: format not a string literal and no format arguments [-Wformat-security] 767 | gpr_log(GPR_INFO, __func__); | ^ /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/core/ext/transport/binder/transport/binder_transport.cc: In function ‘grpc_transport* grpc_create_binder_transport_server(std::unique_ptr<grpc_binder::Binder>, std::shared_ptr<grpc::experimental::binder::SecurityPolicy>)’: /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/core/ext/transport/binder/transport/binder_transport.cc:782:29: warning: format not a string literal and no format arguments [-Wformat-security] 782 | gpr_log(GPR_INFO, __func__); | ^ /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/core/ext/transport/binder/wire_format/wire_reader_impl.cc: In member function ‘absl::lts_20211102::Status grpc_binder::WireReaderImpl::ProcessTransaction(transaction_code_t, grpc_binder::ReadableParcel*, int)’: /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/core/ext/transport/binder/wire_format/wire_reader_impl.cc:154:29: warning: format not a string literal and no format arguments [-Wformat-security] 154 | gpr_log(GPR_INFO, __func__); | ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/cpp/server/channelz/channelz_service.cc:21: /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/cpp/server/channelz/channelz_service.h:26:10: fatal error: src/proto/grpc/channelz/channelz.grpc.pb.h: No such file or directory 26 | #include "src/proto/grpc/channelz/channelz.grpc.pb.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [source_subfolder/CMakeFiles/grpcpp_channelz.dir/build.make:106: source_subfolder/CMakeFiles/grpcpp_channelz.dir/src/cpp/server/channelz/channelz_service.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/cpp/ext/proto_server_reflection.cc:19: /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/source_subfolder/src/cpp/ext/proto_server_reflection.h:27:10: fatal error: src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h: No such file or directory 27 | #include "src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [source_subfolder/CMakeFiles/grpc++_reflection.dir/build.make:106: source_subfolder/CMakeFiles/grpc++_reflection.dir/src/cpp/ext/proto_server_reflection.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:326: source_subfolder/CMakeFiles/grpc++_reflection.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:358: source_subfolder/CMakeFiles/grpcpp_channelz.dir/all] Error 2 make: *** [Makefile:149: all] Error 2 grpc/1.46.3: ERROR: Package 'dceb11da3bc4824b6ff740f02a7a3f73a5efacda' build failed grpc/1.46.3: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda ERROR: grpc/1.46.3: Error in build() method, line 222 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.46.3/_/_/build/dceb11da3bc4824b6ff740f02a7a3f73a5efacda/build_subfolder' '--' '-j3' -
grpc/1.48.0@: Didn't run or was cancelled before finishing
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.
Failure in build 4 (c43d07fc7c1c47d4def7abba7c62bead474d7103):
-
grpc/1.48.0@: Didn't run or was cancelled before finishing
-
grpc/1.47.1@: CI failed to create some packages (All logs)
Logs for packageID
becfcc4203ec289d95b0d80e4a0c9b6b79be0c25:[settings] arch=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos [options] grpc:shared=True[...] "grpc::channelz::v1::GetServersRequest::GetServersRequest(google::protobuf::Arena*, bool)", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetServersRequest, grpc::channelz::v1::GetServersResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::Deserialize(grpc_call*, grpc_byte_buffer*, grpc::Status*, void**) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetServersRequest::~GetServersRequest()", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetServersRequest, grpc::channelz::v1::GetServersResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetSocketResponse::GetSocketResponse(google::protobuf::Arena*, bool)", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetSocketRequest, grpc::channelz::v1::GetSocketResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetSocketResponse::~GetSocketResponse()", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetSocketRequest, grpc::channelz::v1::GetSocketResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetChannelResponse::GetChannelResponse(google::protobuf::Arena*, bool)", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetChannelRequest, grpc::channelz::v1::GetChannelResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetChannelResponse::~GetChannelResponse()", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetChannelRequest, grpc::channelz::v1::GetChannelResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetServersResponse::GetServersResponse(google::protobuf::Arena*, bool)", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetServersRequest, grpc::channelz::v1::GetServersResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetServersResponse::~GetServersResponse()", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetServersRequest, grpc::channelz::v1::GetServersResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetSubchannelRequest::GetSubchannelRequest(google::protobuf::Arena*, bool)", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetSubchannelRequest, grpc::channelz::v1::GetSubchannelResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::Deserialize(grpc_call*, grpc_byte_buffer*, grpc::Status*, void**) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetSubchannelRequest::~GetSubchannelRequest()", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetSubchannelRequest, grpc::channelz::v1::GetSubchannelResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetSubchannelResponse::GetSubchannelResponse(google::protobuf::Arena*, bool)", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetSubchannelRequest, grpc::channelz::v1::GetSubchannelResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetSubchannelResponse::~GetSubchannelResponse()", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetSubchannelRequest, grpc::channelz::v1::GetSubchannelResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetTopChannelsRequest::GetTopChannelsRequest(google::protobuf::Arena*, bool)", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetTopChannelsRequest, grpc::channelz::v1::GetTopChannelsResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::Deserialize(grpc_call*, grpc_byte_buffer*, grpc::Status*, void**) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetTopChannelsRequest::~GetTopChannelsRequest()", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetTopChannelsRequest, grpc::channelz::v1::GetTopChannelsResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetTopChannelsResponse::GetTopChannelsResponse(google::protobuf::Arena*, bool)", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetTopChannelsRequest, grpc::channelz::v1::GetTopChannelsResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetTopChannelsResponse::~GetTopChannelsResponse()", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetTopChannelsRequest, grpc::channelz::v1::GetTopChannelsResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetServerSocketsRequest::GetServerSocketsRequest(google::protobuf::Arena*, bool)", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetServerSocketsRequest, grpc::channelz::v1::GetServerSocketsResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::Deserialize(grpc_call*, grpc_byte_buffer*, grpc::Status*, void**) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetServerSocketsRequest::~GetServerSocketsRequest()", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetServerSocketsRequest, grpc::channelz::v1::GetServerSocketsResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetServerSocketsResponse::GetServerSocketsResponse(google::protobuf::Arena*, bool)", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetServerSocketsRequest, grpc::channelz::v1::GetServerSocketsResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o "grpc::channelz::v1::GetServerSocketsResponse::~GetServerSocketsResponse()", referenced from: grpc::internal::RpcMethodHandler<grpc::channelz::v1::Channelz::Service, grpc::channelz::v1::GetServerSocketsRequest, grpc::channelz::v1::GetServerSocketsResponse, google::protobuf::MessageLite, google::protobuf::MessageLite>::RunHandler(grpc::internal::MethodHandler::HandlerParameter const&) in channelz.grpc.pb.cc.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [lib/libgrpcpp_channelz.1.47.1.dylib] Error 1 make[1]: *** [source_subfolder/CMakeFiles/grpcpp_channelz.dir/all] Error 2 make: *** [all] Error 2 grpc/1.47.1: ERROR: Package 'becfcc4203ec289d95b0d80e4a0c9b6b79be0c25' build failed grpc/1.47.1: WARN: Build folder /Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/grpc/1.47.1/_/_/build/becfcc4203ec289d95b0d80e4a0c9b6b79be0c25 ERROR: grpc/1.47.1: Error in build() method, line 216 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/prod/BuildSingleReference@2/.conan/data/grpc/1.47.1/_/_/build/becfcc4203ec289d95b0d80e4a0c9b6b79be0c25/build_subfolder' '--' '-j4' -
grpc/1.46.3@: Didn't run or was cancelled before finishing
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.
Failure in build 5 (fa59e14b78afa5bff34791d478d7ab68b9a05ab3):
-
grpc/1.46.3@: Didn't run or was cancelled before finishing
-
grpc/1.48.0@: CI failed to create some packages (All logs)
Logs for packageID
108ce58c459f4647a12f73693b44a27cd8514d28:[settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=10 os=Linux [options] grpc:shared=False[...] source_subfolder/CMakeLists.txt:733 (protobuf_generate_grpc_cpp_with_import_path_correction) CMake Error at source_subfolder/CMakeLists.txt:480 (file): file COPY cannot find "/home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.48.0/_/_/build/108ce58c459f4647a12f73693b44a27cd8514d28/source_subfolder/src/proto/grpc/testing/xds/v3/string.proto": No such file or directory. Call Stack (most recent call first): source_subfolder/CMakeLists.txt:736 (protobuf_generate_grpc_cpp_with_import_path_correction) CMake Error at source_subfolder/CMakeLists.txt:480 (file): file COPY cannot find "/home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.48.0/_/_/build/108ce58c459f4647a12f73693b44a27cd8514d28/source_subfolder/src/proto/grpc/testing/xds/v3/tls.proto": No such file or directory. Call Stack (most recent call first): source_subfolder/CMakeLists.txt:739 (protobuf_generate_grpc_cpp_with_import_path_correction) CMake Error at source_subfolder/CMakeLists.txt:480 (file): file COPY cannot find "/home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.48.0/_/_/build/108ce58c459f4647a12f73693b44a27cd8514d28/source_subfolder/src/proto/grpc/testing/xds/v3/typed_struct.proto": No such file or directory. Call Stack (most recent call first): source_subfolder/CMakeLists.txt:742 (protobuf_generate_grpc_cpp_with_import_path_correction) CMake Error at source_subfolder/CMakeLists.txt:480 (file): file COPY cannot find "/home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.48.0/_/_/build/108ce58c459f4647a12f73693b44a27cd8514d28/source_subfolder/src/proto/grpc/testing/xds/v3/udpa_typed_struct.proto": No such file or directory. Call Stack (most recent call first): source_subfolder/CMakeLists.txt:745 (protobuf_generate_grpc_cpp_with_import_path_correction) CMake Error at source_subfolder/CMakeLists.txt:480 (file): file COPY cannot find "/home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.48.0/_/_/build/108ce58c459f4647a12f73693b44a27cd8514d28/source_subfolder/src/proto/grpc/testing/xds/v3/wrr_locality.proto": No such file or directory. Call Stack (most recent call first): source_subfolder/CMakeLists.txt:748 (protobuf_generate_grpc_cpp_with_import_path_correction) grpc/1.48.0: ERROR: Package '108ce58c459f4647a12f73693b44a27cd8514d28' build failed grpc/1.48.0: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.48.0/_/_/build/108ce58c459f4647a12f73693b44a27cd8514d28 ERROR: grpc/1.48.0: Error in build() method, line 215 cmake = self._configure_cmake() while calling '_configure_cmake', line 189 self._cmake.configure(build_folder=self._build_subfolder) ConanException: Error 1 while executing cd '/home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.48.0/_/_/build/108ce58c459f4647a12f73693b44a27cd8514d28/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="10" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.48.0/_/_/package/108ce58c459f4647a12f73693b44a27cd8514d28" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.48.0/_/_/build/108ce58c459f4647a12f73693b44a27cd8514d28" -DCMAKE_PREFIX_PATH="/home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.48.0/_/_/build/108ce58c459f4647a12f73693b44a27cd8514d28" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DgRPC_BUILD_CODEGEN="True" -DgRPC_BUILD_CSHARP_EXT="False" -DgRPC_BUILD_TESTS="False" -DgRPC_INSTALL="True" -DgRPC_INSTALL_SHAREDIR="res/grpc" -DgRPC_ZLIB_PROVIDER="package" -DgRPC_CARES_PROVIDER="package" -DgRPC_RE2_PROVIDER="package" -DgRPC_SSL_PROVIDER="package" -DgRPC_PROTOBUF_PROVIDER="package" -DgRPC_ABSL_PROVIDER="package" -DgRPC_BUILD_GRPC_CPP_PLUGIN="True" -DgRPC_BUILD_GRPC_CSHARP_PLUGIN="True" -DgRPC_BUILD_GRPC_NODE_PLUGIN="True" -DgRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN="True" -DgRPC_BUILD_GRPC_PHP_PLUGIN="True" -DgRPC_BUILD_GRPC_PYTHON_PLUGIN="True" -DgRPC_BUILD_GRPC_RUBY_PLUGIN="True" -Wno-dev '/home/conan/w/prod/BuildSingleReference/.conan/data/grpc/1.48.0/_/_/build/108ce58c459f4647a12f73693b44a27cd8514d28' -
grpc/1.47.1@: Didn't run or was cancelled before finishing
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.
All green in build 6 (3be57705260db42696b3be9ed4a2a1cd3a255203):
-
grpc/1.48.0@: All packages built successfully! (All logs)
:small_orange_diamond: Informative: This recipe is not ready for Conan v2
We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this
conan exportstep will work. See the recipe migration guide to know more about the changes required.ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py", line 4, in <module> from conans import ConanFile, CMake, tools as tools_legacy ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py) -
grpc/1.47.1@: All packages built successfully! (All logs)
:small_orange_diamond: Informative: This recipe is not ready for Conan v2
We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this
conan exportstep will work. See the recipe migration guide to know more about the changes required.ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py", line 4, in <module> from conans import ConanFile, CMake, tools as tools_legacy ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py) -
grpc/1.46.3@: All packages built successfully! (All logs)
:small_orange_diamond: Informative: This recipe is not ready for Conan v2
We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this
conan exportstep will work. See the recipe migration guide to know more about the changes required.ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py", line 4, in <module> from conans import ConanFile, CMake, tools as tools_legacy ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)
All green in build 7 (3be57705260db42696b3be9ed4a2a1cd3a255203):
-
grpc/1.48.0@: All packages built successfully! (All logs)
:small_orange_diamond: Informative: This recipe is not ready for Conan v2
We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this
conan exportstep will work. See the recipe migration guide to know more about the changes required.ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py", line 4, in <module> from conans import ConanFile, CMake, tools as tools_legacy ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py) -
grpc/1.46.3@: All packages built successfully! (All logs)
:small_orange_diamond: Informative: This recipe is not ready for Conan v2
We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this
conan exportstep will work. See the recipe migration guide to know more about the changes required.ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py", line 4, in <module> from conans import ConanFile, CMake, tools as tools_legacy ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py) -
grpc/1.47.1@: All packages built successfully! (All logs)
:small_orange_diamond: Informative: This recipe is not ready for Conan v2
We have started the migration process to Conan v2 and exporting recipes successfully will be required in the future. This is just an informative note to gain awareness about the process, no need to take any action. The plan is to enforce smaller steps that are easier to fix and, eventually, this
conan exportstep will work. See the recipe migration guide to know more about the changes required.ERROR: Error loading conanfile at '/home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py': Unable to load conanfile in /home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/conan/w/prod_cci_PR-12062/recipes/grpc/all/conanfile.py", line 4, in <module> from conans import ConanFile, CMake, tools as tools_legacy ImportError: cannot import name 'ConanFile' from 'conans' (/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conans/__init__.py)