Skip to content

[C++] gRPC fails to build when I'm building Flight without GCS #43218

@felipecrv

Description

@felipecrv

Describe the bug, including details regarding any error messages, version, and platform.

 38 || /opt/homebrew/bin/ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -I/Users/felipe/code/arrow/cpp/ninja/grpc_ep-prefix/src/grpc_ep/include -I/Users/felipe/code/arrow/cpp/ninja/grpc_ep-prefix/src/grpc_ep -I/Users/felipe/code/arrow/cpp/ninja/grpc_ep-prefix/src/grpc_ep/third_party/address_sorting/include -I/Users/felipe/code/arrow/cpp/ninja/grpc_ep-prefix/src/grpc
    _ep/src/core/ext/upb-generated -I/Users/felipe/code/arrow/cpp/ninja/grpc_ep-prefix/src/grpc_ep/src/core/ext/upbdefs-generated -I/Users/felipe/code/arrow/cpp/ninja/grpc_ep-prefix/src/grpc_ep/third_party/upb -I/Users/felipe/code/arrow/cpp/ninja/grpc_ep-prefix/src/grpc_ep/third_party/xxhash -isystem /opt/homebrew/opt/openssl@3/include -isystem /opt/homebrew/include -Qunused-arguments -fcolor-diagnostics -fPIC -Wno-a
    ttributes -Wno-format-security -Wno-unknown-warning-option  -g -Werror -O0 -ggdb   -Wno-error -std=c++17 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -fPIC -MD -MT CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc.o -MF CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/binder/binder_
    resolver.cc.o.d -o CMakeFiles/grpc.dir/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc.o -c /Users/felipe/code/arrow/cpp/ninja/grpc_ep-prefix/src/grpc_ep/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc
 39 cpp/ninja/grpc_ep-prefix/src/grpc_ep/src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc|94 col 17| error: no member named 'StrCat' in namespace 'absl'
 40 ||           absl::StrCat(path, " is too long to be handled"));
 41 ||           ~~~~~~^

It was not clear to me why this was happening (no matter the -Dabsl_SOURCE I set while having abseil installed on the system).

I tried to debug the build code but ensure_absl's body nested under lots of conditions wasn't getting hit while configuring the build.

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions