[POC|Invalid] Testing vcpkg without installed MSVC #42129
Draft
Annotations
3 errors, 3 warnings, and 1 notice
Generate Reply
All vcpkg.json files must be formatted. To fix this problem, run:
./vcpkg format-manifest ports/*/vcpkg.json
It should make the following changes:```diff
diff --git a/ports/compiler-cuda/vcpkg.json b/ports/compiler-cuda/vcpkg.json
index f050ef8d..57b71139 100644
--- a/ports/compiler-cuda/vcpkg.json
+++ b/ports/compiler-cuda/vcpkg.json
@@ -4,6 +4,5 @@
"description": "The NVIDIA CUDA Toolkit provides a development environment for creating high performance GPU-accelerated applications. With the CUDA Toolkit, you can develop, optimize, and deploy your applications on GPU-accelerated embedded systems, desktop workstations, enterprise data centers, cloud-based platforms and HPC supercomputers. The toolkit includes GPU-accelerated libraries, debugging and optimization tools, a C/C++ compiler, and a runtime library to deploy your application.",
"homepage": "https://developer.nvidia.com/cuda-toolkit",
"license": null,
- "supports": "(windows & x64 & !uwp & !xbox) | (linux & x64) | (linux & arm64)",
- "dependencies": []
+ "supports": "(windows & x64 & !uwp & !xbox) | (linux & x64) | (linux & arm64)"
}
diff --git a/ports/cppwinrt/vcpkg.json b/ports/cppwinrt/vcpkg.json
index 7844be4a..25336bb5 100644
--- a/ports/cppwinrt/vcpkg.json
+++ b/ports/cppwinrt/vcpkg.json
@@ -1,13 +1,13 @@
{
"name": "cppwinrt",
"version": "2.0.240405.15",
- "port-version" : 1,
+ "port-version": 1,
"description": "C++/WinRT is a standard C++ language projection for the Windows Runtime.",
"homepage": "https://github.com/microsoft/cppwinrt",
"documentation": "https://docs.microsoft.com/windows/uwp/cpp-and-winrt-apis/",
"license": "MIT",
"supports": "windows",
- "dependencies" : [
+ "dependencies": [
"compiler-msvc"
]
}
```
|
Generate Reply
PRs must add only one version, and must not modify any published versions.
When making any changes to a library, the version or port-version in vcpkg.json must be modified, and the version database updated.
Making the following changes will fix this problem:```diff
error: checked-in files for vcpkg-cmake have changed but the version was not updated
version: 2024-04-23
old SHA: e74aa1e8f93278a8e71372f1fa08c3df420eb840
new SHA: 5488d66e58ab3eae526feb269421377bca1cc967
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for seacas have changed but the version was not updated
version: 2022-11-22#8
old SHA: 9b34ab268c818a03016c980c6ccd8d6f7b3e5a4c
new SHA: b839bccdda764b88945c706789934888e97d0231
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for qca have changed but the version was not updated
version: 2.3.7#3
old SHA: ea6eaf031e8b46b5ef65ea43cc0a72115d1962c1
new SHA: a897d85168bea21f9715e5da86f9306f5d753379
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for popsift have changed but the version was not updated
version: 0.9#5
old SHA: df628dcfa7ee8110e38f7a449b599e3b014645eb
new SHA: c8a79d5d0c998a130cf5fce4b51b5935192105f6
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for awlib have changed but the version was not updated
version: 2024-04-06#1
old SHA: 8e81b74f7134ef57eeabdfee3984e76eef3a7707
new SHA: a32843b0dbed80c9122d209b8cbe614c5c73c395
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for vcpkg-gfortran have changed but the version was not updated
version: 3#3
old SHA: 1af46bd54a9156a9f24fc7c8715488699522b382
new SHA: fde64405c4bd3b07b9910bbfe16744c9ae045d8f
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for qtbase have changed but the version was not updated
version: 6.8.2#1
old SHA: 744273bb84e2107bb024f6d32e5c03890b4c4f2d
new SHA: 33a7f35ef5598196d60bdd596911d57eaa3657da
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for protobuf have changed but the version was not updated
version: 5.29.3
old SHA: 53c97b927087d1919f2a7ef6c34e4caf1a00cdf9
new SHA: 83174b81a85d1485859fe1aeffdfeebb4dbc2c99
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
See https://learn.microsoft.com/vcpkg/commands/add-version?WT.mc_id=vcpkg_inproduct_cli#--overwrite-version for more information.
***No files were updated***
error: checked-in files for fruit have changed but the version was not updated
version: 3.7.1
old SHA: f727757ffc9579175eb3e80ae6fee2bf176779b2
new SHA: f1d7d31ced1
|
Generate Reply
After committing all other changes, the version database must be updated.
This can be done by running the following commands after committing your changes:
git add -u && git commit
git checkout 344525f74edb4c1d47c559d8bbe06240271441d8 -- versions
./vcpkg x-add-version --all
|
Generate Reply
**You have modified or added at least one portfile where deprecated functions are used**
If you feel able to do so, please consider migrating them to the new functions.
|
Generate Reply:
ports/compiler-llvm/portfile.cmake#L29
The function vcpkg_apply_patches is deprecated. Please use the PATCHES arguments to the "extract" helpers (for example, vcpkg_from_github() (https://learn.microsoft.com/en-us/vcpkg/maintainers/functions/vcpkg_from_github))
|
Generate Reply
If you feel able to do so, please consider adding a "license" field to the following files:
ports/azure-storage-cpp/vcpkg.json
ports/blitz/vcpkg.json
ports/cudnn/vcpkg.json
ports/flint/vcpkg.json
ports/intel-ipsec/vcpkg.json
ports/tinkerforge/vcpkg.json
ports/vcpkg-gfortran/vcpkg.json
Valid values for the license field can be found at https://learn.microsoft.com/vcpkg/reference/vcpkg-json#license
|
Generate Reply:
ports/kfr/vcpkg.json#L7
SPDX deprecated license identifier GPL-2.0.
If you feel able to do so, please consider replacing it.
Updated license identifiers can be found at https://spdx.org/licenses/.
|
Loading