Skip to content

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

Closed

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++

Activity

  1. self-assigned this
    on Jul 11, 2024
  2. added a commit that references this issue on Jul 12, 2024
  3. added this to the 18.0.0 milestone on Jul 12, 2024
  4. kou commented on Jul 12, 2024

    @kou
    Member

    Issue resolved by pull request 43219
    #43219

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions