microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.06k stars 6.36k forks source link

[boost-json] Build failure on x64-windows #40608

Closed eugeniomiro closed 1 month ago

eugeniomiro commented 2 months ago

Package: boost-json:x64-windows@1.84.0

Host Environment

To Reproduce

vcpkg install

Failure logs

-- Using cached boostorg-json-boost-1.84.0.tar.gz.
-- Cleaning sources at D:/repos/vcpkg/buildtrees/boost-json/src/ost-1.84.0-6591c5c930.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/repos/vcpkg/downloads/boostorg-json-boost-1.84.0.tar.gz
-- Using source at D:/repos/vcpkg/buildtrees/boost-json/src/ost-1.84.0-6591c5c930.clean
-- Found external ninja('1.11.0').
-- 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:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j17
    Working Directory: D:/repos/vcpkg/buildtrees/boost-json/x64-windows-dbg
    See logs for more information:
      D:\repos\vcpkg\buildtrees\boost-json\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  D:/repos/dbupdater/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  D:/repos/dbupdater/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  D:/repos/dbupdater/vcpkg_installed/x64-windows/share/boost-build/boost-modular-build.cmake:139 (vcpkg_cmake_install)
  buildtrees/versioning_/versions/boost-json/071f85fda05b2ea3fa45d6b1dee3070950074762/portfile.cmake:17 (boost_modular_build)
  scripts/ports.cmake:192 (include)
D:\repos\vcpkg\buildtrees\boost-json\install-x64-windows-dbg-out.log ``` Change Dir: 'D:/repos/vcpkg/buildtrees/boost-json/x64-windows-dbg' Run Build Command(s): "C:/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 D:\repos\vcpkg\buildtrees\boost-json\src\ost-1.84.0-6591c5c930.clean\build && D:\repos\dbupdater\vcpkg_installed\x64-windows\tools\boost-build\b2.exe toolset=msvc --user-config=D:/repos/vcpkg/buildtrees/boost-json/x64-windows-dbg/user-config.jam --stagedir=D:/repos/vcpkg/buildtrees/boost-json/x64-windows-dbg/stage --build-dir=D:/repos/vcpkg/buildtrees/boost-json/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=D:/repos/dbupdater/vcpkg_installed/x64-windows/tools/boost-build -sBOOST_BUILD_PATH=D:/repos/dbupdater/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 D:/repos/vcpkg/buildtrees/boost-json/x64-windows-dbg/CMakeFiles/boost C:\WINDOWS\system32\cmd.exe /C "cd /D D:\repos\vcpkg\buildtrees\boost-json\src\ost-1.84.0-6591c5c930.clean\build && D:\repos\dbupdater\vcpkg_installed\x64-windows\tools\boost-build\b2.exe toolset=msvc --user-config=D:/repos/vcpkg/buildtrees/boost-json/x64-windows-dbg/user-config.jam --stagedir=D:/repos/vcpkg/buildtrees/boost-json/x64-windows-dbg/stage --build-dir=D:/repos/vcpkg/buildtrees/boost-json/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=D:/repos/dbupdater/vcpkg_installed/x64-windows/tools/boost-build -sBOOST_BUILD_PATH=D:/repos/dbupdater/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:/repos/dbupdater/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: D:\repos\vcpkg\buildtrees\boost-json\x64-windows-dbg\user-config.jam notice: Searching 'D:\repos\vcpkg\buildtrees\boost-json\x64-windows-dbg' for user-config configuration file 'user-config.jam'. notice: Loading user-config configuration file 'user-config.jam' from 'D:/repos/vcpkg/buildtrees/boost-json/x64-windows-dbg'. notice: [msvc-cfg] msvc-14.3 detected, command: 'C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.42.34226\bin\Hostx64\x64\cl.exe' notice: will use 'C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe' for msvc, condition msvc-144 notice: [msvc-cfg] condition: 'msvc-144/x86/32', setup: 'D:/repos/dbupdater/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86' notice: [msvc-cfg] condition: 'msvc-144//32', setup: 'D:/repos/dbupdater/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86' notice: [msvc-cfg] condition: 'msvc-144/x86/64', setup: 'D:/repos/dbupdater/vcpkg_installed/x64-windows/share/boost-build/nothing.bat amd64' notice: [msvc-cfg] condition: 'msvc-144//64', setup: 'D:/repos/dbupdater/vcpkg_installed/x64-windows/share/boost-build/nothing.bat amd64' notice: [msvc-cfg] condition: 'msvc-144/x86/', setup: 'D:/repos/dbupdater/vcpkg_installed/x64-windows/share/boost-build/nothing.bat amd64' notice: [msvc-cfg] condition: 'msvc-144//', setup: 'D:/repos/dbupdater/vcpkg_installed/x64-windows/share/boost-build/nothing.bat amd64' notice: [msvc-cfg] condition: 'msvc-144/ia64/64', setup: 'D:/repos/dbupdater/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86_ia64' notice: [msvc-cfg] condition: 'msvc-144/ia64/', setup: 'D:/repos/dbupdater/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86_ia64' notice: [msvc-cfg] condition: 'msvc-144/arm/32', setup: 'D:/repos/dbupdater/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86_arm' notice: [msvc-cfg] condition: 'msvc-144/arm/64', setup: 'D:/repos/dbupdater/vcpkg_installed/x64-windows/share/boost-build/nothing.bat x86_arm64' Building target '../build/stage' Build request: object(property-set)@415 64 x86 on shared shared windows win32 multi msvc debug Command line free features: Target requirements: -machine:x64 -nologo @object(check-target-builds-worker)@382%check @object(check-target-builds-worker)@383%check @object(check-target-builds-worker)@384%check @object(check-target-builds-worker)@385%check @object(check-target-builds-worker)@386%check @object(check-target-builds-worker)@387%check BOOST_ALL_NO_LIB=1 BOOST_JSON_SOURCE false ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include shared:BOOST_JSON_DYN_LINK=1 static:BOOST_JSON_STATIC_LINK=1 -machine:x64 -nologo -debug -INCREMENTAL /D:/repos/vcpkg/buildtrees/boost-json/x64-windows-dbg/stage/lib define:link define:toolset threading:runtime-link threading:toolset @Jamfile%Jamfile.tag msvc,shared:multi msvc:_SCL_SECURE_NO_WARNINGS @Jamfile%Jamfile.stage-translate-path Building target '/D:/repos/vcpkg/buildtrees/boost-json/src/ost-1.84.0-6591c5c930.clean/config/checks/cxx11_constexpr' Build request: object(property-set)@421 64 x86 win32 multi 144 msvc debug Command line free features: Target requirements: -machine:x64 -nologo BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_CONSTEXPR ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include -machine:x64 -nologo -debug -INCREMENTAL threading:runtime-link threading:toolset @Jamfile%Jamfile.tag msvc,shared:multi Common properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_CONSTEXPR linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop Usage requirements for cxx11_constexpr: Build properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_CONSTEXPR linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop *** construct OBJ from { test_case.cpp.CPP } properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_CONSTEXPR linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL OBJ yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop find-viable-generators target-type= OBJ property-set= trying type OBJ there are generators for this type trying generator rc.compile.resource ( RC -> OBJ ) is viable trying generator msvc.compile.c++ ( CPP -> OBJ ) is viable trying generator msvc.compile.c ( C -> OBJ ) is viable trying generator msvc.compile.rc ( RC -> OBJ ) is viable trying generator msvc.compile.asm ( ASM -> OBJ ) is viable trying generator msvc.compile.c.pch ( H -> C_PCH OBJ ) is viable trying generator msvc.compile.c++.pch ( H -> CPP_PCH OBJ ) is viable *** 6 viable generators ** generator msvc.compile.c++ composing: SUCCESS: [ address-model address-sanitizer architecture asynch-exceptions cflags compileflags cxxflags cxxstd debug-store debug-symbols define exception-handling extern-c-nothrow force-include include inlining instruction-set lto mc-input-encoding mc-output-encoding mc-set-customer-bit optimization pch pch-file pch-header pch-source response-file rtti runtime-debugging runtime-link threading toolset toolset-msvc:version undef user-interface warnings warnings-as-errors windows-api ] { msvc%msvc.compile.c++-cxx11_constexpr.obj.OBJ { test_case.cpp.CPP } } returned [ address-model address-sanitizer architecture asynch-exceptions cflags compileflags cxxflags cxxstd debug-store debug-symbols define exception-handling extern-c-nothrow force-include include inlining instruction-set lto mc-input-encoding mc-output-encoding mc-set-customer-bit optimization pch pch-file pch-header pch-source response-file rtti runtime-debugging runtime-link threading toolset toolset-msvc:version undef user-interface warnings warnings-as-errors windows-api ] { msvc%msvc.compile.c++-cxx11_constexpr.obj.OBJ { test_case.cpp.CPP } } generator msvc.compile.c++ spawned { msvc%msvc.compile.c++-cxx11_constexpr.obj.OBJ { test_case.cpp.CPP } } with usage requirements: [ address-model address-sanitizer architecture asynch-exceptions cflags compileflags cxxflags cxxstd debug-store debug-symbols define exception-handling extern-c-nothrow force-include include inlining instruction-set lto mc-input-encoding mc-output-encoding mc-set-customer-bit optimization pch pch-file pch-header pch-source response-file rtti runtime-debugging runtime-link threading toolset toolset-msvc:version undef user-interface warnings warnings-as-errors windows-api ] ** generator 'msvc.compile.c' pruned ** generator 'msvc.compile.rc' pruned ** generator 'msvc.compile.asm' pruned ** generator 'msvc.compile.c.pch' pruned ** generator 'msvc.compile.c++.pch' pruned Usage requirements from cxx11_constexpr: address-model address-sanitizer architecture asynch-exceptions cxxstd cxxstd-dialect debug-store debug-symbols deduced-address-model deduced-architecture exception-handling extern-c-nothrow inlining instruction-set lto lto-mode optimization pch rtti runtime-debugging runtime-link segmented-stacks threading toolset toolset-msvc:vendor toolset-msvc:version variant warnings warnings-as-errors windows-api Performing configuration checks - cxx11_constexpr : yes [1] Building target '/D:/repos/vcpkg/buildtrees/boost-json/src/ost-1.84.0-6591c5c930.clean/config/checks/cxx11_decltype' Build request: object(property-set)@421 64 x86 win32 multi 144 msvc debug Command line free features: Target requirements: -machine:x64 -nologo BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_DECLTYPE ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include -machine:x64 -nologo -debug -INCREMENTAL threading:runtime-link threading:toolset @Jamfile%Jamfile.tag msvc,shared:multi Common properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_DECLTYPE linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop Usage requirements for cxx11_decltype: Build properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_DECLTYPE linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop *** construct OBJ from { test_case.cpp.CPP } ... Skipped 79 lines ... - cxx11_hdr_tuple : yes [1] Building target '/D:/repos/vcpkg/buildtrees/boost-json/src/ost-1.84.0-6591c5c930.clean/config/checks/cxx11_template_aliases' Build request: object(property-set)@421 64 x86 win32 multi 144 msvc debug Command line free features: Target requirements: -machine:x64 -nologo BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_TEMPLATE_ALIASES ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include -machine:x64 -nologo -debug -INCREMENTAL threading:runtime-link threading:toolset @Jamfile%Jamfile.tag msvc,shared:multi Common properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_TEMPLATE_ALIASES linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop Usage requirements for cxx11_template_aliases: Build properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_TEMPLATE_ALIASES linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop *** construct OBJ from { test_case.cpp.CPP } properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_TEMPLATE_ALIASES linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL OBJ yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop find-viable-generators target-type= OBJ property-set= trying type OBJ there are generators for this type trying generator rc.compile.resource ( RC -> OBJ ) is viable trying generator msvc.compile.c++ ( CPP -> OBJ ) is viable trying generator msvc.compile.c ( C -> OBJ ) is viable trying generator msvc.compile.rc ( RC -> OBJ ) is viable trying generator msvc.compile.asm ( ASM -> OBJ ) is viable trying generator msvc.compile.c.pch ( H -> C_PCH OBJ ) is viable trying generator msvc.compile.c++.pch ( H -> CPP_PCH OBJ ) is viable *** 6 viable generators ** generator msvc.compile.c++ composing: SUCCESS: [ address-model address-sanitizer architecture asynch-exceptions cflags compileflags cxxflags cxxstd debug-store debug-symbols define exception-handling extern-c-nothrow force-include include inlining instruction-set lto mc-input-encoding mc-output-encoding mc-set-customer-bit optimization pch pch-file pch-header pch-source response-file rtti runtime-debugging runtime-link threading toolset toolset-msvc:version undef user-interface warnings warnings-as-errors windows-api ] { msvc%msvc.compile.c++-cxx11_template_aliases.obj.OBJ { test_case.cpp.CPP } } returned [ address-model address-sanitizer architecture asynch-exceptions cflags compileflags cxxflags cxxstd debug-store debug-symbols define exception-handling extern-c-nothrow force-include include inlining instruction-set lto mc-input-encoding mc-output-encoding mc-set-customer-bit optimization pch pch-file pch-header pch-source response-file rtti runtime-debugging runtime-link threading toolset toolset-msvc:version undef user-interface warnings warnings-as-errors windows-api ] { msvc%msvc.compile.c++-cxx11_template_aliases.obj.OBJ { test_case.cpp.CPP } } generator msvc.compile.c++ spawned { msvc%msvc.compile.c++-cxx11_template_aliases.obj.OBJ { test_case.cpp.CPP } } with usage requirements: [ address-model address-sanitizer architecture asynch-exceptions cflags compileflags cxxflags cxxstd debug-store debug-symbols define exception-handling extern-c-nothrow force-include include inlining instruction-set lto mc-input-encoding mc-output-encoding mc-set-customer-bit optimization pch pch-file pch-header pch-source response-file rtti runtime-debugging runtime-link threading toolset toolset-msvc:version undef user-interface warnings warnings-as-errors windows-api ] ** generator 'msvc.compile.c' pruned ** generator 'msvc.compile.rc' pruned ** generator 'msvc.compile.asm' pruned ** generator 'msvc.compile.c.pch' pruned ** generator 'msvc.compile.c++.pch' pruned Usage requirements from cxx11_template_aliases: address-model address-sanitizer architecture asynch-exceptions cxxstd cxxstd-dialect debug-store debug-symbols deduced-address-model deduced-architecture exception-handling extern-c-nothrow inlining instruction-set lto lto-mode optimization pch rtti runtime-debugging runtime-link segmented-stacks threading toolset toolset-msvc:vendor toolset-msvc:version variant warnings warnings-as-errors windows-api - cxx11_template_aliases : yes [1] Building target '/D:/repos/vcpkg/buildtrees/boost-json/src/ost-1.84.0-6591c5c930.clean/config/checks/cxx11_variadic_templates' Build request: object(property-set)@421 64 x86 win32 multi 144 msvc debug Command line free features: Target requirements: -machine:x64 -nologo BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_VARIADIC_TEMPLATES ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include -machine:x64 -nologo -debug -INCREMENTAL threading:runtime-link threading:toolset @Jamfile%Jamfile.tag msvc,shared:multi Common properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_VARIADIC_TEMPLATES linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop Usage requirements for cxx11_variadic_templates: Build properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_VARIADIC_TEMPLATES linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop *** construct OBJ from { test_case.cpp.CPP } properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 TEST_BOOST_NO_CXX11_VARIADIC_TEMPLATES linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL OBJ yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop find-viable-generators target-type= OBJ property-set= trying type OBJ there are generators for this type trying generator rc.compile.resource ( RC -> OBJ ) is viable trying generator msvc.compile.c++ ( CPP -> OBJ ) is viable trying generator msvc.compile.c ( C -> OBJ ) is viable trying generator msvc.compile.rc ( RC -> OBJ ) is viable trying generator msvc.compile.asm ( ASM -> OBJ ) is viable trying generator msvc.compile.c.pch ( H -> C_PCH OBJ ) is viable trying generator msvc.compile.c++.pch ( H -> CPP_PCH OBJ ) is viable *** 6 viable generators ** generator msvc.compile.c++ composing: SUCCESS: [ address-model address-sanitizer architecture asynch-exceptions cflags compileflags cxxflags cxxstd debug-store debug-symbols define exception-handling extern-c-nothrow force-include include inlining instruction-set lto mc-input-encoding mc-output-encoding mc-set-customer-bit optimization pch pch-file pch-header pch-source response-file rtti runtime-debugging runtime-link threading toolset toolset-msvc:version undef user-interface warnings warnings-as-errors windows-api ] { msvc%msvc.compile.c++-cxx11_variadic_templates.obj.OBJ { test_case.cpp.CPP } } returned [ address-model address-sanitizer architecture asynch-exceptions cflags compileflags cxxflags cxxstd debug-store debug-symbols define exception-handling extern-c-nothrow force-include include inlining instruction-set lto mc-input-encoding mc-output-encoding mc-set-customer-bit optimization pch pch-file pch-header pch-source response-file rtti runtime-debugging runtime-link threading toolset toolset-msvc:version undef user-interface warnings warnings-as-errors windows-api ] { msvc%msvc.compile.c++-cxx11_variadic_templates.obj.OBJ { test_case.cpp.CPP } } generator msvc.compile.c++ spawned { msvc%msvc.compile.c++-cxx11_variadic_templates.obj.OBJ { test_case.cpp.CPP } } with usage requirements: [ address-model address-sanitizer architecture asynch-exceptions cflags compileflags cxxflags cxxstd debug-store debug-symbols define exception-handling extern-c-nothrow force-include include inlining instruction-set lto mc-input-encoding mc-output-encoding mc-set-customer-bit optimization pch pch-file pch-header pch-source response-file rtti runtime-debugging runtime-link threading toolset toolset-msvc:version undef user-interface warnings warnings-as-errors windows-api ] ** generator 'msvc.compile.c' pruned ** generator 'msvc.compile.rc' pruned ** generator 'msvc.compile.asm' pruned ** generator 'msvc.compile.c.pch' pruned ** generator 'msvc.compile.c++.pch' pruned Usage requirements from cxx11_variadic_templates: address-model address-sanitizer architecture asynch-exceptions cxxstd cxxstd-dialect debug-store debug-symbols deduced-address-model deduced-architecture exception-handling extern-c-nothrow inlining instruction-set lto lto-mode optimization pch rtti runtime-debugging runtime-link segmented-stacks threading toolset toolset-msvc:vendor toolset-msvc:version variant warnings warnings-as-errors windows-api - cxx11_variadic_templates : yes [1] Building target '../build/cxx11_basic_alignas' Build request: object(property-set)@421 64 x86 win32 multi 144 msvc debug Command line free features: Target requirements: -machine:x64 -nologo BOOST_ALL_NO_LIB=1 ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include -machine:x64 -nologo -debug -INCREMENTAL threading:runtime-link threading:toolset @Jamfile%Jamfile.tag msvc,shared:multi Common properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop Usage requirements for cxx11_basic_alignas: Build properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop *** construct OBJ from { ../check/basic_alignas.cpp.CPP } properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL OBJ yes yes off NT on on off threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop find-viable-generators target-type= OBJ property-set= trying type OBJ there are generators for this type trying generator rc.compile.resource ( RC -> OBJ ) is viable trying generator msvc.compile.c++ ( CPP -> OBJ ) is viable trying generator msvc.compile.c ( C -> OBJ ) is viable trying generator msvc.compile.rc ( RC -> OBJ ) is viable trying generator msvc.compile.asm ( ASM -> OBJ ) is viable trying generator msvc.compile.c.pch ( H -> C_PCH OBJ ) is viable trying generator msvc.compile.c++.pch ( H -> CPP_PCH OBJ ) is viable *** 6 viable generators ** generator msvc.compile.c++ composing: SUCCESS: [ address-model address-sanitizer architecture asynch-exceptions cflags compileflags cxxflags cxxstd debug-store debug-symbols define exception-handling extern-c-nothrow force-include include inlining instruction-set lto mc-input-encoding mc-output-encoding mc-set-customer-bit optimization pch pch-file pch-header pch-source response-file rtti runtime-debugging runtime-link threading toolset toolset-msvc:version undef user-interface warnings warnings-as-errors windows-api ] { msvc%msvc.compile.c++-cxx11_basic_alignas.obj.OBJ { ../check/basic_alignas.cpp.CPP } } returned [ address-model address-sanitizer architecture asynch-exceptions cflags compileflags cxxflags cxxstd debug-store debug-symbols define exception-handling extern-c-nothrow force-include include inlining instruction-set lto mc-input-encoding mc-output-encoding mc-set-customer-bit optimization pch pch-file pch-header pch-source response-file rtti runtime-debugging runtime-link threading toolset toolset-msvc:version undef user-interface warnings warnings-as-errors windows-api ] { msvc%msvc.compile.c++-cxx11_basic_alignas.obj.OBJ { ../check/basic_alignas.cpp.CPP } } generator msvc.compile.c++ spawned { msvc%msvc.compile.c++-cxx11_basic_alignas.obj.OBJ { ../check/basic_alignas.cpp.CPP } } with usage requirements: [ address-model address-sanitizer architecture asynch-exceptions cflags compileflags cxxflags cxxstd debug-store debug-symbols define exception-handling extern-c-nothrow force-include include inlining instruction-set lto mc-input-encoding mc-output-encoding mc-set-customer-bit optimization pch pch-file pch-header pch-source response-file rtti runtime-debugging runtime-link threading toolset toolset-msvc:version undef user-interface warnings warnings-as-errors windows-api ] ** generator 'msvc.compile.c' pruned ** generator 'msvc.compile.rc' pruned ** generator 'msvc.compile.asm' pruned ** generator 'msvc.compile.c.pch' pruned ** generator 'msvc.compile.c++.pch' pruned Usage requirements from cxx11_basic_alignas: address-model address-sanitizer architecture asynch-exceptions cxxstd cxxstd-dialect debug-store debug-symbols deduced-address-model deduced-architecture exception-handling extern-c-nothrow inlining instruction-set lto lto-mode optimization pch rtti runtime-debugging runtime-link segmented-stacks threading toolset toolset-msvc:vendor toolset-msvc:version variant warnings warnings-as-errors windows-api - cxx11_basic_alignas : yes [1] Common properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 BOOST_JSON_DYN_LINK=1 BOOST_JSON_SOURCE _SCL_SECURE_NO_WARNINGS linker on on off false windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL /D:/repos/vcpkg/buildtrees/boost-json/x64-windows-dbg/stage/lib yes yes off NT on on off define:link define:toolset threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc @Jamfile%Jamfile.stage-translate-path console debug off off on desktop Building target '../build/boost_json' Build request: object(property-set)@2416 64 x86 off off object on linker on on off off shared yes yes off NT on on off on on shared native off windows on win32 multi 144 msvc debug off off on desktop Command line free features: Target requirements: -machine:x64 -nologo @object(check-target-builds-worker)@382%check @object(check-target-builds-worker)@383%check @object(check-target-builds-worker)@384%check @object(check-target-builds-worker)@385%check @object(check-target-builds-worker)@386%check @object(check-target-builds-worker)@387%check BOOST_ALL_NO_LIB=1 BOOST_JSON_SOURCE ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include shared:BOOST_JSON_DYN_LINK=1 static:BOOST_JSON_STATIC_LINK=1 -machine:x64 -nologo -debug -INCREMENTAL define:link define:toolset threading:runtime-link threading:toolset @Jamfile%Jamfile.tag msvc,shared:multi msvc:_SCL_SECURE_NO_WARNINGS Common properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 BOOST_JSON_DYN_LINK=1 BOOST_JSON_SOURCE _SCL_SECURE_NO_WARNINGS linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off define:link define:toolset threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop Building target '../build/json_sources' Build request: object(property-set)@2416 64 x86 off off object on linker on on off off shared yes yes off NT on on off on on shared native off windows on win32 multi 144 msvc debug off off on desktop Command line free features: Target requirements: -machine:x64 -nologo @object(check-target-builds-worker)@382%check @object(check-target-builds-worker)@383%check @object(check-target-builds-worker)@384%check @object(check-target-builds-worker)@385%check @object(check-target-builds-worker)@386%check @object(check-target-builds-worker)@387%check BOOST_ALL_NO_LIB=1 BOOST_JSON_SOURCE ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include shared:BOOST_JSON_DYN_LINK=1 static:BOOST_JSON_STATIC_LINK=1 -machine:x64 -nologo -debug -INCREMENTAL define:link define:toolset threading:runtime-link threading:toolset @Jamfile%Jamfile.tag msvc,shared:multi msvc:_SCL_SECURE_NO_WARNINGS Common properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 BOOST_JSON_DYN_LINK=1 BOOST_JSON_SOURCE _SCL_SECURE_NO_WARNINGS linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off define:link define:toolset threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop Usage requirements for json_sources: Build properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 BOOST_JSON_DYN_LINK=1 BOOST_JSON_SOURCE _SCL_SECURE_NO_WARNINGS linker on on off true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off define:link define:toolset threading:runtime-link threading:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop Building target '../boost_container' Build request: object(property-set)@2518 64 x86 off off object on linker on on off off shared yes yes off NT on on off variant on on shared native off windows on win32 multi 144 msvc debug off off on desktop Command line free features: Target requirements: -machine:x64 -nologo BOOST_ALL_NO_LIB=1 /boost//D:/repos/dbupdater/vcpkg_installed/x64-windows/debug/lib/boost_container-vc140-mt-gd.lib ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include -machine:x64 -nologo -debug -INCREMENTAL threading:runtime-link threading:toolset @Jamfile%Jamfile.tag msvc,shared:multi debug Common properties: 64 x86 -machine:x64 -nologo off off object on BOOST_ALL_NO_LIB=1 linker on on off /boost//D:/repos/dbupdater/vcpkg_installed/x64-windows/debug/lib/boost_container-vc140-mt-gd.lib true windows ../include&&/D:/repos/dbupdater/vcpkg_installed/x64-windows/include off off shared -machine:x64 -nologo -debug -INCREMENTAL yes yes off NT on on off threading:runtime-link threading:toolset variant auto on on shared native off false project-relative @Jamfile%Jamfile.tag windows on win32 multi 144 msvc console debug off off on desktop error: Unable to find file or target named error: '/boost//D:/repos/dbupdater/vcpkg_installed/x64-windows/debug/lib/boost_container-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", "builtin-baseline": "a7b6122f6b6504d16d96117336a0562693579933", "dependencies": [ { "name": "boost-program-options", "version>=": "1.84.0" }, { "name": "boost-exception", "version>=": "1.84.0" }, { "name": "boost-stacktrace", "version>=": "1.84.0" }, { "name": "boost-json", "version>=": "1.84.0" }, { "name": "boost-format", "version>=": "1.84.0" }, { "name": "boost-uuid", "version>=": "1.84.0" }, { "name": "boost-multiprecision", "version>=": "1.84.0" }, { "name": "gtest", "version>=": "1.14.0" }, { "name": "ms-gsl", "version>=": "4.0.0" } ] } ```
greenozon commented 2 months ago

