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|manifest] Improve error messages #12501

Closed
Neumann-A opened this issue Jul 20, 2020 · 4 comments · Fixed by #13107
Closed

[vcpkg|manifest] Improve error messages #12501

Neumann-A opened this issue Jul 20, 2020 · 4 comments · Fixed by #13107
Assignees
Labels
category:infrastructure Pertaining to the CI/Testing infrastrucutre

Comments

@Neumann-A
Copy link
Contributor

The following error did not tell me anything:

1> [CMake] Error: There are invalid field types in the CONTROL or manifest file of E:\Repos\StoPhys\vcpkg_manifest\vcpkg.json
1> [CMake] The following fields had the wrong types:
1> [CMake] 
1> [CMake]     dependencies was expected to be an array of dependencies
1> [CMake]     name was expected to be an identifier
1> [CMake] 

Solution:
every "name": "<value>" field must have a with only lowercase characters. The error message did not really help here.

@JackBoosY
Copy link
Contributor

See #12460.

@JackBoosY JackBoosY self-assigned this Jul 20, 2020
@JackBoosY JackBoosY added the category:infrastructure Pertaining to the CI/Testing infrastrucutre label Jul 20, 2020
@linquize
Copy link

linquize commented Aug 2, 2020

What is your vcpkg.json?

@JackBoosY
Copy link
Contributor

Since #12460 meged, I think I can close this issue.

@JackBoosY
Copy link
Contributor

We still have some problems when printing this information in the pipeline, please wait for me to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:infrastructure Pertaining to the CI/Testing infrastrucutre
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants