Skip to content
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

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

Closed
m-kuhn opened this issue Dec 27, 2021 · 2 comments
Closed
Assignees
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) requires:tool-release An issue that has been fixed in the microsoft/vcpkg-tool repo and is waiting for a release thereof

Comments

@m-kuhn
Copy link
Contributor

m-kuhn commented Dec 27, 2021


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
@JackBoosY JackBoosY self-assigned this Dec 27, 2021
@JackBoosY
Copy link
Contributor

This was fixed in the latest vcpkg release, but not published.

@JackBoosY JackBoosY added the requires:tool-release An issue that has been fixed in the microsoft/vcpkg-tool repo and is waiting for a release thereof label Dec 27, 2021
@BillyONeal
Copy link
Member

Fixed by #22629

@JackBoosY JackBoosY added the category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) label Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) requires:tool-release An issue that has been fixed in the microsoft/vcpkg-tool repo and is waiting for a release thereof
Projects
None yet
Development

No branches or pull requests

3 participants