-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[C++] Build failed on ubuntu-22.04 if system libprotobuf-dev is installed #36860
Comments
Could you share full log? |
|
…but system gRPC doesn't exist
Thanks. |
…stem gRPC doesn't exist (#36904) ### Rationale for this change We require system gRPC when system Protobuf is found to avoid underlying library (Abseil) mismatch. We should report it as an error on `cmake...` time instead of build time. ### What changes are included in this PR? Always call `find_package_handle_standard_args()` to report an error for the case. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: #36860 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: David Li <li.davidm96@gmail.com>
…but system gRPC doesn't exist (apache#36904) ### Rationale for this change We require system gRPC when system Protobuf is found to avoid underlying library (Abseil) mismatch. We should report it as an error on `cmake...` time instead of build time. ### What changes are included in this PR? Always call `find_package_handle_standard_args()` to report an error for the case. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#36860 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: David Li <li.davidm96@gmail.com>
…but system gRPC doesn't exist (apache#36904) ### Rationale for this change We require system gRPC when system Protobuf is found to avoid underlying library (Abseil) mismatch. We should report it as an error on `cmake...` time instead of build time. ### What changes are included in this PR? Always call `find_package_handle_standard_args()` to report an error for the case. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#36860 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: David Li <li.davidm96@gmail.com>
Should I reopen it? Still fails miserably even if system grpc++ is present.
So, it did find |
I think that |
Describe the bug, including details regarding any error messages, version, and platform.
Tested on Ubuntu-22.04, aarch64 (looks to me this issue is not arch dependent)
If system
libprotobuf-dev
package is installed,verify-release-candidate.sh
failed with below message when building arrow c++.On my test machine
Component(s)
C++
The text was updated successfully, but these errors were encountered: