microsoft / vcpkg

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

[boost-thread] Build error on wasm32-emscripten #35823

Closed sonygod closed 3 months ago

sonygod commented 10 months ago

Copy issue body from /home/rock/vcpkg/installed/vcpkg/issue_body.md system:ubuntu22.04 emcc:latest vcpkg:latest

(base) rock@rock-CVN-Z790-GAMING-FROZEN:~/vcpkg$ ./vcpkg install boost-graph:wasm32-emscripten
Computing installation plan...
The following packages will be built and installed:
  * boost-any:wasm32-emscripten -> 1.83.0
  * boost-bimap:wasm32-emscripten -> 1.83.0
  * boost-foreach:wasm32-emscripten -> 1.83.0
  * boost-format:wasm32-emscripten -> 1.83.0
    boost-graph:wasm32-emscripten -> 1.83.0
  * boost-lambda:wasm32-emscripten -> 1.83.0
  * boost-math:wasm32-emscripten -> 1.83.0
  * boost-multi-index:wasm32-emscripten -> 1.83.0
  * boost-property-map:wasm32-emscripten -> 1.83.0
  * boost-property-tree:wasm32-emscripten -> 1.83.0
  * boost-serialization:wasm32-emscripten -> 1.83.0
  * boost-spirit:wasm32-emscripten -> 1.83.0
  * boost-thread:wasm32-emscripten -> 1.83.0
  * boost-type-index:wasm32-emscripten -> 1.83.0
  * boost-variant:wasm32-emscripten -> 1.83.0
  * boost-xpressive:wasm32-emscripten -> 1.83.0
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet wasm32-emscripten...
Restored 0 package(s) from /home/rock/.cache/vcpkg/archives in 25.3 us. Use --debug to see more details.
Installing 1/16 boost-type-index:wasm32-emscripten...
Building boost-type-index:wasm32-emscripten...
warning: -- Using community triplet wasm32-emscripten. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /home/rock/vcpkg/triplets/community/wasm32-emscripten.cmake
-- Downloading https://github.com/boostorg/type_index/archive/boost-1.83.0.tar.gz -> boostorg-type_index-boost-1.83.0.tar.gz...
-- Extracting source /home/rock/vcpkg/downloads/boostorg-type_index-boost-1.83.0.tar.gz
-- Using source at /home/rock/vcpkg/buildtrees/boost-type-index/src/ost-1.83.0-639fa02983.clean
-- Copying headers
-- Copying headers done
-- Installing: /home/rock/vcpkg/packages/boost-type-index_wasm32-emscripten/share/boost-type-index/usage
-- Installing: /home/rock/vcpkg/packages/boost-type-index_wasm32-emscripten/share/boost-type-index/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 3.58 ms.
Elapsed time to handle boost-type-index:wasm32-emscripten: 2.2 s
Installing 2/16 boost-any:wasm32-emscripten...
Building boost-any:wasm32-emscripten...
warning: -- Using community triplet wasm32-emscripten. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /home/rock/vcpkg/triplets/community/wasm32-emscripten.cmake
-- Downloading https://github.com/boostorg/any/archive/boost-1.83.0.tar.gz -> boostorg-any-boost-1.83.0.tar.gz...
-- Extracting source /home/rock/vcpkg/downloads/boostorg-any-boost-1.83.0.tar.gz
-- Using source at /home/rock/vcpkg/buildtrees/boost-any/src/ost-1.83.0-64d55ada0e.clean
-- Copying headers
-- Copying headers done
-- Installing: /home/rock/vcpkg/packages/boost-any_wasm32-emscripten/share/boost-any/usage
-- Installing: /home/rock/vcpkg/packages/boost-any_wasm32-emscripten/share/boost-any/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 4.7 ms.
Elapsed time to handle boost-any:wasm32-emscripten: 1.9 s
Installing 3/16 boost-lambda:wasm32-emscripten...
Building boost-lambda:wasm32-emscripten...
warning: -- Using community triplet wasm32-emscripten. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /home/rock/vcpkg/triplets/community/wasm32-emscripten.cmake
-- Downloading https://github.com/boostorg/lambda/archive/boost-1.83.0.tar.gz -> boostorg-lambda-boost-1.83.0.tar.gz...
-- Extracting source /home/rock/vcpkg/downloads/boostorg-lambda-boost-1.83.0.tar.gz
-- Using source at /home/rock/vcpkg/buildtrees/boost-lambda/src/ost-1.83.0-a7372ff874.clean
-- Copying headers
-- Copying headers done
-- Installing: /home/rock/vcpkg/packages/boost-lambda_wasm32-emscripten/share/boost-lambda/usage
-- Installing: /home/rock/vcpkg/packages/boost-lambda_wasm32-emscripten/share/boost-lambda/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 7.18 ms.
Elapsed time to handle boost-lambda:wasm32-emscripten: 2.1 s
Installing 4/16 boost-multi-index:wasm32-emscripten...
Building boost-multi-index:wasm32-emscripten...
warning: -- Using community triplet wasm32-emscripten. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /home/rock/vcpkg/triplets/community/wasm32-emscripten.cmake
-- Downloading https://github.com/boostorg/multi_index/archive/boost-1.83.0.tar.gz -> boostorg-multi_index-boost-1.83.0.tar.gz...
-- Extracting source /home/rock/vcpkg/downloads/boostorg-multi_index-boost-1.83.0.tar.gz
-- Using source at /home/rock/vcpkg/buildtrees/boost-multi-index/src/ost-1.83.0-b0e371aae0.clean
-- Copying headers
-- Copying headers done
-- Installing: /home/rock/vcpkg/packages/boost-multi-index_wasm32-emscripten/share/boost-multi-index/usage
-- Installing: /home/rock/vcpkg/packages/boost-multi-index_wasm32-emscripten/share/boost-multi-index/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 11.1 ms.
Elapsed time to handle boost-multi-index:wasm32-emscripten: 2.2 s
Installing 5/16 boost-bimap:wasm32-emscripten...
Building boost-bimap:wasm32-emscripten...
warning: -- Using community triplet wasm32-emscripten. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /home/rock/vcpkg/triplets/community/wasm32-emscripten.cmake
-- Downloading https://github.com/boostorg/bimap/archive/boost-1.83.0.tar.gz -> boostorg-bimap-boost-1.83.0.tar.gz...
-- Extracting source /home/rock/vcpkg/downloads/boostorg-bimap-boost-1.83.0.tar.gz
-- Using source at /home/rock/vcpkg/buildtrees/boost-bimap/src/ost-1.83.0-fe0a090801.clean
-- Copying headers
-- Copying headers done
-- Installing: /home/rock/vcpkg/packages/boost-bimap_wasm32-emscripten/share/boost-bimap/usage
-- Installing: /home/rock/vcpkg/packages/boost-bimap_wasm32-emscripten/share/boost-bimap/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 14.5 ms.
Elapsed time to handle boost-bimap:wasm32-emscripten: 2.7 s
Installing 6/16 boost-foreach:wasm32-emscripten...
Building boost-foreach:wasm32-emscripten...
warning: -- Using community triplet wasm32-emscripten. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /home/rock/vcpkg/triplets/community/wasm32-emscripten.cmake
-- Downloading https://github.com/boostorg/foreach/archive/boost-1.83.0.tar.gz -> boostorg-foreach-boost-1.83.0.tar.gz...
-- Extracting source /home/rock/vcpkg/downloads/boostorg-foreach-boost-1.83.0.tar.gz
-- Using source at /home/rock/vcpkg/buildtrees/boost-foreach/src/ost-1.83.0-be266b31ad.clean
-- Copying headers
-- Copying headers done
-- Installing: /home/rock/vcpkg/packages/boost-foreach_wasm32-emscripten/share/boost-foreach/usage
-- Installing: /home/rock/vcpkg/packages/boost-foreach_wasm32-emscripten/share/boost-foreach/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 3.55 ms.
Elapsed time to handle boost-foreach:wasm32-emscripten: 1.9 s
Installing 7/16 boost-format:wasm32-emscripten...
Building boost-format:wasm32-emscripten...
warning: -- Using community triplet wasm32-emscripten. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /home/rock/vcpkg/triplets/community/wasm32-emscripten.cmake
-- Downloading https://github.com/boostorg/format/archive/boost-1.83.0.tar.gz -> boostorg-format-boost-1.83.0.tar.gz...
-- Extracting source /home/rock/vcpkg/downloads/boostorg-format-boost-1.83.0.tar.gz
-- Using source at /home/rock/vcpkg/buildtrees/boost-format/src/ost-1.83.0-f041381d64.clean
-- Copying headers
-- Copying headers done
-- Installing: /home/rock/vcpkg/packages/boost-format_wasm32-emscripten/share/boost-format/usage
-- Installing: /home/rock/vcpkg/packages/boost-format_wasm32-emscripten/share/boost-format/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 4.17 ms.
Elapsed time to handle boost-format:wasm32-emscripten: 2 s
Installing 8/16 boost-math:wasm32-emscripten...
Building boost-math:wasm32-emscripten...
warning: -- Using community triplet wasm32-emscripten. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /home/rock/vcpkg/triplets/community/wasm32-emscripten.cmake
-- Downloading https://github.com/boostorg/math/archive/boost-1.83.0.tar.gz -> boostorg-math-boost-1.83.0.tar.gz...
-- Extracting source /home/rock/vcpkg/downloads/boostorg-math-boost-1.83.0.tar.gz
-- Applying patch 001-remove-checks.patch
-- Using source at /home/rock/vcpkg/buildtrees/boost-math/src/ost-1.83.0-e8866fbdf7.clean
-- Including /home/rock/vcpkg/ports/boost-math/b2-options.cmake
-- Getting CMake variables for wasm32-emscripten
-- Configuring wasm32-emscripten
-- Building wasm32-emscripten-dbg
-- Building wasm32-emscripten-rel
-- Copying headers
-- Copying headers done
-- Installing: /home/rock/vcpkg/packages/boost-math_wasm32-emscripten/share/boost-math/usage
-- Installing: /home/rock/vcpkg/packages/boost-math_wasm32-emscripten/share/boost-math/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 1 s.
Elapsed time to handle boost-math:wasm32-emscripten: 23 s
Installing 9/16 boost-property-map:wasm32-emscripten...
Building boost-property-map:wasm32-emscripten...
warning: -- Using community triplet wasm32-emscripten. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /home/rock/vcpkg/triplets/community/wasm32-emscripten.cmake
-- Downloading https://github.com/boostorg/property_map/archive/boost-1.83.0.tar.gz -> boostorg-property_map-boost-1.83.0.tar.gz...
-- Extracting source /home/rock/vcpkg/downloads/boostorg-property_map-boost-1.83.0.tar.gz
-- Using source at /home/rock/vcpkg/buildtrees/boost-property-map/src/ost-1.83.0-52aba92352.clean
-- Copying headers
-- Copying headers done
-- Installing: /home/rock/vcpkg/packages/boost-property-map_wasm32-emscripten/share/boost-property-map/usage
-- Installing: /home/rock/vcpkg/packages/boost-property-map_wasm32-emscripten/share/boost-property-map/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 2.39 ms.
Elapsed time to handle boost-property-map:wasm32-emscripten: 2.2 s
Installing 10/16 boost-thread:wasm32-emscripten...
Building boost-thread:wasm32-emscripten...
warning: -- Using community triplet wasm32-emscripten. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: /home/rock/vcpkg/triplets/community/wasm32-emscripten.cmake
-- Using cached boostorg-thread-boost-1.83.0.tar.gz.
-- Cleaning sources at /home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/rock/vcpkg/downloads/boostorg-thread-boost-1.83.0.tar.gz
-- Using source at /home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean
-- Including /home/rock/vcpkg/ports/boost-thread/b2-options.cmake
-- Getting CMake variables for wasm32-emscripten
-- Configuring wasm32-emscripten
-- Building wasm32-emscripten-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /home/rock/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake --build . --config Debug --target install -- -v -j25
    Working Directory: /home/rock/vcpkg/buildtrees/boost-thread/wasm32-emscripten-dbg
    See logs for more information:
      /home/rock/vcpkg/buildtrees/boost-thread/install-wasm32-emscripten-dbg-out.log

