-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[curl] Requesting [core,mbedtls] still builds and depends on openssl #36713
Comments
This is not possible until something like #22216 gets implemented since these feature are options and not additive |
Cannot reproduce.
|
My mistake - I reduced the feature list too much. The following works as expected:
However, if you include http2, it drags in openssl.
I didn't see any feature options in the nghttp2 package. |
Yes, nghttp2 does not have any features. |
What does this mean to the original problem?
|
Can curl[http2] delete the dependent feature |
Try! |
After removing the |
The upstream explains that you need to rely on |
The link is not clear but the following note from nghttp2's repo clarifies:
Doesn't look like nghttp2 even supports mbedtls right now. I'm new to vcpkg and this was a surprise to me. Might be good to notify in some way but this can happen with any package with any dependency. It would require vcpkg to support all combinations of features for every package (libressl and wolfssl are already in vcpkg so you would want nghttp2 to have those as features) and track which features are alternatives and reduce redundancy. Closing this this is not feasible for mbedtls specifically but the general issue still holds. |
Describe the bug
./vcpkg install curl[core,mbedtls]
Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect to depend 100% on mbedtls and have no dependencies on openssl.
Failure logs
The text was updated successfully, but these errors were encountered: