[boost-coroutine] Build error on x64-windows
Package: boost-coroutine:[email protected]
Host Environment
- Host: x64-windows
- Compiler: MSVC 19.44.35208.0
- vcpkg-tool version: 2025-06-02-145689e84b7637525510e2c9b4ee603fda046b56 vcpkg-scripts version: 984f9232b2 2025-06-06 (19 hours ago)
To Reproduce
vcpkg install
Failure logs
-- Using cached boostorg-coroutine-boost-1.80.0.tar.gz
-- Cleaning sources at E:/D/vcpkg/buildtrees/boost-coroutine/src/ost-1.80.0-b1ff22a432.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/D/vcpkg/downloads/boostorg-coroutine-boost-1.80.0.tar.gz
-- Using source at E:/D/vcpkg/buildtrees/boost-coroutine/src/ost-1.80.0-b1ff22a432.clean
-- Found external ninja('1.12.1').
-- Getting CMake variables for x64-windows
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: E:/D/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j17
Working Directory: E:/D/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg
See logs for more information:
E:\D\vcpkg\buildtrees\boost-coroutine\install-x64-windows-dbg-out.log
Call Stack (most recent call first):
D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/share/boost-build/boost-modular-build.cmake:136 (vcpkg_cmake_install)
buildtrees/versioning_/versions/boost-coroutine/c5c4a955fcf3465c0e9589a57d9c9f2df02eb3a2/portfile.cmake:12 (boost_modular_build)
scripts/ports.cmake:206 (include)
E:\D\vcpkg\buildtrees\boost-coroutine\install-x64-windows-dbg-out.log
Change Dir: 'E:/D/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg'
Run Build Command(s): "D:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v -v -j17 install
[1/2] C:\WINDOWS\system32\cmd.exe /C "cd /D E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean\build && D:\mmbtb\Documents\QTProject\WinAudit\vcpkg_installed\x64-windows\tools\boost-build\b2.exe toolset=msvc --user-config=E:/D/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg/user-config.jam --stagedir=E:/D/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg/stage --build-dir=E:/D/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg runtime-link=shared link=shared address-model=64 architecture=x86 target-os=windows threadapi=win32 variant=debug --disable-icu --with-atomic --with-random --with-date_time --with-filesystem --with-system --with-thread --with-chrono -j16 -sBOOST_ROOT=D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/tools/boost-build -sBOOST_BUILD_PATH=D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/tools/boost-build --debug-configuration --debug-building --debug-generators --ignore-site-config --hash -q debug-symbols=on -d +2 threading=multi stage"
FAILED: CMakeFiles/boost E:/D/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg/CMakeFiles/boost
C:\WINDOWS\system32\cmd.exe /C "cd /D E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean\build && D:\mmbtb\Documents\QTProject\WinAudit\vcpkg_installed\x64-windows\tools\boost-build\b2.exe toolset=msvc --user-config=E:/D/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg/user-config.jam --stagedir=E:/D/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg/stage --build-dir=E:/D/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg runtime-link=shared link=shared address-model=64 architecture=x86 target-os=windows threadapi=win32 variant=debug --disable-icu --with-atomic --with-random --with-date_time --with-filesystem --with-system --with-thread --with-chrono -j16 -sBOOST_ROOT=D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/tools/boost-build -sBOOST_BUILD_PATH=D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/tools/boost-build --debug-configuration --debug-building --debug-generators --ignore-site-config --hash -q debug-symbols=on -d +2 threading=multi stage"
notice: loading B2 from D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/tools/boost-build/src/kernel/bootstrap.jam
notice: Site configuration files will be ignored due to the
notice: --ignore-site-config command-line option.
notice: Loading explicitly specified user configuration file:
E:\D\vcpkg\buildtrees\boost-coroutine\x64-windows-dbg\user-config.jam
notice: Searching 'E:\D\vcpkg\buildtrees\boost-coroutine\x64-windows-dbg' for user-config configuration file 'user-config.jam'.
notice: Loading user-config configuration file 'user-config.jam' from 'E:/D/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg'.
notice: [msvc-cfg] msvc-14.3 detected, command: 'D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\Hostx64\arm\cl.exe'
notice: will use 'D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe' for msvc, condition <toolset>msvc-144
notice: [msvc-cfg] condition: '<toolset>msvc-144/<architecture>x86/<address-model>32', setup: 'D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86'
notice: [msvc-cfg] condition: '<toolset>msvc-144/<architecture>/<address-model>32', setup: 'D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86'
notice: [msvc-cfg] condition: '<toolset>msvc-144/<architecture>x86/<address-model>64', setup: 'D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/share/boost-build/nothing.bat amd64'
notice: [msvc-cfg] condition: '<toolset>msvc-144/<architecture>/<address-model>64', setup: 'D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/share/boost-build/nothing.bat amd64'
notice: [msvc-cfg] condition: '<toolset>msvc-144/<architecture>x86/<address-model>', setup: 'D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/share/boost-build/nothing.bat amd64'
notice: [msvc-cfg] condition: '<toolset>msvc-144/<architecture>/<address-model>', setup: 'D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/share/boost-build/nothing.bat amd64'
notice: [msvc-cfg] condition: '<toolset>msvc-144/<architecture>ia64/<address-model>64', setup: 'D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86_ia64'
notice: [msvc-cfg] condition: '<toolset>msvc-144/<architecture>ia64/<address-model>', setup: 'D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86_ia64'
notice: [msvc-cfg] condition: '<toolset>msvc-144/<architecture>arm/<address-model>32', setup: 'D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86_arm'
notice: [msvc-cfg] condition: '<toolset>msvc-144/<architecture>arm/<address-model>64', setup: 'D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86_arm64'
Building target '../build/stage'
Build request: object(property-set)@398 <address-model>64 <architecture>x86 <debug-symbols>on <link>shared <runtime-link>shared <target-os>windows <threadapi>win32 <threading>multi <toolset>msvc <variant>debug
Command line free features:
Target requirements: <archiveflags>-machine:x64 -nologo <define>BOOST_ALL_NO_LIB=1 <define>BOOST_COROUTINES_SOURCE <hardcode-dll-paths>false <include>../include&&/D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/include <library>/boost/context//boost_context <link>shared:<define>BOOST_COROUTINES_DYN_LINK=1 <linkflags>-machine:x64 -nologo -debug -INCREMENTAL <location>/E:/D/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg/stage/lib <relevant>cxxflags:<relevant>segmented-stacks <relevant>cxxflags:<relevant>target-os <relevant>cxxflags:<relevant>toolset <relevant>define:<relevant>link <relevant>threading:<relevant>runtime-link <relevant>threading:<relevant>toolset <tag>@Jamfile<E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean>%Jamfile<E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean>.tag <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS <target-os>linux,<toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack <toolset>msvc,<runtime-link>shared:<threading>multi <translate-path>@Jamfile<E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean\build>%Jamfile<E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean\build>.stage-translate-path
Common properties: <address-model>64 <architecture>x86 <archiveflags>-machine:x64 -nologo <asynch-exceptions>off <coverage>off <debug-store>object <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <define>BOOST_COROUTINES_DYN_LINK=1 <define>BOOST_COROUTINES_SOURCE <embed-manifest-via>linker <embed-manifest>on <exception-handling>on <extern-c-nothrow>off <hardcode-dll-paths>false <host-os>windows <include>../include&&/D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/include <inlining>off <install-dependencies>off <library>/boost/context//boost_context <link>shared <linkflags>-machine:x64 -nologo -debug -INCREMENTAL <location>/E:/D/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg/stage/lib <midl-robust>yes <midl-stubless-proxy>yes <optimization>off <os>NT <pch>on <preserve-test-targets>on <profiling>off <relevant>cxxflags:<relevant>segmented-stacks <relevant>cxxflags:<relevant>target-os <relevant>cxxflags:<relevant>toolset <relevant>define:<relevant>link <relevant>threading:<relevant>runtime-link <relevant>threading:<relevant>toolset <response-file>auto <rtti>on <runtime-debugging>on <runtime-link>shared <stdlib>native <strip>off <suppress-import-lib>false <symlink-location>project-relative <tag>@Jamfile<E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean>%Jamfile<E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean>.tag <target-os>windows <testing.execute>on <threadapi>win32 <threading>multi <toolset-msvc:version>144 <toolset>msvc <translate-path>@Jamfile<E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean\build>%Jamfile<E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean\build>.stage-translate-path <user-interface>console <variant>debug <vectorize>off <warnings-as-errors>off <warnings>on <windows-api>desktop
Building target '../boost_context'
Build request: object(property-set)@425 <address-model>64 <architecture>x86 <asynch-exceptions>off <coverage>off <debug-store>object <debug-symbols>on <embed-manifest-via>linker <embed-manifest>on <exception-handling>on <extern-c-nothrow>off <inlining>off <link>shared <midl-robust>yes <midl-stubless-proxy>yes <optimization>off <os>NT <pch>on <preserve-test-targets>on <profiling>off <relevant>variant <rtti>on <runtime-debugging>on <runtime-link>shared <stdlib>native <strip>off <target-os>windows <testing.execute>on <threadapi>win32 <threading>multi <toolset-msvc:version>144 <toolset>msvc <variant>debug <vectorize>off <warnings-as-errors>off <warnings>on <windows-api>desktop
Command line free features:
Target requirements: <archiveflags>-machine:x64 -nologo <define>BOOST_ALL_NO_LIB=1 <file>/boost//D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/debug/lib/boost_context-vc140-mt-gd.lib <include>../include&&/D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/include <linkflags>-machine:x64 -nologo -debug -INCREMENTAL <relevant>threading:<relevant>runtime-link <relevant>threading:<relevant>toolset <tag>@Jamfile<E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean>%Jamfile<E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean>.tag <toolset>msvc,<runtime-link>shared:<threading>multi <variant>debug
Common properties: <address-model>64 <architecture>x86 <archiveflags>-machine:x64 -nologo <asynch-exceptions>off <coverage>off <debug-store>object <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <embed-manifest-via>linker <embed-manifest>on <exception-handling>on <extern-c-nothrow>off <file>/boost//D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/debug/lib/boost_context-vc140-mt-gd.lib <hardcode-dll-paths>true <host-os>windows <include>../include&&/D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/include <inlining>off <install-dependencies>off <link>shared <linkflags>-machine:x64 -nologo -debug -INCREMENTAL <midl-robust>yes <midl-stubless-proxy>yes <optimization>off <os>NT <pch>on <preserve-test-targets>on <profiling>off <relevant>threading:<relevant>runtime-link <relevant>threading:<relevant>toolset <relevant>variant <response-file>auto <rtti>on <runtime-debugging>on <runtime-link>shared <stdlib>native <strip>off <suppress-import-lib>false <symlink-location>project-relative <tag>@Jamfile<E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean>%Jamfile<E:\D\vcpkg\buildtrees\boost-coroutine\src\ost-1.80.0-b1ff22a432.clean>.tag <target-os>windows <testing.execute>on <threadapi>win32 <threading>multi <toolset-msvc:version>144 <toolset>msvc <user-interface>console <variant>debug <vectorize>off <warnings-as-errors>off <warnings>on <windows-api>desktop
error: Unable to find file or target named
error: '/boost//D:/mmbtb/Documents/QTProject/WinAudit/vcpkg_installed/x64-windows/debug/lib/boost_context-vc140-mt-gd.lib'
error: referred to from project at
error: '..'
ninja: build stopped: subcommand failed.
Additional context
vcpkg.json
{
"name": "winaudit",
"version": "0.0.1",
"dependencies": [
{
"name": "fmt",
"version>=": "9.0.0"
},
{
"name": "spdlog",
"version>=": "1.10.0#1"
},
{
"name": "curl",
"version>=": "7.84.0#2",
"features": [
"ssh"
]
},
{
"name": "libarchive",
"version>=": "3.6.1#1"
},
{
"name": "boost-algorithm",
"version>=": "1.80.0"
},
{
"name": "boost-date-time",
"version>=": "1.80.0"
},
{
"name": "boost-filesystem",
"version>=": "1.80.0"
},
{
"name": "boost-asio",
"version>=": "1.80.0"
},
{
"name": "boost-locale",
"version>=": "1.80.0"
},
{
"name": "sqlite3",
"version>=": "3.40.1#3"
},
{
"name": "rapidjson",
"version>=": "2022-06-28#3"
},
{
"name": "openssl",
"version>=": "3.0.5#4"
},
{
"name": "sqlpp11",
"version>=": "0.61#2",
"features": [
"sqlite3"
]
},
{
"name": "minizip",
"version>=": "1.2.13#2"
},
{
"name": "libxlsxwriter",
"version>=": "1.1.5#1"
}
],
"builtin-baseline": "5f82fa45df07a446bab57f65479f3d2df797f408",
"overrides": [
{
"name": "fmt",
"version": "9.0.0"
},
{
"name": "spdlog",
"version": "1.10.0#1"
},
{
"name": "curl",
"version": "7.84.0#2"
},
{
"name": "libarchive",
"version": "3.6.1#1"
},
{
"name": "boost-algorithm",
"version": "1.80.0"
},
{
"name": "boost-date-time",
"version": "1.80.0"
},
{
"name": "boost-filesystem",
"version": "1.80.0"
},
{
"name": "boost-asio",
"version": "1.80.0"
},
{
"name": "boost-locale",
"version": "1.80.0"
},
{
"name": "sqlite3",
"version": "3.40.1#3"
},
{
"name": "rapidjson",
"version": "2022-06-28#3"
},
{
"name": "openssl",
"version": "3.0.5#4"
},
{
"name": "sqlpp11",
"version": "0.61#2"
},
{
"name": "minizip",
"version": "1.2.13#2"
},
{
"name": "libxlsxwriter",
"version": "1.1.5#1"
}
]
}
The latest version of boost-coroutine in vcpkg works, maybe update to that :)
Same problem when trying to install boost 1.85. It seems that vcpkg tries to download and install boost-coroutine 1.88 even when the versions are locked to 1.85.
@jwc1zkj you can try to follow this in order to freeze with a specific version using the registry baseline:
https://learn.microsoft.com/en-us/vcpkg/consume/boost-versions
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.