[ https://issues.apache.org/jira/browse/ARROW-10412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Smith updated ARROW-10412: --------------------------------- Summary: [C++] Cmake Build Fails with grpc 1.33.1, "GRPC_CPP_PLUGIN-NOTFOUND: program not found or is not executable" (was: Cmake Build Fails with grpc 1.33.1, "GRPC_CPP_PLUGIN-NOTFOUND: program not found or is not executable") > [C++] Cmake Build Fails with grpc 1.33.1, "GRPC_CPP_PLUGIN-NOTFOUND: program > not found or is not executable" > ------------------------------------------------------------------------------------------------------------ > > Key: ARROW-10412 > URL: https://issues.apache.org/jira/browse/ARROW-10412 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Affects Versions: 2.0.0 > Reporter: Steven Smith > Priority: Major > Labels: cmake, grpc > Attachments: ad7d47f2f9e6.txt > > > A cmake build of Apache Arrow 2.0.0 fails when using library grpc version > 1.33.1 with the error: > {code:java} > GRPC_CPP_PLUGIN-NOTFOUND: program not found or is not executable > {code} > This is for a Macports port of Apache Arrow; see > https://github.com/macports/macports-ports/pull/7791. > -The build previously worked on grpc version 1.30.2.- (Correction: this was > using the Makefile, not the cmake system.) > I am following the build instructions at > [https://github.com/apache/arrow/blob/master/docs/source/developers/python.rst#build-and-test] > I verify that the executable grpc_cpp_plugin is installed with all grpc > shared libraries. > I've read cpp/cmake_modules/FindgRPCAlt.cmake and believe that I've set all > the correct flags for cmake (below) and believe that this is an issue with > the arrow cmake configuration. > The error occurs at this line: > > {code:java} > /opt/local/bin/protoc > -I/opt/local/var/macports/build/_Users_runner_work_1_s_devel_apache-arrow/apache-arrow/work/arrow-2.0.0/cpp/../format > > --cpp_out=/opt/local/var/macports/build/_Users_runner_work_1_s_devel_apache-arrow/apache-arrow/work/build/src/arrow/flight > > /opt/local/var/macports/build/_Users_runner_work_1_s_devel_apache-arrow/apache-arrow/work/arrow-2.0.0/cpp/../format/Flight.proto > cd > /opt/local/var/macports/build/_Users_runner_work_1_s_devel_apache-arrow/apache-arrow/work/build/src/arrow/flight > && /opt/local/bin/protoc > -I/opt/local/var/macports/build/_Users_runner_work_1_s_devel_apache-arrow/apache-arrow/work/arrow-2.0.0/cpp/../format > > --grpc_out=/opt/local/var/macports/build/_Users_runner_work_1_s_devel_apache-arrow/apache-arrow/work/build/src/arrow/flight > --plugin=protoc-gen-grpc=GRPC_CPP_PLUGIN-NOTFOUND > /opt/local/var/macports/build/_Users_runner_work_1_s_devel_apache-arrow/apache-arrow/work/arrow-2.0.0/cpp/../format/Flight.proto > GRPC_CPP_PLUGIN-NOTFOUND: program not found or is not executable > Please specify a program using absolute path or make sure the program is > available in your PATH system variable > --grpc_out: protoc-gen-grpc: Plugin failed with status code 1.{code} > Example build log: [https://paste.z0k.xyz/ad7d47f2f9e6.txt] > Cmake flags: > {code:java} > -DARROW_FLIGHT=ON \ > -DARROW_GRPC_USE_SHARED=ON \ > -DARROW_JEMALLOC=OFF \ > -DARROW_ORC=ON \ > -DARROW_PARQUET=ON \ > -DARROW_PLASMA=ON \ > -DARROW_PROTOBUF_USE_SHARED=ON \ > -DARROW_PYTHON=ON \ > -DARROW_USE_CCACHE=OFF \ > -DARROW_WITH_BZ2=ON \ > -DARROW_WITH_ZLIB=ON \ > -DARROW_WITH_ZSTD=ON \ > -DARROW_WITH_LZ4=ON \ > -DARROW_WITH_SNAPPY=ON \ > -DARROW_WITH_BROTLI=ON \ > -DARROW_INSTALL_NAME_RPATH=OFF \ > -DCARES_PREFIX=${prefix} \ > -DgRPC_INSTALL=OFF \ > -DgRPC_ROOT=${prefix} \ > -DgRPC_BUILD_TESTS=OFF \ > -DgRPC_CARES_PROVIDER=package \ > -DgRPC_ABSL_PROVIDER=package \ > -DgRPC_PROTOBUF_PROVIDER=package \ > -DgRPC_RE2_PROVIDER=package \ > -DgRPC_SSL_PROVIDER=package \ > -DgRPC_ZLIB_PROVIDER=package \ > -DLLVM_ROOT=${llvm_prefix} > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)