Skip to content

GRPC Storage client cannot be built from source #15045

@jaystarshot

Description

@jaystarshot

Does this issue affect the google-cloud-cpp project?
Yes

What component of google-cloud-cpp is this related to? For example, is
this related to bigtable (i.e., something in google/cloud/bigtable), or GCS
(i.e., something in google/cloud/storage)?

GRPC GCS client

Describe the bug A clear and concise description of what the bug is.
external_googleapis_set_version_and_alias seems broken when trying to install GRPC support

Make Error at cmake/GoogleCloudCppLibrary.cmake:72 (external_googleapis_set_version_and_alias):
  Unknown CMake command "external_googleapis_set_version_and_alias".
Call Stack (most recent call first):
  google/cloud/storage/google_cloud_cpp_storage_grpc.cmake:41 (google_cloud_cpp_add_library_protos)
  google/cloud/storage/CMakeLists.txt:43 (include)

To Reproduce Steps to reproduce the behavior:
git clone --recurse-submodules -b v2.36.0 https://github.com/googleapis/google-cloud-cpp.git

mkdir build && cd build

cmake ..
-DGOOGLE_CLOUD_CPP_ENABLE=storage
-DGOOGLE_CLOUD_CPP_STORAGE_ENABLE_GRPC=ON
-DBUILD_TESTING=OFF
-DGOOGLE_CLOUD_CPP_ENABLE_EXAMPLES=OFF

Expected behavior A clear and concise description of what you expected to
happen.

Operating system: If you are using a Linux distribution please include the
name and version of the distribution too.

What compiler and version are you using? Please include the output of
g++ -v or clang++ -v or the equivalent command-line flag.

What version of google-cloud-cpp are you using? Please include the output
from git rev-parse HEAD if you are compiling from source, or the version
number from the applicable google/cloud/*/version.h file.

Additional context Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions