-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
1.46.x with zlib & abseil as private #213
1.46.x with zlib & abseil as private #213
Conversation
Hi! This is the friendly automated conda-forge-linting service. I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug. |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
WTH, where is appveyor coming from now? This has been rerendered just a few days ago... PS. Thanks a lot for fixing this! |
i accidentally targetted the main branch. |
@conda-forge-admin please rerender @conda-forge-admin please restart cis |
I think the patch was too small, we must specify it for all the libraries:
|
Yeah... Though interestingly, linux doesn't care... |
I believe we should be able to remove https://github.com/grpc/grpc/blob/v1.46.4/cmake/abseil-cpp.cmake#L33-L35 on windows, since we're now building statically here...? WDYT @hmaarrfk? |
In the meantime I'll open a quickfix PR to add the required run-deps (& some tests), so we can continue iterating to fix this properly, while unblocking the migrator. |
yeah, the new patch is like a sledgehammer. i'm actually woried about it. but it seems like they aren't creating many internal libraries. |
80654fa
to
78a0672
Compare
6fab016
to
c5e1a74
Compare
This kind of request is typically well taken upstream. It is also not so urgent for conda-forge Can we make sure to communicate our ideas to them so we can find a good long term solution? |
Didn't you say before that upstream doesn't like this kind of churn? And I'm starting to see why. Their default is to use vendored everything (so the linkage isn't so important because you're bringing all targets anyway), but more importantly, the linkage for abseil cannot easily be made private because (IIUC) abseil itself doesn't package all its internal symbols correctly (OTOH, grpc explicitly also uses abseil-internal targets). So it becomes hard to come up with a general solution.
I tend to disagree - this is blocking the abseil migration & further grpc stuff. Thankfully, it seems I'm converging to a solution here.
That we can do. I'll look at opening an issue. |
also: don't make abseil private on unix
f29d283
to
636eb6e
Compare
take status of patches for 1.46.x from conda-forge#213
@hmaarrfk @xhochy @isuruf I'd appreciate your review or opinion. If there are no comments, I'm intending to merge this soonish (1-2 days), because this is blocking the abseil migration and a bunch of follow-up work. |
Haha, that is probably true. They don't like it. But they are also humans and understand the need for different system confiugrations. Will look at the rest of the stuff this weekend. |
Do you still have time to have a look this weekend? Otherwise I'd like to merge this before the protobuf migrators |
please merge at will |
Could it be that grpc actually run-depends on zlib now? I see errors with zlib symbols in conda-forge/bear-feedstock#22, but only in cross compilation (because native builds might be picking up zlib from the build env, which runs into arch differences for cross-compilation...?) |
Yeah, seems this was not extensive enough also for abseil...
|
On the other hand, at least conda-forge/googleapis-cpp-feedstock#35 seems to work now |
Based on looking at https://github.com/open-telemetry/opentelemetry-cpp/blob/main/CMakeLists.txt and the logs, it seems that CMake only evaluates the link interface after configuring, so the test I added is not complete because it would need to start building/installing something. |
Done: grpc/grpc#30838 |
Closes conda-forge/zlib-feedstock#65
Closes #214
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)