raulcd commented on PR #48964:
URL: https://github.com/apache/arrow/pull/48964#issuecomment-3790584591
@kou I am submitting this to show some issues I am facing and see if you
have any idea on how to solve them. Basically I've tried to bump protobuf/grpc
and the related abseil used by default on that version of protobuf. Building
flight with bundled dependencies works great but when I want to also build
google cloud cpp I start having some problems because newer abseil defines a
crc32c target but crc32c also defines the same target name and Google Cloud
requires both abseil and crc32c.
```
-- google-cloud-cpp: CRC32C: Performing Test HAVE_WEAK_GETAUXVAL - Success
CMake Error at /build/cpp/_deps/crc32c-src/CMakeLists.txt:268 (add_library):
add_library cannot create target "crc32c" because another target with the
same name already exists. The existing target is a static library created
in source directory "/build/cpp/_deps/absl-src/absl/crc". See
documentation for policy CMP0002 for more details.
CMake Warning (dev) at /build/cpp/_deps/crc32c-src/CMakeLists.txt:274
(target_sources):
Policy CMP0076 is not set: target_sources() command converts relative paths
to absolute. Run "cmake --help-policy CMP0076" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
A private source from a directory other than that of target "crc32c" has a
relative path.
This warning is for project developers. Use -Wno-dev to suppress it.
-- google-cloud-cpp: Only building the google-cloud-cpp::storage component
```
I've tried several things locally but to be fair none of them seem to help
me move forward. Any idea of how to proceed with those?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]