Call Stack (most recent call first):
  installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  installed/x64-linux/share/boost-build/boost-modular-build.cmake:139 (vcpkg_cmake_install)
  ports/boost-thread/portfile.cmake:12 (boost_modular_build)
  scripts/ports.cmake:170 (include)

error: building boost-thread:wasm32-emscripten failed with: BUILD_FAILED
Elapsed time to handle boost-thread:wasm32-emscripten: 696 ms
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+boost-thread
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[boost-thread]+Build+error+on+wasm32-emscripten&body=Copy+issue+body+from+%2Fhome%2Frock%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
FrankXie05 commented 10 months ago

Please provide the error log: /home/rock/vcpkg/buildtrees/boost-thread/install-wasm32-emscripten-dbg-out.log

sonygod commented 10 months ago

sorry for delay @FrankXie05

Change Dir: '/home/rock/vcpkg/buildtrees/boost-thread/wasm32-emscripten-dbg'

Run Build Command(s): /home/rock/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja -v -v -j25 install
[1/2] cd /home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean/build && /home/rock/vcpkg/installed/x64-linux/tools/boost-build/b2 toolset=emscripten --user-config=/home/rock/vcpkg/buildtrees/boost-thread/wasm32-emscripten-dbg/user-config.jam --stagedir=/home/rock/vcpkg/buildtrees/boost-thread/wasm32-emscripten-dbg/stage --build-dir=/home/rock/vcpkg/buildtrees/boost-thread/wasm32-emscripten-dbg runtime-link=shared link=static address-model=32 target-os=linux threadapi=pthread variant=debug --layout=system -sICU_PATH="ICU_PATH-NOTFOUND" /boost/thread//boost_thread --with-atomic --with-random --with-date_time --with-filesystem --with-system --with-thread --with-chrono -j 25 -sBOOST_ROOT=/home/rock/vcpkg/installed/x64-linux/tools/boost-build -sBOOST_BUILD_PATH=/home/rock/vcpkg/installed/x64-linux/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 /home/rock/vcpkg/buildtrees/boost-thread/wasm32-emscripten-dbg/CMakeFiles/boost 
cd /home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean/build && /home/rock/vcpkg/installed/x64-linux/tools/boost-build/b2 toolset=emscripten --user-config=/home/rock/vcpkg/buildtrees/boost-thread/wasm32-emscripten-dbg/user-config.jam --stagedir=/home/rock/vcpkg/buildtrees/boost-thread/wasm32-emscripten-dbg/stage --build-dir=/home/rock/vcpkg/buildtrees/boost-thread/wasm32-emscripten-dbg runtime-link=shared link=static address-model=32 target-os=linux threadapi=pthread variant=debug --layout=system -sICU_PATH="ICU_PATH-NOTFOUND" /boost/thread//boost_thread --with-atomic --with-random --with-date_time --with-filesystem --with-system --with-thread --with-chrono -j 25 -sBOOST_ROOT=/home/rock/vcpkg/installed/x64-linux/tools/boost-build -sBOOST_BUILD_PATH=/home/rock/vcpkg/installed/x64-linux/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 /home/rock/vcpkg/installed/x64-linux/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:
    /home/rock/vcpkg/buildtrees/boost-thread/wasm32-emscripten-dbg/user-config.jam
