Under normal circumstances, things can't be removed from the version database, because that breaks outstanding references to those versions. However, these entries can't be parsed in the first place which means nobody can be depending on them being there. (Usually this comes from accidentally merging PRs that add multiple versions, such as 8184c5e06chttps://github.com/microsoft/vcpkg/pull/31859 )
This was detected using new output from https://github.com/microsoft/vcpkg-tool/pull/1210
C:\Dev\vcpkg\versions\a-\abseil.json: error: failed to execute: "C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\Dev\vcpkg\.git" "--work-tree=C:\Dev\vcpkg\buildtrees\versioning_\versions\abseil\2209360b556a40cf034551f6f9063456eac63986_83008.tmp" -c core.autocrlf=false read-tree -m -u 2209360b556a40cf034551f6f9063456eac63986
error: git failed with exit code: (128).
fatal: failed to unpack tree object 2209360b556a40cf034551f6f9063456eac63986
note: while checking out port abseil with git tree 2209360b556a40cf034551f6f9063456eac63986
note: while validating version: 20230125.3#2
C:\Dev\vcpkg\versions\a-\abseil.json: C:\Dev\vcpkg\buildtrees\versioning_\versions\abseil\28fa609b06eec70bb06e61891e94b94f35f7d06e\vcpkg.json: error: $.features: mismatched type: expected a set of features
note: while validating version: 2020-03-03#7
C:\Dev\vcpkg\versions\a-\async-mqtt.json: error: failed to execute: "C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\Dev\vcpkg\.git" "--work-tree=C:\Dev\vcpkg\buildtrees\versioning_\versions\async-mqtt\61071a18dc0dc629c374fa016b81473e04a28ff1_83008.tmp" -c core.autocrlf=false read-tree -m -u 61071a18dc
error: git failed with exit code: (128).
fatal: failed to unpack tree object 61071a18dc
note: while checking out port async-mqtt with git tree 61071a18dc
note: while validating version: 1.0.8
C:\Dev\vcpkg\versions\b-\blend2d.json: C:\Dev\vcpkg\buildtrees\versioning_\versions\blend2d\ffce764b880d8cc24e3b00328aa3861f15bae91d\vcpkg.json: error: $.features: mismatched type: expected a set of features
note: while validating version: beta_2020-07-31
C:\Dev\vcpkg\versions\b-\blend2d.json: C:\Dev\vcpkg\buildtrees\versioning_\versions\blend2d\03a43f03eb0cab95aac27a77b71273fc4aa2e94d\vcpkg.json: error: $.features: mismatched type: expected a set of features
note: while validating version: beta_2020-07-09
C:\Dev\vcpkg\versions\e-\elfio.json: error: The version database declares 3.8 as version, but 19659f0b36 declares it as version-string. Versions must be unique, even if they are declared with different schemes.
note: run:
vcpkg x-add-version elfio --overwrite-version
to overwrite the scheme declared in the version database with that declared in the port.
C:\Dev\vcpkg\versions\f-\flashlight-text.json: error: failed to execute: "C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\Dev\vcpkg\.git" "--work-tree=C:\Dev\vcpkg\buildtrees\versioning_\versions\flashlight-text\6386901fa48bce946fdc5775a1c1b784e0a97175_83008.tmp" -c core.autocrlf=false read-tree -m -u 6386901fa4
error: git failed with exit code: (128).
fatal: failed to unpack tree object 6386901fa4
note: while checking out port flashlight-text with git tree 6386901fa4
note: while validating version: 0.0.3
C:\Dev\vcpkg\versions\l-\libwebp.json: C:\Dev\vcpkg\buildtrees\versioning_\versions\libwebp\a05e0de81085231df86f6902aba1e0a364e2ca7b\CONTROL:1:94: error: invalid character in feature name (must be lowercase, digits, '-', or '*')
on expression: libwebp[anim, gif2webp, img2webp, info, mux, nearlossless, simd, cwebp, dwebp], libwebp[vwebp_sdl] (!osx), libwebp[extras] (!osx)
^
note: while validating version: 1.1.0
C:\Dev\vcpkg\versions\l-\libwebp.json: C:\Dev\vcpkg\buildtrees\versioning_\versions\libwebp\5066566c98bc1913b678347c4cbae0a6aff4cf2d\CONTROL:1:94: error: invalid character in feature name (must be lowercase, digits, '-', or '*')
on expression: libwebp[anim, gif2webp, img2webp, info, mux, nearlossless, simd, cwebp, dwebp], libwebp[vwebp_sdl] (!osx), libwebp[extras] (!osx)
^
note: while validating version: 1.0.3-1
C:\Dev\vcpkg\versions\l-\libwebp.json: C:\Dev\vcpkg\buildtrees\versioning_\versions\libwebp\6ff3a23b154fad821db2d8236bf9d0382f0229cf\CONTROL:1:94: error: invalid character in feature name (must be lowercase, digits, '-', or '*')
on expression: libwebp[anim, gif2webp, img2webp, info, mux, nearlossless, simd, cwebp, dwebp], libwebp[vwebp_sdl, extras] (!osx)
^
note: while validating version: 1.0.3
C:\Dev\vcpkg\versions\o-\opencolorio.json: error: failed to execute: "C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\Dev\vcpkg\.git" "--work-tree=C:\Dev\vcpkg\buildtrees\versioning_\versions\opencolorio\9569944b76966b78bec5ef83672899acd7e4febe_83008.tmp" -c core.autocrlf=false read-tree -m -u 9569944b76
error: git failed with exit code: (128).
fatal: failed to unpack tree object 9569944b76
note: while checking out port opencolorio with git tree 9569944b76
note: while validating version: 2.1.2
C:\Dev\vcpkg\versions\q-\qscintilla.json: error: failed to execute: "C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\Dev\vcpkg\.git" "--work-tree=C:\Dev\vcpkg\buildtrees\versioning_\versions\qscintilla\b5942c0b0a6d9131bc4ad9a1dde662f809a6d965_83008.tmp" -c core.autocrlf=false read-tree -m -u b5942c0b0a6d9131bc4ad9a1dde662f809a6d965
error: git failed with exit code: (128).
fatal: failed to unpack tree object b5942c0b0a6d9131bc4ad9a1dde662f809a6d965
note: while checking out port qscintilla with git tree b5942c0b0a6d9131bc4ad9a1dde662f809a6d965
note: while validating version: 2.13.4
C:\Dev\vcpkg\versions\r-\robin-map.json: error: The version database declares 0.6.3 as version-semver, but 84f1433234 declares it as version-string. Versions must be unique, even if they are declared with different schemes.
note: run:
vcpkg x-add-version robin-map --overwrite-version
to overwrite the scheme declared in the version database with that declared in the port.
C:\Dev\vcpkg\versions\v-\vcpkg-cmake-get-vars.json: error: failed to execute: "C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\Dev\vcpkg\.git" "--work-tree=C:\Dev\vcpkg\buildtrees\versioning_\versions\vcpkg-cmake-get-vars\c6eb09f11e34173a4bfc31252d02d6aea6c25d8f_83008.tmp" -c core.autocrlf=false read-tree -m -u c6eb09f11e
error: git failed with exit code: (128).
fatal: failed to unpack tree object c6eb09f11e
note: while checking out port vcpkg-cmake-get-vars with git tree c6eb09f11e
note: while validating version: 2023-04-13
* Enable raylib on ARM Macs
Raylib has been working on ARM based macOS for a while now. I've tested it on my own, and the raylib project has been building it in actions for a year now. See: https://github.com/raysan5/raylib/pull/2567
* Update version database
* Update raylib.json
---------
Co-authored-by: Lily Wang <94091114+LilyWangLL@users.noreply.github.com>
* Generate Imath.pc
* update version
* add dependency imath minizip-ng
* updata version
* add usage
* update version
* add pc
* update version
* add pc
* update version
* [c89stringutils] Update to 0.0.2
* test UWP
* [rhasheq] Update to latest commit
* version
* version
* Use correct date
* version
* Add rhash patch
* version
* add find_dependency
* version
* remove custom find module
* version
* add more options and remove unused CMake variables
* add version
* [rocksdb] fix liburing option
* update version
* [rocksdb] disable debug runtime for Release configuration (Windows only)
* update version
* [rocksdb] remove processor-specific features
* [rocksdb] update v7.10.2
* add version
* [rocksdb] update to v8.0.0
* add version
* add version
* modify version
* add version
* [rocksdb] update to v8.3.2, build shared library, update ci.basline.txt
* update version
* [rocksdb] PORTABLE option has been modified in v8.3, it should be equal to 1
* clean up ci.baseline.txt
* =update version
* revert "clean up ci.baseline.txt"
* remove unnecessary lines
* update version
* update ci.baseline.txt
* update version
* [rocksdb] remove JeMalloc
* update version
* Xbox triplets should not support ports with only copyleft licenses
* Reverted ports that build with xbox currently
* Fix conflict and rebase
* Update baseline
* Update baseline
* Select fastest available FFT library depending on the platform
* Update to rubberband 3.2.1
* Also added arm64 in the portfile.cmake condition to match arm in the vcpkg.json
* Use FFTW backend on x86_windows due to Microsoft Visual Studio bug
* [recast] Update to 1.6.0 and use official CMakeLists
* version bump
* Use VERSION instead
* version
* New port recastnavigation and set recast depends on it.
* version
* Apply suggestion
* version
* version
* Apply suggestion
* version
---------
Co-authored-by: jyu49 <yu_jack@apple.com>
* Added rtmfp-cpp library.
* Fix version database.
* Added baseline.
* Fixed few things.
* Update version database
* Removed ref id.
* DB update.
* Reset the REF and HEAD_REF
* DB Update.
* Changed old name for new one.
* DB update.
* Update ports/rtmfp-cpp/portfile.cmake
Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
* Update ports/rtmfp-cpp/portfile.cmake
Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
* Changed version.
* Bump version in DB.
* Update version database
* Small modification.
* vcpkg x-add-version --overwrite-version --all
* New hash.
* DB update.
* Fix license.
* DB update.
---------
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
* [many ports]switch to vcpkg-cmake / vckg-cmake-config part 4
* version
* typo
* version
* typo
* version
* Remove PREFER_NINJA
* version
* deprecated vcpkg_extract_source_archive_ex
* version
* fix argument
* version
* More rename
* version
---------
Co-authored-by: jyu49 <yu_jack@apple.com>
* Updated rapidcheck to 2023-01-13.
* Updated version files.
* Add license note and quotes.
* Forgot to fix version DB :)
---------
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [raygui] Add new port
* Update ports/raygui/portfile.cmake
Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
* [raygui] Update version
---------
Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
* [rkcommon] add port
* v db
* Fix static builds and supports
* format manifest
* v db
* Add usage file.
---------
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Switch stuff to Qt6
* give opencv4 the correct deps
* add Qt5Compat to find_dependency
* refine vtk deps and promote targets to global
* fix dep
* ci is probably faster than my desktop pc building.
* remove invalid patch part
* add qt6 patch
* second patch
* make openimageio ignore qt5
* [skip actions] qt6 part 3
* vtk qt6 patch
* try openimageio again
* move gl include
* fix patch
* does it work now?
* remove qualified name
* more qt6 fixes
* more patches
* update and fix rtabmap
* gles feature in qtbase needs to be disabled for vtk since vtk assumes desktop opengl
* remove patch add error if qtbase was build with gles2
* disable also second patch
* fix theia
* paraview consolidate patches
* fix case issue
* fix missing ,
* add more qt6 changes
* remove unnecessary patches
* bump port version
* remove comments from vtk
* add platform features for tools.
* fix format
* bump ports
* another one to bump
* v db
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* Fix dependency on glfw for emscripten and compilation options
* Updated port version and commit
* add port-version
* vdb
Co-authored-by: FrankXie <v-frankxie@microsoft.com>
* set license in range-v3
* run x-add-version
* set license in range-v3
* run x-add-version
Co-authored-by: Julian Zimmermann <julian.zimmermann@gti.de>
* add port for `rubberband`
[rubberband](https://www.breakfastquay.com/rubberband/) is a small
library for stretching sounds.
This is the minimal portfile to make vcpkg happy, but probably still
needs some improvement, i.e. not picking up system libraries.
* [rubberband] Update to 2.0.2
* [rubberband] remove lv2 feature, because the install location is out of the vcpkg install tree
* [rubberband] Remove vcpkg_cmake_get_vars dependency
* [rubberband] Disable static builds on windows because of broken libsndfile dependency
Co-authored-by: Daniel Reuter <daniel.robin.reuter@googlemail.com>
* [tsl-robin-map] Rename robin-map to tsl-robin-map
* format-manifest
* Let robin-map be an empty port
* x-add-version
* Add empty line
* Add PACKAGE_NAME tsl-robin-map
* Add missing port
* [rapidjson] Fix cmake config
* version
* There are no pc files on Windows
* version
* Different config paths on Windows
* version
* Fix config path
* version
* Upstream messed up cmake config on Windows
* version
* Remove PACKAGE_NAME on Windows
* version
* Fix config location
* version
* Revert FILE_DISAMBIGUATOR removal because it invalidates existing downloads for no reason.
* Fix version DB
Co-authored-by: Billy O'Neal <bion@microsoft.com>
* feature upgrade rxcpp version from v4.1.0 to v4.1.1
* feature x-add-version
* fix rxcpp version hash diff
* feature migrating new cmake function
* feature upgrade vcpkg from v4.1.0 to v4.1.1
* fix format-manifest
* feature use version instead of version-string
* feature run x-add-version for rxcpp
* feature add license to rxcpp
* feature x-add-version for rxcpp
* update vcpkg.json
* update version
Co-authored-by: Jonliu1993 <13720414433@163.com>
* [test] Test rapidjson hash
* Restore the origin hash
* version
* Re-trigger download
* version
* Try to check hash again
* version
* Remove empty space to reduce changes size
* version
* increase num
* version
* Provide Deshaw Research's Random123 implementation
* Convert CONTROL to vcpkg.json.
* Update versions/baseline.json.
* Remove call to deprecated function.
* Address reviewer comments by using vcpkg_from_github.
* Implement recommended changes from MR review.
* Update x-add-version.
* Random123 uses a proprietary license that is very similar to BSD.
* Random123 uses a proprietary license that is very similar to BSD.
* Update versions file.
* format portfile.cmake
* x-add-version
* apply suggestion
* x-add-version
Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
* [c4core] update version to 0.1.9
* update version
* [ryml] update version to 0.4.1
* update version
* add license
* update version
* disable triplet arm-uwp
* overwrite version
* format patch
* overwrite version
* don't use new macro
* update version
* updated libunifex version
* remove comment
* run x-add-versions --all
* Update ports/libunifex/vcpkg.json
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* rerun x-add-version libunifex
* Update versions/l-/libunifex.json
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* update libunifex to 12-07
* x-add-version
* libunifex port update
force cpp20 as cpp17 build doesn't work with msvc. added a compile fix for externConstexpr and removed warnings with /EHsc
* Update libunifex.json
version update
* Update fix-compile-error.patch
relax clang warnings
* Update libunifex.json
git x-add-version libunifex
* remove unused
* x-add-versions
* remove old version log
* fixed static compile option
* bumped port version
* run x-add-version --all
* Hook up RTTR's actual build settings.
* Add license.
* Remove ci.baseline skips.
* Put ci.baseline.txt skips back with a comment.
* Be less pessimistic in cmake config handling, fix typo, and add indents.
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
* [eigen3] Update to 3.4.0
* [theia] Update to support Eigen 3.4
* [shogun/openmvg] Patches to support Eigen 3.4 from @cenit
* Commit result of x-add-version
* [rtabmap] add bigobj
* x-add-version
* Update ports/eigen3/vcpkg.json
Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
* Run x-add-version
Co-authored-by: Tobias Wood <tobias@mi3.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Amin Yahyaabadi <aminyahyaabadi74@gmail.com>
Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
* Update folly
* Update wangle
* Update fizz
* Version
* Fix patch
* Fix patch
* version
* Fix error in rsocket
* Fix patch
* Fix patch
* version vor rsocket
* Update fbthrift
* fbthrift version
* Fix fbthrift
* Fix fbthreft version
* fbthrift: fix empty dir
* fbthrift: update version
* Update mvfst
* Update proxygen
* Update hashes
* update version
* remove unused patchfiles
* Fix deprecated cmake functions
* format and version
* version
* rsocket: fix version
* rsocket: update port version
* fix version
* fix version
* update version
* restore version
* update port version
* update version
* fix port version
* version
* remove v from version string
* version
* Add quotes
* version