conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
966 stars 1.77k forks source link

[bug] error while building boost on windows (with mingw) #8824

Closed ghost closed 2 years ago

ghost commented 2 years ago

trying to build boost/1.76 on windows both via msvc and msys2/mingw-w64 give a build error

Environment Details (include every applicable attribute)

Steps to reproduce (Include if Applicable)

Logs (Executed commands with output) (Include/Attach if Applicable)

boost/1.76.0: boost/1.76.0: ERROR: Package 'd87ba236a01f71ce4aa203af421ab2c7b19c549b' build failed boost/1.76.0: WARN: Build folder D:\conan\cache\da6114\1 ERROR: boost/1.76.0: Error in build() method, line 829 self.run(full_command, run_environment=True) ConanException: Error 1 while executing b2.exe -q numa=on target-os=windows architecture=x86 address-model=64 binary-format=pe abi=ms --layout=system --user-config=D:\conan\cache\382a98\1\source_subfolder\tools\build\user-config.jam -sNO_ZLIB=0 -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZSTD=1 boost.locale.icu=off --disable-icu boost.locale.iconv=off --disable-iconv threading=multi visibility=hidden link=static variant=release --with-atomic --with-chrono --with-container --with-context --with-contract --with-coroutine --with-date_time --with-exception --with-fiber --with-filesystem --with-graph --with-iostreams --with-json --with-locale --with-log --with-math --with-nowide --with-program_options --with-random --with-regex --with-serialization --with-stacktrace --with-system --with-test --with-thread --with-timer --with-type_erasure --with-wave toolset=gcc define=_GLIBCXX_USE_CXX11_ABI=1 pch=on cxxflags="-fPIC" install --prefix=D:\conan\cache\0f78c7\1 -j16 --abbreviate-paths -d0 --debug-configuration --build-dir="D:\conan\cache\da6114\1"

memsharded commented 2 years ago

Hi @KitCarson03

With that line is not enough to know what is happening. It would be good to see the whole output, that should contain the real "b2" build error (that line is only printing the command that failed, not the actual build failure).

It would also be necessary (it is included in the output) to see the full profile. It is likely that recipes in ConanCenter are still not ready to build with the latest VS 2022, or they might fail to build with mingw (only VS builds are done in ConanCenter, not mingw)

ghost commented 2 years ago

Here it is:

`PS D:\Projects\new\build> conan install .. --settings compiler.cppstd=20 --settings compiler.libcxx=libstdc++11 --build=boost --profile=msys DEBUG :conan_api.py [176]: INIT: Using config 'D:\conan.conan\conan.conf' [2022-01-11 16:06:26,544] DEBUG :tracer.py [156]: CONAN_API: install(path=..,name=None,version=None,user=None,channel=None,settings=['compiler.cppstd=20', 'compiler.libcxx=libstdc++11'],options=None,env=None,profile_names=['msys'],conf=None,profile_build=ProfileData(profiles=None, settings=None, options=None, env=None, conf=None),remote_name=None,verify=None,manifests=None,manifests_interactive=None,build=['boost'],update=False,generators=None,no_imports=False,install_folder=None,lockfile=None,lockfile_out=None,require_overrides=None) [2022-01-11 16:06:26,548] DEBUG :profile_loader.py[120]: PROFILE LOAD: D:\conan.conan\profiles\default [2022-01-11 16:06:26,556] DEBUG :profile_loader.py[120]: PROFILE LOAD: D:\conan.conan\profiles\msys [2022-01-11 16:06:26,560]
DEBUG :profile_loader.py[120]: PROFILE LOAD: D:\conan.conan\profiles\default [2022-01-11 16:06:26,652] Configuration: [settings] arch=x86_64 arch_build=x86_64 compiler=gcc compiler.cppstd=20 compiler.libcxx=libstdc++11 compiler.version=11.2
os=Windows os_build=Windows [options] [build_requires] [env]

DEBUG :graph_builder.py[460]: GRAPH: new_node: boost/1.76.0 [2022-01-11 16:06:26,710] DEBUG :graph_builder.py[460]: GRAPH: new_node: zlib/1.2.11 [2022-01-11 16:06:26,784] DEBUG :graph_builder.py[460]: GRAPH: new_node: bzip2/1.0.8 [2022-01-11 16:06:26,796] DEBUG :graph_builder.py[68]: GRAPH: Time to load deps 0.13278603553771973 [2022-01-11 16:06:26,796] boost/1.76.0: Forced build from source DEBUG :graph_builder.py[460]: GRAPH: new_node: b2/4.5.0 [2022-01-11 16:06:27,318] conanfile.txt: Installing package Requirements boost/1.76.0 from 'conancenter' - Cache bzip2/1.0.8 from 'conancenter' - Cache zlib/1.2.11 from 'conancenter' - Cache Packages boost/1.76.0:33b9f4c3924af79b838c8bea9e095f63c25145b9 - Build bzip2/1.0.8:45c96e2c35c2f405da60689026bf47a02aed223a - Cache zlib/1.2.11:c385186c71e77dfde32a1790b23db2b7e95ff4fe - Cache Build requirements b2/4.5.0 from 'conancenter' - Cache Build requirements packages b2/4.5.0:ca33edce272a279b24f87dc0d4cf5bbdcffbc187 - Cache

Installing (downloading, building) binaries... b2/4.5.0: Already installed! bzip2/1.0.8: Already installed! bzip2/1.0.8: Appending PATH environment variable: D:\conan\cache\4003a1\1\bin zlib/1.2.11: Already installed! boost/1.76.0: Applying build-requirement: b2/4.5.0 boost/1.76.0: Building your package in D:\conan\cache\4ce10b\1 INFO :installer.py [132]: GENERATORS: Writing generators [2022-01-11 16:06:27,553] boost/1.76.0: Generator txt created conanbuildinfo.txt INFO :installer.py [136]: TOOLCHAIN: Writing toolchain [2022-01-11 16:06:27,557] boost/1.76.0: Aggregating env generators DEBUG :build.py [11]: Call conanfile.build() with files in build folder: ['conanbuildinfo.txt'] [2022-01-11 16:06:27,561] boost/1.76.0: Calling build() WARN: replace_in_file didn't find pattern '/ thread_local /' in 'D:\conan\cache\382a98\1\source_subfolder\boost\stacktrace\detail\libbacktrace_impls.hpp' file. WARN: replace_in_file didn't find pattern '/ static __thread /' in 'D:\conan\cache\382a98\1\source_subfolder\boost\stacktrace\detail\libbacktrace_impls.hpp' file. WARN: replace_in_file didn't find pattern 'local generic-os = [ set.difference $(all-os) : aix darwin vxworks solaris osf hpux ] ;' in 'D:\conan\cache\382a98\1\source_subfolder\tools\build\src\tools\gcc.jam' file. WARN: replace_in_file didn't find pattern 'local no-threading = android beos haiku sgi darwin vxworks ;' in 'D:\conan\cache\382a98\1\source_subfolder\tools\build\src\tools\gcc.jam' file. WARN: replace_in_file didn't find pattern ' @numa' in 'D:\conan\cache\382a98\1\source_subfolder\libs\fiber\build\Jamfile.v2' file. boost/1.76.0: WARN: Patching user-config.jam boost/1.76.0: WARN: using zlib : 1.2.11 : "D:/conan/cache/2b6d6a/1/include" "D:/conan/cache/2b6d6a/1/lib" zlib ; using bzip2 : 1.0.8 : "D:/conan/cache/4003a1/1/include" "D:/conan/cache/4003a1/1/lib" bz2 ; using "gcc" : : D:/msys64/mingw64/bin/g++.exe : ; boost/1.76.0: WARN: b2.exe -q numa=on target-os=windows architecture=x86 address-model=64 binary-format=pe abi=ms --layout=system --user-config=D:\conan\cache\382a98\1\source_subfolder\tools\build\user-config.jam -sNO_ZLIB=0 -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZSTD=1 boost.locale.icu=off --disable-icu boost.locale.iconv=off --disable-iconv threading=multi visibility=hidden link=static variant=release --with-atomic --with-chrono --with-container --with-context --with-contract --with-coroutine --with-date_time --with-exception --with-fiber --with-filesystem --with-graph --with-iostreams --with-json --with-locale --with-log --with-math --with-nowide --with-program_options --with-random --with-regex --with-serialization --with-stacktrace --with-system --with-test --with-thread --with-timer --with-type_erasure --with-wave toolset=gcc cxxflags=-std=c++2a define=_GLIBCXX_USE_CXX11_ABI=1 pch=on cxxflags="-fPIC" install --prefix=D:\conan\cache\0e8452\1 -j16 --abbreviate-paths -d0 --debug-configuration --build-dir="D:\conan\cache\4ce10b\1" notice: found boost-build.jam at D:/conan/cache/382a98/1/source_subfolder/boost-build.jam notice: loading B2 from D:/conan/cache/382a98/1/source_subfolder/tools/build/src/bootstrap.jam warning: mismatched versions of B2 engine and core warning: B2 engine (b2.exe) is 4.5.0 warning: B2 core (at D:/conan/cache/382a98/1/source_subfolder/tools/build/src) is 4.4-git notice: Searching 'C:\Windows' 'C:\Users\Leonardo' 'C:\Users\Leonardo' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/kernel' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/util' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/build' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/tools' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/contrib' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/.' for site-config configuration file 'site-config.jam'. notice: Configuration file 'site-config.jam' not found in 'C:\Windows' 'C:\Users\Leonardo' 'C:\Users\Leonardo' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/kernel' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/util' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/build' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/tools' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/contrib' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/.'. notice: Loading explicitly specified user configuration file: D:\conan\cache\382a98\1\source_subfolder\tools\build\user-config.jam notice: Searching 'D:\conan\cache\382a98\1\source_subfolder\tools\build' for user-config configuration file 'user-config.jam'. notice: Loading user-config configuration file 'user-config.jam' from 'D:/conan/cache/382a98/1/source_subfolder/tools/build'. notice: [zlib] Using pre-installed library notice: [zlib] Condition notice: [bzip2] Using pre-installed library notice: [bzip2] Condition notice: will use 'D:/msys64/mingw64/bin/g++.exe' for gcc, condition gcc-11.2.0 notice: using gcc libraries :: gcc-11.2.0 :: D:/msys64/mingw64/bin D:/msys64/mingw64/lib D:/msys64/mingw64/lib32 D:/msys64/mingw64/lib64 notice: using gcc archiver :: gcc-11.2.0 :: D:/msys64/mingw64/x86_64-w64-mingw32/bin/ar.exe notice: using gcc ranlib :: gcc-11.2.0 :: D:/msys64/mingw64/x86_64-w64-mingw32/bin/ranlib.exe notice: using rc compiler :: gcc-11.2.0 :: D:\msys64\mingw64\bin\windres.exe notice: [zlib] zlib is already configured notice: [bzip2] bzip is already configured notice: iostreams: not using lzma compression notice: iostreams: not using zstd compression notice: [python-cfg] Configuring python... notice: [python-cfg] Checking interpreter command "python"... notice: [python-cfg] running command 'DIR /-C /A:S "D:\Program Files\miniconda3\python.exe" 2>&1' notice: [python-cfg] running command 'python -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1' notice: [python-cfg] ...requested configuration matched! notice: [python-cfg] Details of this Python configuration: notice: [python-cfg] interpreter command: "python" notice: [python-cfg] include path: "D:\Program Files\miniconda3\Include" notice: [python-cfg] library path: "D:\Program Files\miniconda3\libs" notice: [python-cfg] DLL search path: "D:\Program Files\miniconda3" notice: [python-cfg] Checking for NumPy... notice: [python-cfg] running command 'python -c "import sys; sys.stderr = sys.stdout; import numpy; print(numpy.get_include())"' notice: [python-cfg] NumPy enabled Performing configuration checks

- default address-model    : 64-bit [1]
- default architecture     : x86 [1]
- compiler supports SSE2   : yes [2]
- compiler supports SSE4.1 : yes [2]
- has synchronization.lib  : yes [2]
- C++11 mutex              : yes [2]
- has BCrypt API           : yes [2]
- has stat::st_mtim        : no [2]
- has stat::st_mtimensec   : no [2]
- has stat::st_mtimespec   : no [2]
- has stat::st_birthtim    : no [2]
- has stat::st_birthtimensec : no [2]
- has stat::st_birthtimespec : no [2]
- has statx                : no [2]
- has statx syscall        : no [2]
- cxx11_auto_declarations  : yes [2]
- cxx11_constexpr          : yes [2]
- cxx11_defaulted_functions : yes [2]
- cxx11_final              : yes [2]
- cxx11_hdr_mutex          : yes [2]
- cxx11_hdr_tuple          : yes [2]
- cxx11_lambdas            : yes [2]
- cxx11_noexcept           : yes [2]
- cxx11_nullptr            : yes [2]
- cxx11_rvalue_references  : yes [2]
- cxx11_template_aliases   : yes [2]
- cxx11_thread_local       : yes [2]
- cxx11_variadic_templates : yes [2]
- has_icu builds           : no [2]
- zlib                     : yes [3]
- bzip2                    : yes [3]
- cxx11_decltype           : yes [2]
- cxx11_basic_alignas      : yes [2]
- native atomic int32 supported : yes [2]
- has message compiler     : no [2]
- native syslog supported  : no [2]
- pthread supports robust mutexes : no [2]
- compiler supports SSSE3  : yes [2]
- compiler supports AVX2   : yes [2]
- gcc visibility           : yes [2]
- sfinae_expr              : yes [2]
- cxx11_unified_initialization_syntax : yes [2]
- cxx11_hdr_initializer_list : yes [2]
- cxx11_hdr_chrono         : yes [2]
- cxx11_numeric_limits     : yes [2]
- cxx11_hdr_array          : yes [2]
- cxx11_hdr_atomic         : yes [2]
- cxx11_hdr_type_traits    : yes [2]
- cxx11_allocator          : yes [2]
- cxx11_explicit_conversion_operators : yes [2]
- gcc visibility           : yes [4]
- cxx11_noexcept           : yes [4]
- cxx11_rvalue_references  : yes [4]
- sfinae_expr              : yes [4]
- cxx11_auto_declarations  : yes [4]
- cxx11_lambdas            : yes [4]
- cxx11_unified_initialization_syntax : yes [4]
- cxx11_hdr_tuple          : yes [4]
- cxx11_hdr_initializer_list : yes [4]
- cxx11_hdr_chrono         : yes [4]
- cxx11_thread_local       : yes [4]
- cxx11_constexpr          : yes [4]
- cxx11_nullptr            : yes [4]
- cxx11_numeric_limits     : yes [4]
- cxx11_decltype           : yes [4]
- cxx11_hdr_array          : yes [4]
- cxx11_hdr_atomic         : yes [4]
- cxx11_hdr_type_traits    : yes [4]
- cxx11_allocator          : yes [4]
- cxx11_explicit_conversion_operators : yes [4]
- long double support      : yes [4]
- cxx11_static_assert      : yes [2]
- std::fstream is moveable and swappable : yes [2]
- Has Large File Support   : yes [2]
- libbacktrace builds      : no [2]
- libbacktrace builds      : no [5]
- addr2line builds         : no [2]
- addr2line builds         : no [5]
- WinDbg builds            : yes [2]
- WinDbg builds            : yes [5]
- WinDbgCached builds      : yes [2]
- BOOST_COMP_GNUC >= 4.3.0 : yes [2]

[1] gcc-11.2. [2] gcc-11.2./rls/bst.l-off/bst.l-off/lnk-sttc/nm-on/pythn-3.9/thrdp-wn32/thrd-mlt/vsblt-hdn [3] lnk-sttc [4] gcc-11.2./rls/bst.l-off/bst.l-off/lnk-sttc/nm-on/pch-off/pythn-3.9/thrdp-wn32/thrd-mlt/vsblt-hdn [5] gcc-11.2./rls/bst.l-off/bst.l-off/bld-no/lnk-sttc/nm-on/pythn-3.9/thrdp-wn32/thrd-mlt/vsblt-hdn

Component configuration:

- atomic                   : building
- chrono                   : building
- container                : building
- context                  : building
- contract                 : building
- coroutine                : building
- date_time                : building
- exception                : building
- fiber                    : building
- filesystem               : building
- graph                    : building
- graph_parallel           : not building
- headers                  : not building
- iostreams                : building
- json                     : building
- locale                   : building
- log                      : building
- math                     : building
- mpi                      : not building
- nowide                   : building
- program_options          : building
- python                   : not building
- random                   : building
- regex                    : building
- serialization            : building
- stacktrace               : building
- system                   : building
- test                     : building
- thread                   : building
- timer                    : building
- type_erasure             : building
- wave                     : building

...failed updating 1 target... boost/1.76.0: boost/1.76.0: ERROR: Package '33b9f4c3924af79b838c8bea9e095f63c25145b9' build failed boost/1.76.0: WARN: Build folder D:\conan\cache\4ce10b\1 ERROR: boost/1.76.0: Error in build() method, line 829 self.run(full_command, run_environment=True) ConanException: Error 1 while executing b2.exe -q numa=on target-os=windows architecture=x86 address-model=64 binary-format=pe abi=ms --layout=system --user-config=D:\conan\cache\382a98\1\source_subfolder\tools\build\user-config.jam -sNO_ZLIB=0 -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZSTD=1 boost.locale.icu=off --disable-icu boost.locale.iconv=off --disable-iconv threading=multi visibility=hidden link=static variant=release --with-atomic --with-chrono --with-container --with-context --with-contract --with-coroutine --with-date_time --with-exception --with-fiber --with-filesystem --with-graph --with-iostreams --with-json --with-locale --with-log --with-math --with-nowide --with-program_options --with-random --with-regex --with-serialization --with-stacktrace --with-system --with-test --with-thread --with-timer --with-type_erasure --with-wave toolset=gcc cxxflags=-std=c++2a define=_GLIBCXX_USE_CXX11_ABI=1 pch=on cxxflags="-fPIC" install --prefix=D:\conan\cache\0e8452\1 -j16 --abbreviate-paths -d0 --debug-configuration --build-dir="D:\conan\cache\4ce10b\1"`

memsharded commented 2 years ago

I have transferred this issue to conan-center-index because so far it seems a recipe/package issue, not a Conan client one.

It would be good to know if the recipe build correctly for the "standard" VS compiler (testing with VS 2019 would be perfect, even if they are binaries in ConanCenter, you can always fire the build from sources with --build=boost).

I have no idea of what could be happening the error message ...failed updating 1 target... it is not very informative. Maybe @SSE4 and @uilianries can try to help here.

ghost commented 2 years ago

i'll try ASAP with msvc and post the report

ghost commented 2 years ago

Here it is the msvc build error:

`D:\Projects\new\build>conan install .. --settings compiler.runtime=dynamic --build=boost DEBUG :conan_api.py [176]: INIT: Using config 'D:\conan.conan\conan.conf' [2022-01-11 18:35:24,056] DEBUG :tracer.py [156]: CONAN_API: install(path=..,name=None,version=None,user=None,channel=None,settings=['compiler.runtime=dynamic'],options=None,env=None,profile_names=None,conf=None,profile_build=ProfileData(profiles=None, settings=None, options=None, env=None, conf=None),remote_name=None,verify=None,manifests=None,manifests_interactive=None,build=['boost'],update=False,generators=None,no_imports=False,install_folder=None,lockfile=None,lockfile_out=None,require_overrides=None) [2022-01-11 18:35:24,060] DEBUG :profile_loader.py[120]: PROFILE LOAD: D:\conan.conan\profiles\default [2022-01-11 18:35:24,068] DEBUG :profile_loader.py[120]: PROFILE LOAD: D:\conan.conan\profiles\default [2022-01-11 18:35:24,178] Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=msvc compiler.cppstd=20 compiler.runtime=dynamic compiler.runtime_type=Release compiler.version=193 os=Windows os_build=Windows [options] [build_requires] [env]

DEBUG :graph_builder.py[460]: GRAPH: new_node: boost/1.76.0 [2022-01-11 18:35:24,238] DEBUG :graph_builder.py[460]: GRAPH: new_node: zlib/1.2.11 [2022-01-11 18:35:24,301] DEBUG :graph_builder.py[460]: GRAPH: new_node: bzip2/1.0.8 [2022-01-11 18:35:24,313] DEBUG :graph_builder.py[68]: GRAPH: Time to load deps 0.13105440139770508 [2022-01-11 18:35:24,317] boost/1.76.0: Forced build from source DEBUG :graph_builder.py[460]: GRAPH: new_node: b2/4.5.0 [2022-01-11 18:35:24,435] conanfile.txt: Installing package Requirements boost/1.76.0 from 'conancenter' - Cache bzip2/1.0.8 from 'conancenter' - Cache zlib/1.2.11 from 'conancenter' - Cache Packages boost/1.76.0:badfb1d5e5cf6ff33668649ed1f852645160cfa4 - Build bzip2/1.0.8:8225dbb52b22259f8b88b3bddfc249d0262dd87a - Cache zlib/1.2.11:0161cb462c8d91ea2752ec9d30cbdf37ca52dbe2 - Cache Build requirements b2/4.5.0 from 'conancenter' - Cache Build requirements packages b2/4.5.0:ca33edce272a279b24f87dc0d4cf5bbdcffbc187 - Cache

Installing (downloading, building) binaries... b2/4.5.0: Already installed! bzip2/1.0.8: Already installed! bzip2/1.0.8: Appending PATH environment variable: D:\conan\cache\bff967\1\bin zlib/1.2.11: Already installed! boost/1.76.0: Applying build-requirement: b2/4.5.0 boost/1.76.0: Building your package in D:\conan\cache\242d00\1 INFO :installer.py [132]: GENERATORS: Writing generators [2022-01-11 18:35:24,721] boost/1.76.0: Generator txt created conanbuildinfo.txt INFO :installer.py [136]: TOOLCHAIN: Writing toolchain [2022-01-11 18:35:24,727] boost/1.76.0: Aggregating env generators DEBUG :build.py [11]: Call conanfile.build() with files in build folder: ['conanbuildinfo.txt'] [2022-01-11 18:35:24,731] boost/1.76.0: Calling build() WARN: replace_in_file didn't find pattern '/ thread_local /' in 'D:\conan\cache\382a98\1\source_subfolder\boost\stacktrace\detail\libbacktrace_impls.hpp' file. WARN: replace_in_file didn't find pattern '/ static __thread /' in 'D:\conan\cache\382a98\1\source_subfolder\boost\stacktrace\detail\libbacktrace_impls.hpp' file. WARN: replace_in_file didn't find pattern 'local generic-os = [ set.difference $(all-os) : aix darwin vxworks solaris osf hpux ] ;' in 'D:\conan\cache\382a98\1\source_subfolder\tools\build\src\tools\gcc.jam' file. WARN: replace_in_file didn't find pattern 'local no-threading = android beos haiku sgi darwin vxworks ;' in 'D:\conan\cache\382a98\1\source_subfolder\tools\build\src\tools\gcc.jam' file. WARN: replace_in_file didn't find pattern ' @numa' in 'D:\conan\cache\382a98\1\source_subfolder\libs\fiber\build\Jamfile.v2' file. boost/1.76.0: WARN: Patching user-config.jam boost/1.76.0: WARN: using zlib : 1.2.11 : "D:/conan/cache/7049fe/1/include" "D:/conan/cache/7049fe/1/lib" zlib ; using bzip2 : 1.0.8 : "D:/conan/cache/bff967/1/include" "D:/conan/cache/bff967/1/lib" bz2 ; using "msvc" : : : ; boost/1.76.0: WARN: b2.exe -q numa=on target-os=windows architecture=x86 address-model=64 binary-format=pe abi=ms --layout=system --user-config=D:\conan\cache\382a98\1\source_subfolder\tools\build\user-config.jam -sNO_ZLIB=0 -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZSTD=1 boost.locale.icu=off --disable-icu boost.locale.iconv=off --disable-iconv threading=multi visibility=hidden link=static variant=release --with-atomic --with-chrono --with-container --with-context --with-contract --with-coroutine --with-date_time --with-exception --with-fiber --with-filesystem --with-graph --with-iostreams --with-json --with-locale --with-log --with-math --with-nowide --with-program_options --with-random --with-regex --with-serialization --with-stacktrace --with-system --with-test --with-thread --with-timer --with-type_erasure --with-wave toolset=msvc cxxflags=/std:c++20 pch=on cxxflags="-fPIC" install --prefix=D:\conan\cache\40a40d\1 -j16 --abbreviate-paths -d0 --debug-configuration --build-dir="D:\conan\cache\242d00\1" notice: found boost-build.jam at D:/conan/cache/382a98/1/source_subfolder/boost-build.jam notice: loading B2 from D:/conan/cache/382a98/1/source_subfolder/tools/build/src/bootstrap.jam warning: mismatched versions of B2 engine and core warning: B2 engine (b2.exe) is 4.5.0 warning: B2 core (at D:/conan/cache/382a98/1/source_subfolder/tools/build/src) is 4.4-git notice: Searching 'C:\Windows' 'C:\Users\Leonardo' 'C:\Users\Leonardo' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/kernel' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/util' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/build' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/tools' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/contrib' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/.' for site-config configuration file 'site-config.jam'. notice: Configuration file 'site-config.jam' not found in 'C:\Windows' 'C:\Users\Leonardo' 'C:\Users\Leonardo' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/kernel' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/util' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/build' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/tools' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/contrib' 'D:/conan/cache/382a98/1/source_subfolder/tools/build/src/.'. notice: Loading explicitly specified user configuration file: D:\conan\cache\382a98\1\source_subfolder\tools\build\user-config.jam notice: Searching 'D:\conan\cache\382a98\1\source_subfolder\tools\build' for user-config configuration file 'user-config.jam'. notice: Loading user-config configuration file 'user-config.jam' from 'D:/conan/cache/382a98/1/source_subfolder/tools/build'. notice: [zlib] Using pre-installed library notice: [zlib] Condition notice: [bzip2] Using pre-installed library notice: [bzip2] Condition notice: will use 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\Hostx86\x86\cl.exe' for msvc, condition msvc-6.0 notice: [msvc-cfg] condition: 'msvc-6.0/x86/32', setup: 'C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx86/vcvarsall.bat' notice: [msvc-cfg] condition: 'msvc-6.0//32', setup: 'C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx86/vcvarsall.bat' notice: [zlib] zlib is already configured notice: [bzip2] bzip is already configured notice: iostreams: not using lzma compression notice: iostreams: not using zstd compression notice: [python-cfg] Configuring python... notice: [python-cfg] Checking interpreter command "python"... notice: [python-cfg] running command 'DIR /-C /A:S "D:\Program Files\miniconda3\python.exe" 2>&1' notice: [python-cfg] running command 'python -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1' notice: [python-cfg] ...requested configuration matched! notice: [python-cfg] Details of this Python configuration: notice: [python-cfg] interpreter command: "python" notice: [python-cfg] include path: "D:\Program Files\miniconda3\Include" notice: [python-cfg] library path: "D:\Program Files\miniconda3\libs" notice: [python-cfg] DLL search path: "D:\Program Files\miniconda3" notice: [python-cfg] Checking for NumPy... notice: [python-cfg] running command 'python -c "import sys; sys.stderr = sys.stdout; import numpy; print(numpy.get_include())"' notice: [python-cfg] NumPy enabled Performing configuration checks

- default address-model    : 32-bit [1]
- default architecture     : arm [1]
- compiler supports SSE2   : yes [2]
- compiler supports SSE4.1 : yes [2]
- has synchronization.lib  : no [2]
- C++11 mutex              : yes [2]
- has BCrypt API           : yes [2]
- has stat::st_mtim        : yes [2]
- has stat::st_mtimensec   : yes [2]
- has stat::st_mtimespec   : yes [2]
- has stat::st_birthtim    : yes [2]
- has stat::st_birthtimensec : yes [2]
- has stat::st_birthtimespec : yes [2]
- has statx                : yes [2]
- has statx syscall        : yes [2]
- cxx11_auto_declarations  : yes [2]
- cxx11_constexpr          : yes [2]
- cxx11_defaulted_functions : yes [2]
- cxx11_final              : yes [2]
- cxx11_hdr_mutex          : yes [2]
- cxx11_hdr_tuple          : yes [2]
- cxx11_lambdas            : yes [2]
- cxx11_noexcept           : yes [2]
- cxx11_nullptr            : yes [2]
- cxx11_rvalue_references  : yes [2]
- cxx11_template_aliases   : yes [2]
- cxx11_thread_local       : yes [2]
- cxx11_variadic_templates : yes [2]
- has_icu builds           : no [2]
- zlib                     : no [3]
- bzip2                    : no [3]
- cxx11_decltype           : yes [2]
- cxx11_basic_alignas      : yes [2]
- native atomic int32 supported : yes [2]
- has message compiler     : no [2]
- native syslog supported  : yes [2]
- pthread supports robust mutexes : yes [2]
- compiler supports SSSE3  : yes [2]
- compiler supports AVX2   : yes [2]
- gcc visibility           : yes [2]
- sfinae_expr              : yes [2]
- cxx11_unified_initialization_syntax : yes [2]
- cxx11_hdr_initializer_list : yes [2]
- cxx11_hdr_chrono         : yes [2]
- cxx11_numeric_limits     : yes [2]
- cxx11_hdr_array          : yes [2]
- cxx11_hdr_atomic         : yes [2]
- cxx11_hdr_type_traits    : yes [2]
- cxx11_allocator          : yes [2]
- cxx11_explicit_conversion_operators : yes [2]
- long double support      : yes [2]
- cxx11_static_assert      : yes [2]
- std::fstream is moveable and swappable : yes [2]
- Has Large File Support   : no [2]
- libbacktrace builds      : no [2]
- libbacktrace builds      : no [4]
- addr2line builds         : no [2]
- addr2line builds         : no [4]
- WinDbg builds            : no [2]
- WinDbg builds            : no [4]
- WinDbgCached builds      : no [2]
- WinDbgCached builds      : no [4]
- BOOST_COMP_GNUC >= 4.3.0 : yes [2]

[1] msvc-6.0 [2] msvc-6.0/rls/adrs-mdl-64/archt-x86/bst.l-off/bst.l-off/lnk-sttc/nm-on/pythn-3.9/thrdp-wn32/thrd-mlt/vsblt-hdn [3] lnk-sttc [4] msvc-6.0/rls/adrs-mdl-64/archt-x86/bst.l-off/bst.l-off/bld-no/lnk-sttc/nm-on/pythn-3.9/thrdp-wn32/thrd-mlt/vsblt-hdn

Component configuration:

- atomic                   : building
- chrono                   : building
- container                : building
- context                  : building
- contract                 : building
- coroutine                : building
- date_time                : building
- exception                : building
- fiber                    : building
- filesystem               : building
- graph                    : building
- graph_parallel           : not building
- headers                  : not building
- iostreams                : building
- json                     : building
- locale                   : building
- log                      : building
- math                     : building
- mpi                      : not building
- nowide                   : building
- program_options          : building
- python                   : not building
- random                   : building
- regex                    : building
- serialization            : building
- stacktrace               : building
- system                   : building
- test                     : building
- thread                   : building
- timer                    : building
- type_erasure             : building
- wave                     : building

...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>acosh.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>copysign.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>fmax.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>lgamma.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>nextafter.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>trunc.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>cbrtf.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>expm1f.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>hypotf.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>lroundf.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>tgammaf.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>assoc_legendre.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>comp_ellint_3.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>cyl_neumann.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>expint.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>riemann_zeta.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>assoc_legendrel.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>comp_ellint_3l.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>cyl_neumannl.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>expintl.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>riemann_zetal.obj for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\math\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>pch.pch... ...skipped <pD:\conan\cache\40a40d\1\lib>libboost_stacktrace_noop.lib for lack of <pD:\conan\cache\242d00\1\boost\bin.v2\libs\stacktrace\build\msvc-6.0\rls\adrs-mdl-64\archt-x86\lnk-sttc\nm-on\thrd-mlt>libboost_stacktrace_noop.lib... ...failed updating 4 targets... boost/1.76.0: boost/1.76.0: ERROR: Package 'badfb1d5e5cf6ff33668649ed1f852645160cfa4' build failed boost/1.76.0: WARN: Build folder D:\conan\cache\242d00\1 ERROR: boost/1.76.0: Error in build() method, line 829 self.run(full_command, run_environment=True) ConanException: Error 1 while executing b2.exe -q numa=on target-os=windows architecture=x86 address-model=64 binary-format=pe abi=ms --layout=system --user-config=D:\conan\cache\382a98\1\source_subfolder\tools\build\user-config.jam -sNO_ZLIB=0 -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZSTD=1 boost.locale.icu=off --disable-icu boost.locale.iconv=off --disable-iconv threading=multi visibility=hidden link=static variant=release --with-atomic --with-chrono --with-container --with-context --with-contract --with-coroutine --with-date_time --with-exception --with-fiber --with-filesystem --with-graph --with-iostreams --with-json --with-locale --with-log --with-math --with-nowide --with-program_options --with-random --with-regex --with-serialization --with-stacktrace --with-system --with-test --with-thread --with-timer --with-type_erasure --with-wave toolset=msvc cxxflags=/std:c++20 pch=on cxxflags="-fPIC" install --prefix=D:\conan\cache\40a40d\1 -j16 --abbreviate-paths -d0 --debug-configuration --build-dir="D:\conan\cache\242d00\1"`

SpaceIm commented 2 years ago

CCI is not yet ready for compiler=msvc profile, so it's quite unfortunate that latest conan client creates a default profile for this one since it creates lot of pressure on CCI side to support it while many things won't work out of the box (like https://github.com/conan-io/conan-center-index/pull/8789#discussion_r781282740 for example). Try to use compiler=Visual Studio profile instead.

For MinGW, it's a known issue: https://github.com/conan-io/conan-center-index/issues/4764, but nobody was able or care to fix it so far. You'll find a workaround in this issue, https://github.com/conan-io/conan-center-index/issues/4764#issuecomment-845807588, you have to disable fiber.

ghost commented 2 years ago

thanks, i'll try and report the results

ghost commented 2 years ago

disabling fiber i managed to compile boost/1.76 on windows with migw-w64 gcc now the issue is with nasm but i'll open a different issue, i consider this solved. Thanks