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 crashes when upgrading non existing port #31440

Closed
autoantwort opened this issue May 15, 2023 · 1 comment
Closed

vcpkg crashes when upgrading non existing port #31440

autoantwort opened this issue May 15, 2023 · 1 comment
Assignees
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Comments

@autoantwort
Copy link
Contributor

Describe the bug
If you try to upgrade a non existing port vcpkg crashes

To Reproduce
Steps to reproduce the behavior:

  1. ./vcpkg upgrade test
➜  vcpkg git:(master) ./vcpkg upgrade test
error: The following packages are not installed:
    test:arm64-osx
error: The following packages do not have a valid CONTROL or vcpkg.json:
    test:arm64-osx
internal error: /Users/runner/work/1/s/src/vcpkg/commands.upgrade.cpp(180): vcpkg has crashed; no additional details are available.
Please open an issue at https://github.com/microsoft/vcpkg/issues/new?template=other-type-of-bug-report.md&labels=category:vcpkg-bug with detailed steps to reproduce the problem.

Expected behavior
Exit with an error message and non zero exit code.

@LilyWangLL LilyWangLL self-assigned this May 16, 2023
@LilyWangLL LilyWangLL added the category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) label May 16, 2023
@LilyWangLL
Copy link
Contributor

Closed as duplicate of #21117.

@LilyWangLL LilyWangLL closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 2023
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/`)
Projects
None yet
Development

No branches or pull requests

2 participants