Open hjaekel opened 1 week ago
Hey, thanks for the detailed bug report.
So in v2.30.0, the storage_grpc
was added in __ga_libraries__
. The code that is breaking (missing references to absl::Cord
) comes from this new feature.
If you want to temporarily adopt google-cloud-cpp
's v2.30.0
without enabling this new feature, you can use:
-DGOOGLE_CLOUD_CPP_ENABLE=__ga_libraries__,-storage_grpc
Then we can work on enabling the storage_grpc
feature independently of the version update.
I need your help here. I tried to reproduce this using this Dockerfile.txt.
You can test it with:
docker buildx build --progress plain -t repro - <Dockerfile.txt
I am seeing similar undefined reference errors, but earlier in the build. e.g.
#16 80.41 /usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: google/cloud/libgoogle_cloud_cpp_grpc_utils.so.2.30.0: undefined reference to `_ZN4absl12lts_2024011612log_internal10LogMessagelsImTnNSt9enable_ifIXntsr4absl16HasAbslStringifyIT_EE5valueEiE4typeELi0EEERS2_RKS5_'
Did you already work through these errors? If so, how? I think the fix for finding absl::Cord
will be similar.
Are you using a different version of Abseil than the package that comes with Alpine Edge?
Does this issue affect the google-cloud-cpp project? yes
What component of
google-cloud-cpp
is this related to?storage_version_test
Describe the bug Build fails on Alpine Linux Edge with the following message:
To Reproduce Steps to reproduce the behavior:
cmake --build build
Expected behavior Build is successful
Operating system: Alpine Linux Edge
What compiler and version are you using?
What version of
google-cloud-cpp
are you using? 2.30.0Additional context full build log attached: job.log