not able to reproduce image

but the interesting thing is that for some reason you are building not the latest boost version in my case it is 1.85, in yours - 1.84

could you give it a try once again?

git pull
bootstrap-vcpkg.bat
vcpkg update
vcpkg upgrade

vcpkg install boost-json
eugeniomiro commented 2 months ago

I use

vcpkg install

and my vcpkg.json file goes like this

{
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
  "builtin-baseline": "a7b6122f6b6504d16d96117336a0562693579933",
  "dependencies": [
    {
      "name": "boost-program-options",
      "version>=": "1.84.0"
    },
    {
      "name": "boost-exception",
      "version>=": "1.84.0"
    },
    {
      "name": "boost-stacktrace",
      "version>=": "1.84.0"
    },
    {
      "name": "boost-json",
      "version>=": "1.84.0"
    },
    {
      "name": "boost-format",
      "version>=": "1.84.0"
    },
    {
      "name": "boost-uuid",
      "version>=": "1.84.0"
    },
    {
      "name": "boost-multiprecision",
      "version>=": "1.84.0"
    },
    {
      "name": "gtest",
      "version>=": "1.14.0"
    },
    {
      "name": "ms-gsl",
      "version>=": "4.0.0"
    }
  ]
}

I'm also using CMake 3.30.2 for previous versions of CMake it works

Cheney-W commented 1 month ago

Please use the latest builtin-baseline 7d425a3502890c5fe189a033e048d9837b925952.