Skip to content

Dependency on default-features of a port not respected when dependency already installed #10678

@Ghabry

Description

@Ghabry

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

  • Windows.
  • Version: e1fc03c. vcpkg_from_git: Add support for git over ssh

To Reproduce
Steps to reproduce the behavior:

  1. vcpkg.exe --triplet x86-windows install freetype[core] harfbuzz[core,ucdn]

Output:

  * bzip2[core]:x86-windows
    freetype[bzip2,core,png]:x86-windows
    harfbuzz[core,ucdn]:x86-windows
  * libpng[core]:x86-windows
  * ragel[core]:x86-windows
  * zlib[core]:x86-windows

Expected behavior

Only install freetype[core] packages:

Expected Output:

    freetype[core]:x86-windows
    harfbuzz[core,ucdn]:x86-windows
  * ragel[core]:x86-windows
  * zlib[core]:x86-windows

Metadata

Metadata

Assignees

Labels

category:vcpkg-bugThe issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions