Skip to content

Print depend-info also if a package is not available for the target triplet #22220

@m-kuhn

Description

@m-kuhn

Is your feature request related to a problem? Please describe.
I am trying to find out why a port fails to build when one of the dependencies is not available for the target triplet.

E.g; since updating vcpkg, the build fails with "libgcrypt[core] is only supported on 'linux | osx'"

To debug, I'd like to know how my build depends on this package:

$ .\vcpkg.exe depend-info qtkeychain:arm-android
Error: libgcrypt[core] is only supported on 'linux | osx'

Result:
Instead of the dependency tree, the error is shown again.

Proposed solution
It would be helpful if the dependency tree would still be shown, ideally with the affected packages visually flagged (e.g. shown in red).

...
libgcrypt: !Error: libgcrypt[core] is only supported on 'linux | osx'!
libsecret: glib, glib, libgcrypt, vcpkg-tool-meson
qtkeychain[translations]: libsecret, qt5-tools, vcpkg-cmake, vcpkg-cmake-config

Metadata

Metadata

Assignees

Labels

category:vcpkg-bugThe issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)requires:tool-releaseAn issue that has been fixed in the microsoft/vcpkg-tool repo and is waiting for a release thereof

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions