Skip to content

vcpkg depend-info broken as it cannot find vcpkgTools.xml #43297

@rtzoeller

Description

@rtzoeller

Describe the bug
A recent change (likely #43209) seems to have broken vcpkg depend-info.

Previously I could run ../vcpkg/vcpkg depend-info --overlay-ports=. my-package-name and get a list of dependencies for my package, whereas now I get

$ ../vcpkg/vcpkg depend-info --overlay-ports=. my-package-name
read_contents("/home/rzoeller/my-repo/vcpkg/scripts/vcpkgTools.xml"): No such file or directory

Environment

  • OS: AlmaLinux 9.5
  • Compiler: clang version 18.1.8 (AlmaLinux OS Foundation 18.1.8-3.el9)

To Reproduce
Steps to reproduce the behavior:

$ ../vcpkg/vcpkg depend-info boost-cmake
read_contents("/home/rzoeller/my-repo/vcpkg/scripts/vcpkgTools.xml"): No such file or directory

Expected behavior

$ ../vcpkg/vcpkg depend-info boost-cmake
boost-uninstall: 
vcpkg-boost: 
vcpkg-cmake: 
vcpkg-cmake-config: 
boost-cmake: boost-uninstall, vcpkg-boost, vcpkg-cmake, vcpkg-cmake-config

Additional context
This is breaking https://github.com/abumq/licensepp.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions