You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When use vcpkg manifest mode with builtin-baseline, if set to a revision later than a dependency was removed, the CMake configuration fails without a clear message describing why (the port is removed)
Environment
OS: Windows 11
To Reproduce
Using a old version of builtin-baseline, use websocketpp without problem, then trying to update to latest vcpkg revision.
Set baseline to the revision, in this case, websocketpp is removed at [boost] update to 1.87.0 #42678, which is 566f9496b7e00ee0cc00aca0ab90493d122d148a (In fact any revision later than this will reproduce). Keep the removed dependency.
The CMake configuration failed without a clear error message (e.g. the port is removed, the port is not found)
-- Running vcpkg install
error: "C:\Program Files\Git\bin\git.exe" --git-dir "E:\vcpkg\.git" -c core.autocrlf=false read-tree 4cca0dda87286e4d7f84ece919a4a60de04252e3 failed with exit code 128
fatal: failed to unpack tree object 4cca0dda87286e4d7f84ece919a4a60de04252e3
note: while checking out port websocketpp with git tree 4cca0dda87286e4d7f84ece919a4a60de04252e3
note: See https://learn.microsoft.com/vcpkg/users/versioning-troubleshooting?WT.mc_id=vcpkg_inproduct_cli for more information.
note: while loading [email protected]#4
-- Running vcpkg install - failed
CMake Error at E:/vcpkg/scripts/buildsystems/vcpkg.cmake:938 (message):
vcpkg install failed. See logs for more information:
E:\wspp-repro\cmake-build-debug\vcpkg-manifest-install.log
Call Stack (most recent call first):
C:/Users/reito/AppData/Local/Programs/CLion/bin/cmake/win/x64/share/cmake-3.31/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:2 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
The linked document also doesn't have this reason listed.
As you can see, in versions/w-/websocketpp.json, the 0.8.2#4 points to a git-tree that doesn't exist.
reitowo
changed the title
Removal of a vcpkg port fails manifest configuration when using builtin-baseline
Removal of a vcpkg port fails manifest configuration when using builtin-baseline after removal commit.
May 31, 2025
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
When use vcpkg manifest mode with
builtin-baseline
, if set to a revision later than a dependency was removed, the CMake configuration fails without a clear message describing why (the port is removed)Environment
To Reproduce
Using a old version of
builtin-baseline
, use websocketpp without problem, then trying to update to latest vcpkg revision.Set baseline to the revision, in this case, websocketpp is removed at [boost] update to 1.87.0 #42678, which is
566f9496b7e00ee0cc00aca0ab90493d122d148a
(In fact any revision later than this will reproduce). Keep the removed dependency.The linked document also doesn't have this reason listed.
versions/w-/websocketpp.json
, the0.8.2#4
points to a git-tree that doesn't exist.Expected behavior
port-version
instead of some other flag indicating a removal?The text was updated successfully, but these errors were encountered: