Skip to content

[POC|Invalid] Testing vcpkg without installed MSVC #46467

[POC|Invalid] Testing vcpkg without installed MSVC

[POC|Invalid] Testing vcpkg without installed MSVC #46467

Triggered via pull request December 11, 2024 21:26
Status Failure
Total duration 22s
Artifacts

untrustedPR.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
Check
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/intel-hpc/vcpkg.json b/ports/intel-hpc/vcpkg.json index 955336d4..02e53c08 100644 --- a/ports/intel-hpc/vcpkg.json +++ b/ports/intel-hpc/vcpkg.json @@ -1,8 +1,8 @@ -{ - "name": "intel-hpc", - "version": "2025.0.0", - "license": "MIT", - "dependencies": [ - "vcpkg-tool-lessmsi" - ] -} +{ + "name": "intel-hpc", + "version": "2025.0.0", + "license": "MIT", + "dependencies": [ + "vcpkg-tool-lessmsi" + ] +} diff --git a/ports/krb5/vcpkg.json b/ports/krb5/vcpkg.json index 5f486744..73dae7a9 100644 --- a/ports/krb5/vcpkg.json +++ b/ports/krb5/vcpkg.json @@ -13,9 +13,9 @@ "license": "MIT", "supports": "linux | osx | (x64 & windows & !static & !uwp)", "dependencies": [ - { - "name": "vcpkg-cmake", - "host": true - } + { + "name": "vcpkg-cmake", + "host": true + } ] } diff --git a/ports/msvc/vcpkg.json b/ports/msvc/vcpkg.json index eb0c2997..aef97952 100644 --- a/ports/msvc/vcpkg.json +++ b/ports/msvc/vcpkg.json @@ -1,8 +1,8 @@ -{ - "name": "msvc", - "version": "17.12.3", - "license": "MIT", - "dependencies": [ - "vcpkg-tool-lessmsi" - ] -} +{ + "name": "msvc", + "version": "17.12.3", + "license": "MIT", + "dependencies": [ + "vcpkg-tool-lessmsi" + ] +} diff --git a/ports/vcpkg-cmake/vcpkg.json b/ports/vcpkg-cmake/vcpkg.json index 0d087966..349832c1 100644 --- a/ports/vcpkg-cmake/vcpkg.json +++ b/ports/vcpkg-cmake/vcpkg.json @@ -3,7 +3,7 @@ "version-date": "2024-04-23", "documentation": "https://learn.microsoft.com/vcpkg/maintainers/functions/vcpkg_cmake_configure", "license": "MIT", - "dependencies" : [ + "dependencies": [ "msvc" ] } diff --git a/ports/vcpkg-gfortran/vcpkg.json b/ports/vcpkg-gfortran/vcpkg.json index 4c37270b..08a3aa77 100644 --- a/ports/vcpkg-gfortran/vcpkg.json +++ b/ports/vcpkg-gfortran/vcpkg.json @@ -4,5 +4,7 @@ "port-version": 3, "description": "Metaport to install gfortran dependencies from msys if VCPKG_USE_EXTERNAL_Fortran is false", "supports": "windows & !arm & !uwp", - "dependencies" : [ "intel-hpc"] + "dependencies": [ + "intel-hpc" + ] } ```
Check
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 curlpp have changed but the version was not updated version: 2018-06-15#10 old SHA: f0a72e60279d7929599cd47abf01c243d7ee0e69 new SHA: df267ff62b406a473d5453e6fc5d8a09ce0bf903 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 arpack-ng have changed but the version was not updated version: 3.9.1 old SHA: 7dd6a7103d3c8f2b5377921d2edc2b29d330a531 new SHA: 9d9ba34d3032c5d57a30b0ade9a887989a8163fe 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 g2o have changed but the version was not updated version: 2020-02-07#6 old SHA: dcf90e398d2940de9be1685b435cc4314f348125 new SHA: a8ba0e4b19fffe6ffe8cf519108eaa3f407be2ae 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 realsense2 have changed but the version was not updated version: 2.56.2#1 old SHA: 3f099d34f5d5bf7b0354e667018c0caae7966229 new SHA: ea9733dbb063c0c39e3902fd7b5c3f890c70714d 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: 09eca0c9e02b8952a51852eb54dd912ec4a31f14 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-cmake have changed but the version was not updated version: 2024-04-23 old SHA: e74aa1e8f93278a8e71372f1fa08c3df420eb840 new SHA: 25b4e2249702e6c5f690c0e2385c881747ae5378 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 quickfast have changed but the version was not updated version: 1.5#4 old SHA: a91e7769068c7d5d6bb16dbdff559d85027a0dff new SHA: e0a9aaa95baa675d7406e602fed9cbfeef71f932 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 libspatialindex have changed but the version was not updated version: 2.0.0 old SHA: add2a4242b540d512b39c2f69746304f29ee8bdc new SHA: d2de82a2b60ecda6e938bf33c9f426c1d5f65f39 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 physx have changed but the version was not updated version: 5.3.0 old SHA: 890453e6b337c77f35dbb33620ac0ab32113f22f new
Check
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 cd124b84feb0c02a24a2d90981e8358fdee0e077 -- versions ./vcpkg x-add-version --all
Check
If you feel able to do so, please consider adding a "license" field to the following files: ports/ffnvcodec/vcpkg.json ports/kf5texteditor/vcpkg.json ports/libdshowcapture/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