[go: up one dir, main page]

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-artifact] 'cmake' matched more than one result #39157

Closed
FrankXie05 opened this issue Jun 6, 2024 · 3 comments
Closed

[vcpkg-artifact] 'cmake' matched more than one result #39157

FrankXie05 opened this issue Jun 6, 2024 · 3 comments
Assignees
Labels
category:vcpkg-ce The issue is with vcpkg artifacts, which is something the vcpkg artifacts should already support

Comments

@FrankXie05
Copy link
Contributor
FrankXie05 commented Jun 6, 2024

Operating system

Windows

Compiler

MSVC

Steps to reproduce the behavior

iex (iwr -useb https://aka.ms/vcpkg-init.ps1) 
cd .\.vcpkg\
.\vcpkg.exe find artifact cmake
.\vcpkg.exe use cmake

Failure logs

PS C:\Users\test\.vcpkg> .\vcpkg.exe use cmake
warning: vcpkg-artifacts is experimental and may change at any time.
error: AssertionError [ERR_ASSERTION]: 'cmake' matched more than one result (microsoft:tools/kitware/cmake,arm:tools/kitware/cmake).

Additional context

It seems that ce downloads two different versions of cmake from different places and looks for them, and ignores the local cmake.
@vicroms @BillyONeal

6dda6f02-a51a-4ba9-9614-9da3f84130ed
f76e0382-f360-4a60-b77a-23c29958b82e
653dfa2e-67b8-4ea2-b366-be8360637786

@FrankXie05 FrankXie05 added the category:port-bug The issue is with a library, which is something the port should already support label Jun 6, 2024
@FrankXie05 FrankXie05 changed the title [vcpkg-ce] 'cmake' matched more than one result [vcpkg-artifact] 'cmake' matched more than one result Jun 6, 2024
@FrankXie05
Copy link
Contributor Author

@102030w

@Cheney-W Cheney-W added category:vcpkg-ce The issue is with vcpkg artifacts, which is something the vcpkg artifacts should already support and removed category:port-bug The issue is with a library, which is something the port should already support labels Jun 6, 2024
@BillyONeal
Copy link
Member

This is expected, now that ARM has decided to add an artifact named cmake to their repo. It needs to be explicitly qualified microsoft:cmake if you want the previous behavior.

@102030w
Copy link
102030w commented Jun 11, 2024

I need to be explicitly qualified microsoft:cmake. What should I do?
eg:

./vcpkg.exe use microsoft:cmake

@BillyONeal BillyONeal closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:vcpkg-ce The issue is with vcpkg artifacts, which is something the vcpkg artifacts should already support
Projects
None yet
Development

No branches or pull requests

6 participants