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
Dependency on default-features of a port not respected when dependency already installed #10678
Comments
@Ghabry Thanks for posting this issue. When installing |
Thanks for the response. Yeah I know about this feature behaviour without core (and it makes sense this way) but I explicitly specify core:
Freetype is a dependency of harfbuzz. This installs bzip2 and libpng (default features of freetype) even though I specify freetype[core] here BUT when I do
it will not install bzip2 and libpng. So imo this is a bug because the behaviour differs for the same package options. |
I try to install
|
Thanks for posting this issue. Please open a new issue if this is still a problem for you. |
So, this is a WontFix then? |
When you install one port, the VCPKG will install it and its dependency port. The |
I still believe this is a bug because the result differs. Installing both at the same time, explicitly specifying
Doing two invocations of vcpkg:
|
There is a bug here but it isn't the one you originally described. The bug is that installing these two packages in two steps allows you to get |
Also thanks for the high-effort bug report. It's appreciated. |
Ah so the bug is actually the inverse of what I thought. And thanks for the hint about the Build-Depends. Changing harfbuzz to
will give:
Which is exactly what I would have expected. Thanks! :) |
Describe the bug
When I install harfbuzz it always installs freetype with configuration [bzip2,core,png] even when I specify [core]. It seems that dependency resolution does not consider manual dependencies specified on command line.
Environment
To Reproduce
Steps to reproduce the behavior:
Output:
Expected behavior
Only install freetype[core] packages:
Expected Output:
The text was updated successfully, but these errors were encountered: