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
* [libremidi] Add new port
* [libremidi] Add license to vcpkg.json
* [libremidi] Update version
* [libremidi] Apply suggestions from code review
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
* [libremidi] Use newer upstream version with UWP build fix
* [libremidi] Update version
---------
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
* Port Launch Darkly Server is supported on ARM
I tested it.
* Build fail on arm-neon-android
* Remove launch-darkly's warning as error
and change CI baseline back
* add libsystemd, libcap, libxcrypt
* baseline libsystemd, libcap, libxcrypt
* versions tree libsystemd, libcap, libxcrypt
* licenses for libsystemd, libcap, libxcrypt in vcpkg.json
* update tree for libsystemd, libcap, libxcrypt
* allow restricted header libxcrypt
* tree allow restricted header libxcrypt
* remove message Warning
* use targets exist during configure, instead of configure_file variable to search for zstd
* update git-tree
* add quotes to full paths and remove messages in portfiles
* update git-tree
* remove extra spaces
* update git-tree
* remove extra line
* update git tree
* do configure hack differently and remove cross compile patch and override compiler during build_make
* update git tree
* try either gcc or clang for libcap and specify log file root for each build command
* update git-tree
* libcap use host dependency of self
* libcap update git tree
* libsystemd is LGPL2.1
* update libsystemd git-tree
* change from find_package to find_dependency in unofficial cmake export
of libsystemd
* update libsystemd git-tree
* update libxcrypt
* update git tree libxcrypt
* patch pkgconfig file of libsystemd
* update libsystemd git-tree
* update libsystemd to 254
* update git-tree libsystemd
* * Copy of cap_names.h checked in for cross compilation
* Decouple cap_names.h from libcap.* make targets
* Use vcpkg_cmake_get_vars instead of ENV{CC} etc.
* Remove unnecessary self dependency of libcap
* Update libcap to 1.2.69
* Update git-tree
* cleanup old versions from version jsons
* fix renaming library
* update version
* add usage
* update version
* update line break
* update version
---------
Co-authored-by: Jim wang (BEYONDSOFT CONSULTING INC) <v-wangjim@microsoft.com>
* [libbjson] update port to v1.24.3
* update version
* [libbson] add patch
* update version
* [mongo-c-driver] update port to v1.24.3
* update hash
* [mongo-cxx-driver] update port to r3.8.0
* update hash
* [libzip] fix pkgconfig
* v db
* CR. Use Requires.private
Co-authored-by: Kai Pastor <dg0yt@darc.de>
* v db
* fix lzma pc name
* v db
---------
Co-authored-by: Kai Pastor <dg0yt@darc.de>
* Initial support of libunwind
* Fix copyright install
* ./vcpkg x-add-version --all
* Update git-tree
* Resolve some change requests
- A blank line needs to be added at the end of the file.
- Fix the version number in the vcpkg.json and usage files.
* Fix version
* Use vcpkg_from_github instead vcpkg_from_git
* Fix usage and portfile.cmake files
* Fix git-tree
* Yet another refactor
* Update git-tree
* update libosmium to 2.19.0
* Update ports/libosmium/portfile.cmake
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
* update libosmium.json
* cleanup
---------
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
* [python3] Update to 3.11.3
* Force set PythonForBuild on windows
* Set LD_LIBRARY_PATH on unix
* Always use vcpkg_find_acquire_program(PYTHON3) on windows
* Remove LD_LIBRARY_PATH shenanigans
* [vtk] Parse python version from include folder
* Fix static builds on windows
* Pass --with-build-python on unix
* [omniorb] Fix python version in patch
* Resurrect rpath patch
* [python3] fix usage
* [gobject-introspection] don't hardcode python version
* Update vcpkg_find_aquire_program(PYTHON3)
This is also required for gobject-introspection
* [paraview] don't hardcode python version
* [vtk-dicom] don't hardcode python version
* Update python in vcpkgTools.xml
* Fix host arch detection in vcpkg_find_acquire_program(PYTHON3)
* [libpq] Don't hardcode python version
* [shiva] Don't pass python variables
* [vcpkg-get-python-packages] Delete unused file, update hardcoded python version
* [python3] update to 3.11.4
* [omniorb] Use PREPEND in vcpkg_add_to_path
So that python from vcpkg is picked before system python
* libpq quickfix
* re-fix libpq
* fix vcpkg-get-python-packages
* Make windows 7 patch compatible with unix builds
* Copy pyd files to bin
Also fixes copying files that do not belong to current build tree
* Fix static builds
* Speculatively fix osx regression
* Fix omniorb on unix
* [gobject-introspection] fix windows builds
* [vtk] Update vendored copy of mpi4py for python 3.11 support
* [mdl-sdk] Fix python
* [gobject-introspection] fix the fix of a fix...
* Update versions
* Undo changes in gobject-introspection and vcpkg_find_aquire_program(PYTHON3)
---------
Co-authored-by: root <root@DESKTOP-UIPL9V8>
* [libphonenumber] Bump to 8.13.17 & fix linux and macOS build
* update version database
* fix windows icui18n lib name
* update version database
* fix patches
* update version database
* fix ci.baseline.txt
* Upgrade librdkafka up to v2.2.0
* Upgrade librdkafka up to v2.2.0
---------
Co-authored-by: Smyslov Alexander Nikolayevich <aleksandr.smyslov@fxclub.com>
* update libhv version to 1.3.1
* update vcpkg version information
* modify SHA512 value
* modify vcpkg version information
* delete patch file
* modify vcpkg version information
* Update ports/libhv/vcpkg.json
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
* revert version
* update version baseline
---------
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
Co-authored-by: Frank <1433351828@qq.com>
* [libxdf] Add new port
* [libxdf] Format
* [libxdf] Add version stuff
* [libxdf] Use vcpkg_install_copyright
* [libxdf] Overwrite version
* [libxdf] Fix pugixml dependency
* [libxdf] Overwrite version
* [libxdf] Update to latest commit
* [libxdf] Overwrite version
* Revert "[libxdf] Overwrite version"
This reverts commit a9a791bbaf.
Revert "[libxdf] Update to latest commit"
This reverts commit 834ae8738c.
* [librsvg] add license id and use vcpkg_install_copyright()
COPYING and COPYING.LIB have identical texts.
The source files state, that the LGPL is the:
GNU Library General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any
later version.
* Update version database
* [libepoxy] Fix android builds
* [libepoxy] uwp is unsupported
* [libepoxy] windows staticcrt is unsupported
Initialization code is in DllMain, so dynamic linkage is required, so avoid static CRT.
* [libssh] Update to 0.10.5
* Fix pc file for mingw on linux
* Fix exported config
* Update ci baseline
* Update usage
* Revert "Update ci baseline"
---------
Co-authored-by: Cheney-Wang <850426846@qq.com>
* refine feature name for libosmscout
* update port-version for libosmscout
* vcpkg x-add-version for libosmscout
---------
Co-authored-by: abc <a@b.com>
* 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
* Update libupdf to 1.22.1
* update versions
* Update ports/libmupdf/vcpkg.json
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
* Update ports/libmupdf/vcpkg.json
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
* Update versions
* Update versions/l-/libmupdf.json
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
---------
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
* [libmicrohttpd] Update to version 0.9.77
* [libmicrohttpd] Remove unneeded dependency
Gettext is used by upstream only to build files for distribution.
Gettext is not used by the library itself.
* [libmicrohttpd] Add ARM support
The ARM is supported by upstream for a long time, VC support for ARM
was added in the version 0.9.77.
* [libmicrohttpd] Use universal project for VC builds
* [libmicrohttpd] Exclude wrong lib headers
* [libmicrohttpd] Support release/debug for non-VC builds
* [libmicrohttpd] Add license
* [libmicrohttpd] Add "https" feature
* [libmicrohttpd] Use right function for license file
* [libmicrohttpd] Fix "supports"
libmicrohttpd VC projects support only static library with static
runtime or dynamic library with dynamic runtime
* [libmicrohttpd] Update version database
* New port: libtracepoint-decode (decoder for perf.data)
Library for decoding tracepoints, e.g. from Linux perf.data files.
* Version 1.0 for new port: libtracepoint-decode
* [libgit2] defined GIT_OPENSSL option
* update version
* update version
* update version
* update portfile.cmake
* update version
* remove unix restrictions
* update version
* Fix the issue that the proxy cannot run
* update version
* fix build error
* update version
* fix build error on osx
* update version
* fix does not support android
* update version
* [libmad] Add dynamic building
* Update version
* Fix version
* Fixes to use vcpkg concepts
* Update version
* change to mad
* Update version
* PR fixes
* Update version
* Add version
* Update version
* [luajit] Use nmake build setup [skip actions]
* [luajit] Use vcpkg_configure/install_make [skip actions]
* Cross build with host tools
* Host tools must match target bitness
* Cleanup
* WIP
* Don't touch CI baseline now
* Less osx quirks
* Move msvc header installation to nmake
* Simplify MSVC
* Add arm and x86 cross build support
* libzim: add package
update libzim versions
libzim:meson ignore xapian
* Update ports/libzim/vcpkg.json
Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
* Update ports/libzim/portfile.cmake
Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
* support both static and dynamic library
* modify according to review
Update ports/libzim/portfile.cmake
Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
add version
* only enable release library
* make xapian does not support on windows
* disable android platform
---------
Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
* [librdkafka] upgrade version up to 2.1.1
* [librdkafka] upgrade version up to 2.1.1
* Update ports/librdkafka/portfile.cmake
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
* [librdkafka] upgrade version up to 2.1.1
* remove blank
* update version
---------
Co-authored-by: Smyslov Alexander Nikolayevich <aleksandr.smyslov@fxclub.com>
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
Fix: Change /lib/plugin/debug to /debug/lib/plugin
Feat: Change ref to actual tagged version
Fix: Remove duplicate "remove" file
Fix: Add WITH_BUILD_ID to MAYBE_UNUSED_VARIABLES
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
This aligns with the behaviour of other ports like QT and GStreamer
deadlocks when trying to load glib shared libraries if they are in
the plugin directory.