notice: Searching '/home/rock/vcpkg/buildtrees/boost-thread/wasm32-emscripten-dbg' for user-config configuration file 'user-config.jam'.
notice: Loading user-config configuration file 'user-config.jam' from '/home/rock/vcpkg/buildtrees/boost-thread/wasm32-emscripten-dbg'.
notice: will use '/home/rock/tools/emsdk/upstream/emscripten/em++' for emscripten, condition <toolset>emscripten-3.1.51

Building target '../build/boost_thread'
     Build request: object(property-set)@301 <address-model>32 <debug-symbols>on <link>static <runtime-link>shared <target-os>linux <threadapi>pthread <threading>multi <toolset>emscripten <variant>debug
     Command line free features:
     Target requirements: <conditional>@Jamfile</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean/build>%Jamfile</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean/build>.requirements <define>BOOST_ALL_NO_LIB=1 <include>../include&&/home/rock/vcpkg/installed/wasm32-emscripten/include <library>/boost/date_time//boost_date_time <link>shared:<define>BOOST_THREAD_BUILD_DLL=1 <link>static:<define>BOOST_THREAD_BUILD_LIB=1 <relevant>cxxflags:<relevant>toolset <relevant>define:<relevant>link <relevant>define:<relevant>target-os <relevant>warnings:<relevant>toolset <tag>@Jamfile</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean/build>%Jamfile</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean/build>.tag <target-os>windows:<define>BOOST_USE_WINDOWS_H <target-os>windows:<define>WIN32_LEAN_AND_MEAN <threading>multi <toolset>clang-3.0:<cxxflags>-Wno-delete-non-virtual-dtor <toolset>clang:<cxxflags>-Wextra <toolset>clang:<cxxflags>-Wno-long-long <toolset>clang:<cxxflags>-Wno-unused-parameter <toolset>clang:<cxxflags>-Wno-variadic-macros <toolset>clang:<cxxflags>-Wunused-function <toolset>clang:<warnings>on <toolset>darwin-4.6.2:<cxxflags>-Wno-delete-non-virtual-dtor <toolset>darwin-4.7.0:<cxxflags>-Wno-delete-non-virtual-dtor <toolset>darwin-4:<cxxflags>-Wno-variadic-macros <toolset>darwin-5:<cxxflags>-Wno-variadic-macros <toolset>darwin:<cxxflags>-Wextra <toolset>darwin:<cxxflags>-Wno-long-long <toolset>darwin:<cxxflags>-Wno-unused-parameter <toolset>darwin:<cxxflags>-Wunused-function <toolset>darwin:<cxxflags>-fpermissive <toolset>darwin:<cxxflags>-pedantic <toolset>gcc-4:<cxxflags>-Wno-variadic-macros <toolset>gcc-5:<cxxflags>-Wno-variadic-macros <toolset>gcc:<cxxflags>-Wextra <toolset>gcc:<cxxflags>-Wno-long-long <toolset>gcc:<cxxflags>-Wno-unused-parameter <toolset>gcc:<cxxflags>-Wunused-function <toolset>gcc:<cxxflags>-pedantic <toolset>intel:<cxxflags>-wd1418 <toolset>intel:<cxxflags>-wd193,304,383,444 <toolset>intel:<cxxflags>-wd2415 <toolset>intel:<cxxflags>-wd593,981 <toolset>msvc:<cxxflags>/wd4100 <toolset>msvc:<cxxflags>/wd4512 <toolset>msvc:<cxxflags>/wd6246 <toolset>pathscale:<cxxflags>-Wno-long-long <toolset>pathscale:<cxxflags>-pedantic <warnings>all

     Building target '../build/has_atomic_flag_lockfree'
         Build request: object(property-set)@307 <address-model>32 <link>static <threading>multi <toolset-emscripten:version>3.1.51 <toolset>emscripten <variant>debug
         Command line free features:
         Target requirements: <define>BOOST_ALL_NO_LIB=1 <include>../include&&/home/rock/vcpkg/installed/wasm32-emscripten/include <library>/boost/date_time//boost_date_time <tag>@Jamfile</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>%Jamfile</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>.tag

         Common properties:  <address-model>32 <asynch-exceptions>off <closure>off <coverage>off <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <embind>off <exception-handling>on <extern-c-nothrow>off <hardcode-dll-paths>true <host-os>linux <include>../include&&/home/rock/vcpkg/installed/wasm32-emscripten/include <inlining>off <install-dependencies>off <library>/boost/date_time//boost_date_time <link-optimization>off <link>static <optimization>off <os>LINUX <pch>on <profiling>off <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</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>%Jamfile</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>.tag <target-os>linux <threadapi>pthread <threading>multi <toolset-emscripten:version>3.1.51 <toolset>emscripten <user-interface>console <variant>debug <vectorize>off <warnings-as-errors>off <warnings>on

         Building target '../boost_date_time'
             Build request: object(property-set)@330 <address-model>32 <asynch-exceptions>off <closure>off <coverage>off <debug-symbols>on <embind>off <exception-handling>on <extern-c-nothrow>off <inlining>off <link-optimization>off <link>static <optimization>off <os>LINUX <pch>on <profiling>off <relevant>variant <rtti>on <runtime-debugging>on <runtime-link>shared <stdlib>native <strip>off <target-os>linux <threadapi>pthread <threading>multi <toolset-emscripten:version>3.1.51 <toolset>emscripten <variant>debug <vectorize>off <warnings-as-errors>off <warnings>on
             Command line free features:
             Target requirements: <define>BOOST_ALL_NO_LIB=1 <file>/home/rock/vcpkg/installed/wasm32-emscripten/debug/lib/libboost_date_time.a <include>../include&&/home/rock/vcpkg/installed/wasm32-emscripten/include <tag>@Jamfile</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>%Jamfile</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>.tag <variant>debug

             Common properties:  <address-model>32 <asynch-exceptions>off <closure>off <coverage>off <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <embind>off <exception-handling>on <extern-c-nothrow>off <file>/home/rock/vcpkg/installed/wasm32-emscripten/debug/lib/libboost_date_time.a <hardcode-dll-paths>true <host-os>linux <include>../include&&/home/rock/vcpkg/installed/wasm32-emscripten/include <inlining>off <install-dependencies>off <link-optimization>off <link>static <optimization>off <os>LINUX <pch>on <profiling>off <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</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>%Jamfile</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>.tag <target-os>linux <threadapi>pthread <threading>multi <toolset-emscripten:version>3.1.51 <toolset>emscripten <user-interface>console <variant>debug <vectorize>off <warnings-as-errors>off <warnings>on

             Usage requirements for boost_date_time: 
             Build properties:  <address-model>32 <asynch-exceptions>off <closure>off <coverage>off <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <embind>off <exception-handling>on <extern-c-nothrow>off <file>object(file-target)@335 <hardcode-dll-paths>true <host-os>linux <include>../include&&/home/rock/vcpkg/installed/wasm32-emscripten/include <inlining>off <install-dependencies>off <link-optimization>off <link>static <optimization>off <os>LINUX <pch>on <profiling>off <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</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>%Jamfile</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>.tag <target-os>linux <threadapi>pthread <threading>multi <toolset-emscripten:version>3.1.51 <toolset>emscripten <user-interface>console <variant>debug <vectorize>off <warnings-as-errors>off <warnings>on
     *** construct LIB
         properties: <address-model>32 <asynch-exceptions>off <closure>off <coverage>off <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <embind>off <exception-handling>on <extern-c-nothrow>off <file>object(file-target)@335 <hardcode-dll-paths>true <host-os>linux <include>../include&&/home/rock/vcpkg/installed/wasm32-emscripten/include <inlining>off <install-dependencies>off <link-optimization>off <link>static <main-target-type>LIB <optimization>off <os>LINUX <pch>on <profiling>off <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</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>%Jamfile</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>.tag <target-os>linux <threadapi>pthread <threading>multi <toolset-emscripten:version>3.1.51 <toolset>emscripten <user-interface>console <variant>debug <vectorize>off <warnings-as-errors>off <warnings>on
     find-viable-generators target-type= LIB property-set= debug
     trying type LIB
     there are generators for this type
     trying generator builtin.prebuilt ( -> LIB )
       is viable
     trying generator builtin.lib-generator ( -> LIB )
       is viable
     trying generator unix.prebuilt ( -> LIB )
         property-requirements are not met: <toolset>unix
     trying generator gcc.prebuilt ( -> LIB )
         property-requirements are not met: <toolset>gcc
     trying generator emscripten.prebuilt ( -> LIB )
       is viable
     ***  0  viable generators
find-viable-generators target-type= LIB property-set= debug
trying type LIB
there are generators for this type
trying generator builtin.prebuilt ( -> LIB )
  is viable
trying generator builtin.lib-generator ( -> LIB )
  is viable
trying generator unix.prebuilt ( -> LIB )
    property-requirements are not met: <toolset>unix
trying generator gcc.prebuilt ( -> LIB )
    property-requirements are not met: <toolset>gcc
trying generator emscripten.prebuilt ( -> LIB )
  is viable
WARNING: Unable to construct ../boost_date_time of type LIB with these properties: <address-model>32 <asynch-exceptions>off <closure>off <coverage>off <debug-symbols>on <define>BOOST_ALL_NO_LIB=1 <embind>off <exception-handling>on <extern-c-nothrow>off <file>object(file-target)@335 <hardcode-dll-paths>true <host-os>linux <include>../include&&/home/rock/vcpkg/installed/wasm32-emscripten/include <inlining>off <install-dependencies>off <link-optimization>off <link>static <optimization>off <os>LINUX <pch>on <profiling>off <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</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>%Jamfile</home/rock/vcpkg/buildtrees/boost-thread/src/ost-1.83.0-690cb03abf.clean>.tag <target-os>linux <threadapi>pthread <threading>multi <toolset-emscripten:version>3.1.51 <toolset>emscripten <user-interface>console <variant>debug <vectorize>off <warnings-as-errors>off <warnings>on
WARNING: Considered these as possible generators:
error: no generators were found for type 'LIB'
error: and the requested properties
error: make sure you've configured the needed tools
See https://www.bfgroup.xyz/b2/manual/release/index.html#bbv2.overview.configuration
To debug this problem, try the --debug-generators option.
ninja: build stopped: subcommand failed.
sonygod commented 10 months ago

https://stackoverflow.com/questions/15724357/using-boost-with-emscripten

github-actions[bot] commented 4 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.