-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Protobuf 3.21.4 is compiled instead of using system protobuf #10112
Comments
I can't say anything with regards to the pinned version and if deviating from it could cause issues @kgpai ? Are you building this as part of another project or do you have |
I'm building in the Prestissimo context and I am not adding any explicit compiler flags. AFAIK we install protobuf as part of our mac setup and expect it to be found by CMAKE. Since it is pinned EXACT 3.21.4 and scripts install latest 3.21 we are forced to build in Prestissimo. |
It's prestissimo https://github.com/prestodb/presto/blob/master/presto-native-execution/CMakeLists.txt#L31-L33 @majetideepak that should be moved to L191 after the velox include to prevent this error.
As I said before I don't know if this is ok to change but am not strictly opposed :) |
Fixed here prestodb/presto#22966 |
The PR in presto fixing this is merged so I am closing this issue. |
Bug description
Building latest velox on mac is causing this issue:
We brew install protobuf@21 in our setup scripts but we build protobuf 3.21.4 due to this change: #9072
It marks the version to be
EXACT
3.21.4. RemovingEXACT
term seem to help the issue.@czentgr Thanks for pointing this out.
System information
macOS.
Relevant logs
No response
The text was updated successfully, but these errors were encountered: