-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
apache-arrow and friends: use unversioned protobuf
, grpc
#133746
apache-arrow and friends: use unversioned protobuf
, grpc
#133746
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
I've worked up a patch in protobuf-c/protobuf-c#556 that lets EDIT: built with |
@carlocab I think my changes in scpeters@be56ca6 for testing with |
e2755b3
to
aab3c61
Compare
Thanks for working on that! Apologies for the delayed response; I've been finishing off #134251. Let's give your patch a try. |
aab3c61
to
2d75a6c
Compare
225e947
to
27bf919
Compare
protobuf
, grpc
protobuf
, grpc
27bf919
to
3ad2300
Compare
protobuf
, grpc
protobuf
, grpc
fcd0942
to
7ca4be7
Compare
@scpeters I'm afraid we might still be blocked on |
It looks like #define info(args...) and this is messing with the |
The `info` macro is terribly generic, and can cause compilation problems with other software. In particular, newer versions of Protobuf (22+) pull in Abseil, which defines an `info` function[^1] that is broken by the macro defined in `libnetdata/log/log.h`. This change will help unblock us at Homebrew, where we are trying to switch our packages to using a newer version of `protobuf`.[^2] [^1]: https://github.com/abseil/abseil-cpp/blob/e6c09ae4b2acd421a29706f86e66eaa422262ad0/absl/strings/internal/cordz_update_scope.h#L61 [^2]: Homebrew/homebrew-core#133746
The `info` macro is terribly generic, and can cause compilation problems with other software. In particular, newer versions of Protobuf (22+) pull in Abseil, which defines an `info` function[^1] that is broken by the macro defined in `libnetdata/log/log.h`. This change will help unblock us at Homebrew, where we are trying to switch our packages to using a newer version of `protobuf`.[^2] [^1]: https://github.com/abseil/abseil-cpp/blob/e6c09ae4b2acd421a29706f86e66eaa422262ad0/absl/strings/internal/cordz_update_scope.h#L61 [^2]: Homebrew/homebrew-core#133746
- add patch and HEAD
This has linkage with the versioned relatives of these formulae through `etcd-cpp-apiv3`.
This has linkage to `protobuf@21` through `protobuf-c`.
7ca4be7
to
818dd18
Compare
The `info` macro is terribly generic, and can cause compilation problems with other software. In particular, newer versions of Protobuf (22+) pull in Abseil, which defines an `info` function[^1] that is broken by the macro defined in `libnetdata/log/log.h`. This change will help unblock us at Homebrew, where we are trying to switch our packages to using a newer version of `protobuf`.[^2] [^1]: https://github.com/abseil/abseil-cpp/blob/e6c09ae4b2acd421a29706f86e66eaa422262ad0/absl/strings/internal/cordz_update_scope.h#L61 [^2]: Homebrew/homebrew-core#133746
thanks for fixing this! |
The `info` macro is terribly generic, and can cause compilation problems with other software. In particular, newer versions of Protobuf (22+) pull in Abseil, which defines an `info` function[^1] that is broken by the macro defined in `libnetdata/log/log.h`. This change will help unblock us at Homebrew, where we are trying to switch our packages to using a newer version of `protobuf`.[^2] [^1]: https://github.com/abseil/abseil-cpp/blob/e6c09ae4b2acd421a29706f86e66eaa422262ad0/absl/strings/internal/cordz_update_scope.h#L61 [^2]: Homebrew/homebrew-core#133746
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?grpc
andprotobuf
protobuf