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

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

Closed
rtzoeller opened this issue Jan 15, 2025 · 5 comments
Closed

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

rtzoeller opened this issue Jan 15, 2025 · 5 comments
Assignees
Labels
category:question This issue is a question

Comments

@rtzoeller
Copy link
Contributor

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.

@rtzoeller
Copy link
Contributor Author

rtzoeller commented Jan 15, 2025

I think this is a caching thing.... it might be necessary to fully git clean -ffdx the vcpkg directory when switching to before/after the linked PR.

@LilyWangLL LilyWangLL self-assigned this Jan 16, 2025
@LilyWangLL
Copy link
Contributor

LilyWangLL commented Jan 16, 2025

Thanks for posting this issue, please run command git pull and ./bootstrap-vcpkg.sh to update your vcpkg.

@LilyWangLL LilyWangLL added the category:question This issue is a question label Jan 16, 2025
@rtzoeller
Copy link
Contributor Author

Should we be re-bootstrapping each time we update the vpckg repo?

@LilyWangLL
Copy link
Contributor

After the PR for updating vcpkg-tool is merged, you need to re-bootstrapping.

@Neumann-A
Copy link
Contributor

Should we be re-bootstrapping each time we update the vpckg repo?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

3 participants