-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build google-cloud-cpp with bazel 0.29rc4 #9115
Comments
|
Disabling the flag ( |
This is fixed grpc/grpc#19860 . I'll ping that pull request, although you'll also need to integrate it. Alternatively, I could craft a patch like I do in envoyproxy/envoy#7850 . Which one do you prefer? |
Would we have to bump the grpc version in google-cloud-cpp? |
Yep. |
Clarification: you'd have to bump the grpc version number if you want to avoid patching grpc. If that's okay, I can send you a pull request right away. |
Thanks for the explanation! Just to clarify more, would we also need to bump the GRPC version in any Bazel projects using grpc (e.g. including internal projects)? And I think bumping the GRPC version is fine. Though I'm curious if google-cloud-cpp is okay with us pulling in a specific commit or if we need to wait for a release of GRPC. |
Yep, or use the patch above. Unfortunately, I haven't heard back from the gRPC folks yet so I don't know what next :( |
Good news: I've tested bumping the grpc version used by google-cloud-cpp and now it successfully compiles with bazel 0.29.0rc6. I've got the google-cloud-cpp changes required for the version bump internally and I can work on open sourcing them. We can probably mark this bug as closed. |
Closing then. Apologies for the breakage. The good news is that protobuf support built into Bazel is almost out of the woods now: all I'll need to do is to remove |
Description of the problem / feature request:
Attempting to run
~/Downloads/bazel-0.29.0rc4-darwin-x86_64 build //google/cloud/bigtable:bigtable_client --incompatible_depset_is_not_iterable=false
at https://github.com/googleapis/google-cloud-cpp/tree/5ad364581ed52ce457a2f79449964063e96242c6 results inBazel 0.28.0 succeeds
Feature requests: what underlying problem are you trying to solve with this feature?
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Clone https://github.com/googleapis/google-cloud-cpp @ 5ad364581ed52ce457a2f79449964063e96242c6
Run
~/Downloads/bazel-0.29.0rc4-darwin-x86_64 build //google/cloud/bigtable:bigtable_client --incompatible_depset_is_not_iterable=false
What operating system are you running Bazel on?
OSX
What's the output of
bazel info release
?release 0.29.0rc4
If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?https://github.com/googleapis/google-cloud-cpp.git
5ad364581ed52ce457a2f79449964063e96242c6
5ad364581ed52ce457a2f79449964063e96242c6
Have you found anything relevant by searching the web?
Any other information, logs, or outputs that you want to share?
The text was updated successfully, but these errors were encountered: