-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
build: envoy picks up system libidn2-dev package and fails to link #14506
Comments
This is fubar upstream. They've failed to add a undesired feature guard in their CMakeLists.txt here
I think we must reject/revert 7.74, until upstream adds the appropriate CURL_DISABLE_IDN2 toggle. @htuch your thoughts? |
The alternative is to patch for the use of 7.74, but I'm hoping we could see an upstream 7.74.1 before our 1.17.0 package. |
The proposed patch curl/curl#6362 would have us introduce USE_LIBIDN2: "off" to the cache_entries of envoy_cmake_external in Line 105 in b4ca626
Just waiting to see that this is the correct field name and patch is accepted before injecting it into our baze/foreign_cc/curl.patch, but this workaround seems fine. |
Ideally let's get this option added upstream, so we only need to modify the |
Agreed @htuch - I've run the draft proposed curl#6362 through our schema in our PR @kyessenov hopefully you observe the same and green-light the upstream fix? |
- Reviews the proposal of @jay to resolve libidn2 feature election curl/curl#6362 - Uses -U2 for the patch, to ensure placement but not useless collisions - Moves extended text of the problems addressed to the patch This additional patch to dodge idn2 is draft, but hopefully resembles the final patch to let us pass a simple toggle to avoid libidn2 for machines deployed without libidn2 libs. In any case, any dynamic additional ld requirement goes against the static build model, and libidn2 would have to be added to the envoy build. As we expect to deprecate curl, this would be movement in the wrong direction. Risk Level: low Testing: local Docs Changes: n/a Release Notes: n/a Platform Specific Features: Linux ldd bindings Fixes: #14506 Signed-off-by: William A Rowe Jr <wrowe@vmware.com>
libidn2-dev
debian package is detected by curl build but should be overridden for reproducible builds.The text was updated successfully, but these errors were encountered: