Skip to content

[boost-coroutine] build error on x64-windows #48723

@zhaotong96

Description

@zhaotong96

Package: boost-coroutine:[email protected]

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.50.35719.0
  • CMake Version: 3.31.10
  • vcpkg-tool version: 2025-11-19-da1f056dc0775ac651bea7e3fbbf4066146a55f3
    vcpkg-scripts version: ab2977b 2025-12-06 (3 hours ago)

To Reproduce

vcpkg install

Failure logs

Downloading https://github.com/boostorg/coroutine/archive/boost-1.83.0.tar.gz -> boostorg-coroutine-boost-1.83.0.tar.gz
Successfully downloaded boostorg-coroutine-boost-1.83.0.tar.gz
-- Extracting source C:/PUBLIC/yuzu/externals/vcpkg/downloads/boostorg-coroutine-boost-1.83.0.tar.gz
-- Using source at C:/PUBLIC/yuzu/externals/vcpkg/buildtrees/boost-coroutine/src/ost-1.83.0-554f073b34.clean
-- 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: C:/PUBLIC/yuzu/externals/vcpkg/downloads/tools/cmake-3.31.10-windows/cmake-3.31.10-windows-x86_64/bin/cmake.exe --build . --config Debug --target install -- -v -j17
    Working Directory: C:/PUBLIC/yuzu/externals/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg
    See logs for more information:
      C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/share/boost-build/boost-modular-build.cmake:139 (vcpkg_cmake_install)
  buildtrees/versioning_/versions/boost-coroutine/d8a5c2cff3de497580fc8dc363ebc3e8ec0c9a1d/portfile.cmake:12 (boost_modular_build)
  scripts/ports.cmake:206 (include)



C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\install-x64-windows-dbg-out.log
Change Dir: 'C:/PUBLIC/yuzu/externals/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg'

Run Build Command(s): C:/PUBLIC/yuzu/externals/vcpkg/downloads/tools/ninja/1.13.1-windows/ninja.exe -v -v -j17 install
[1/2] C:\WINDOWS\system32\cmd.exe /C "cd /D C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.clean\build && C:\PUBLIC\yuzu\vcpkg_installed\x64-windows\tools\boost-build\b2.exe toolset=msvc --user-config=C:/PUBLIC/yuzu/externals/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg/user-config.jam --stagedir=C:/PUBLIC/yuzu/externals/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg/stage --build-dir=C:/PUBLIC/yuzu/externals/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 -j 17 -sBOOST_ROOT=C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/tools/boost-build -sBOOST_BUILD_PATH=C:/PUBLIC/yuzu/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: [code=1] CMakeFiles/boost C:/PUBLIC/yuzu/externals/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg/CMakeFiles/boost 
C:\WINDOWS\system32\cmd.exe /C "cd /D C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.clean\build && C:\PUBLIC\yuzu\vcpkg_installed\x64-windows\tools\boost-build\b2.exe toolset=msvc --user-config=C:/PUBLIC/yuzu/externals/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg/user-config.jam --stagedir=C:/PUBLIC/yuzu/externals/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg/stage --build-dir=C:/PUBLIC/yuzu/externals/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 -j 17 -sBOOST_ROOT=C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/tools/boost-build -sBOOST_BUILD_PATH=C:/PUBLIC/yuzu/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 C:/PUBLIC/yuzu/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:
    C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\x64-windows-dbg\user-config.jam
notice: Searching 'C:\PUBLIC\yuzu\externals\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 'C:/PUBLIC/yuzu/externals/vcpkg/buildtrees/boost-coroutine/x64-windows-dbg'.
notice: will use 'C:/Program Files/Microsoft Visual Studio/18/Insiders/VC/Tools/MSVC/14.50.35717/bin/Hostx64/x64/cl.exe' for msvc, condition <toolset>msvc-145
notice: [msvc-cfg] condition: '<toolset>msvc-145/<architecture>x86/<address-model>32', setup: 'C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86'
notice: [msvc-cfg] condition: '<toolset>msvc-145/<architecture>/<address-model>32', setup: 'C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86'
notice: [msvc-cfg] condition: '<toolset>msvc-145/<architecture>x86/<address-model>64', setup: 'C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/share/boost-build/nothing.bat amd64'
notice: [msvc-cfg] condition: '<toolset>msvc-145/<architecture>/<address-model>64', setup: 'C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/share/boost-build/nothing.bat amd64'
notice: [msvc-cfg] condition: '<toolset>msvc-145/<architecture>x86/<address-model>', setup: 'C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/share/boost-build/nothing.bat amd64'
notice: [msvc-cfg] condition: '<toolset>msvc-145/<architecture>/<address-model>', setup: 'C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/share/boost-build/nothing.bat amd64'
notice: [msvc-cfg] condition: '<toolset>msvc-145/<architecture>ia64/<address-model>64', setup: 'C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86_ia64'
notice: [msvc-cfg] condition: '<toolset>msvc-145/<architecture>ia64/<address-model>', setup: 'C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86_ia64'
notice: [msvc-cfg] condition: '<toolset>msvc-145/<architecture>arm/<address-model>32', setup: 'C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86_arm'
notice: [msvc-cfg] condition: '<toolset>msvc-145/<architecture>arm/<address-model>64', setup: 'C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86_arm64'

Building target '../build/stage'
     Build request: object(property-set)@412 <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&&/C:/PUBLIC/yuzu/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>/C:/PUBLIC/yuzu/externals/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<C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.clean>%Jamfile<C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.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<C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.clean\build>%Jamfile<C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.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&&/C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/include <inlining>off <install-dependencies>off <library>/boost/context//boost_context <link>shared <linkflags>-machine:x64 -nologo -debug -INCREMENTAL <location>/C:/PUBLIC/yuzu/externals/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<C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.clean>%Jamfile<C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.clean>.tag <target-os>windows <testing.execute>on <threadapi>win32 <threading>multi <toolset-msvc:version>145 <toolset>msvc <translate-path>@Jamfile<C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.clean\build>%Jamfile<C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.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)@441 <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>145 <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//C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/debug/lib/boost_context-vc140-mt-gd.lib <include>../include&&/C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/include <linkflags>-machine:x64 -nologo -debug -INCREMENTAL <relevant>threading:<relevant>runtime-link <relevant>threading:<relevant>toolset <tag>@Jamfile<C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.clean>%Jamfile<C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.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//C:/PUBLIC/yuzu/vcpkg_installed/x64-windows/debug/lib/boost_context-vc140-mt-gd.lib <hardcode-dll-paths>true <host-os>windows <include>../include&&/C:/PUBLIC/yuzu/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<C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.clean>%Jamfile<C:\PUBLIC\yuzu\externals\vcpkg\buildtrees\boost-coroutine\src\ost-1.83.0-554f073b34.clean>.tag <target-os>windows <testing.execute>on <threadapi>win32 <threading>multi <toolset-msvc:version>145 <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//C:/PUBLIC/yuzu/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
{
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
  "name": "yuzu",
  "builtin-baseline": "a42af01b72c28a8e1d7b48107b33e4f286a55ef6",
  "version": "1.0",
  "dependencies": [
    "boost-algorithm",
    "boost-asio",
    "boost-bind",
    "boost-config",
    "boost-container",
    "boost-context",
    "boost-crc",
    "boost-functional",
    "boost-heap",
    "boost-icl",
    "boost-intrusive",
    "boost-mpl",
    "boost-process",
    "boost-range",
    "boost-spirit",
    "boost-test",
    "boost-timer",
    "boost-variant",
    "fmt",
    "lz4",
    "nlohmann-json",
    "zlib",
    "zstd"
  ],
  "features": {
    "yuzu-tests": {
      "description": "Compile tests",
      "dependencies": [
        "catch2"
      ]
    },
    "web-service": {
      "description": "Enable web services (telemetry, etc.)",
      "dependencies": [
        {
          "name": "openssl",
          "platform": "windows"
        }
      ]
    },
    "android": {
      "description": "Enable Android dependencies",
      "dependencies": [
        {
          "name": "oboe",
          "platform": "android"
        }
      ]
    }
  },
  "overrides": [
    {
      "name": "catch2",
      "version": "3.3.1"
    },
    {
      "name": "fmt",
      "version": "10.1.1"
    }
  ]
}

install-x64-windows-dbg-out.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions