Open lunacd opened 9 months ago
mark, same problem
By default, boost is built with very limited build log, so it's hard to see what's wrong. Try to increase value of debug_level
boost option (by default it's 0, which means almost no log), for example -o "boost/*:debug_level=1"
.
By default, boost is built with very limited build log, so it's hard to see what's wrong. Try to increase value of debug_level boost option (by default it's 0, which means almost no log), for example -o "boost/*:debug_level=1".
Wow! Actual logs! 🎆
In the log, trying to compile frame_msvc.ipp
is kind of suspicious. Maybe there's some extra macros I should be defining?
Description
Failed to build with msys2 ucrt64 gcc toolchain on Windows. Also failed with clang toolchain in msys2 under ucrt64.
Package and Environment Details
Conan profile
[settings] arch=x86_64 build_type=Debug compiler=gcc compiler.cppstd=gnu20 compiler.version=13.2 compiler.libcxx=libstdc++11 os=Windows
[buildenv] CMAKE_EXPORT_COMPILE_COMMANDS=ON CC=C:/msys64/ucrt64/bin/gcc CXX=C:/msys64/ucrt64/bin/g++ SYSROOT=C:/msys64/ucrt64
Steps to reproduce
mingw-w64-ucrt-x86_64-toolchain
Logs
Click to expand log
``` ======== Input profiles ======== Profile host: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.cppstd=gnu20 compiler.libcxx=libstdc++11 compiler.version=13.2 os=Windows [conf] tools.build:sysroot="C:/msys64/ucrt64" tools.cmake.cmaketoolchain:generator=Ninja [buildenv] CMAKE_EXPORT_COMPILE_COMMANDS=ON CC=C:/msys64/ucrt64/bin/gcc CXX=C:/msys64/ucrt64/bin/g++ SYSROOT=C:/msys64/ucrt64 Profile build: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.cppstd=gnu20 compiler.libcxx=libstdc++11 compiler.version=13.2 os=Windows [conf] tools.build:sysroot="C:/msys64/ucrt64" tools.cmake.cmaketoolchain:generator=Ninja [buildenv] CMAKE_EXPORT_COMPILE_COMMANDS=ON CC=C:/msys64/ucrt64/bin/gcc CXX=C:/msys64/ucrt64/bin/g++ SYSROOT=C:/msys64/ucrt64 ======== Computing dependency graph ======== gtest/1.14.0: Checking remote: conancenter sqlitecpp/3.3.1: Checking remote: conancenter sqlite3/3.45.0: Checking remote: conancenter boost/1.83.0: Checking remote: conancenter zlib/1.3: Checking remote: conancenter bzip2/1.0.8: Checking remote: conancenter b2/4.10.1: Checking remote: conancenter Graph root conanfile.txt: C:\Users\haowenl\sr.ht\vorg\conanfile.txt Requirements boost/1.83.0#658a6b1d7aa62a019cbba3f4ae363cb7 - Cache (conancenter) bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4 - Cache (conancenter) gtest/1.14.0#4372c5aed2b4018ed9f9da3e218d18b3 - Cache (conancenter) sqlite3/3.45.0#4fc7b36ff1158699513b3e68470fc02b - Cache (conancenter) sqlitecpp/3.3.1#ba1315c1f8f97a73b6f6ea823e6cadfe - Cache (conancenter) zlib/1.3#06023034579559bb64357db3a53f88a4 - Cache (conancenter) Build requirements b2/4.10.1#1b290403d8648c79f468f5a6496f829a - Cache (conancenter) Resolved version ranges zlib/[>=1.2.11 <2]: zlib/1.3 ======== Computing necessary packages ======== b2/4.10.1: Current package revision is newer than the remote one bzip2/1.0.8: WARN: Can't update, no package in remote gtest/1.14.0: WARN: Can't update, no package in remote sqlite3/3.45.0: WARN: Can't update, no package in remote zlib/1.3: WARN: Can't update, no package in remote boost/1.83.0: Checking 9 compatible configurations boost/1.83.0: '5423eb0653cf256963538f18ff4cfdd1f702340e': compiler.cppstd=11 boost/1.83.0: '7a435ad1db945321f068f4d24c673353af456250': compiler.cppstd=gnu11 boost/1.83.0: '91a9fbc9392d2cd41851b29a00c9c6122126771a': compiler.cppstd=14 boost/1.83.0: 'e172cb957d2f8f300cb29b5051a3b634c04e110f': compiler.cppstd=gnu14 boost/1.83.0: '69ea9a144a61417c8d4a338e0d4f59f6fcdb4604': compiler.cppstd=17 boost/1.83.0: 'daed67c4568acd65edfcbd025267e13f10b3ce1d': compiler.cppstd=gnu17 boost/1.83.0: 'b7923aaa97cb2a6f6e314f8aaecbff704f1a4cca': compiler.cppstd=20 boost/1.83.0: '94f9dba639345960b7e7b5b64f10f2944e0c45a0': compiler.cppstd=23 boost/1.83.0: 'ce8dca1a77aa0abebdb8812e35df37e8bd900d6b': compiler.cppstd=gnu23 sqlitecpp/3.3.1: Checking 9 compatible configurations sqlitecpp/3.3.1: '8d96262846b37d683b363de4f32071e868cb8725': compiler.cppstd=11 sqlitecpp/3.3.1: '318274339628d8fea04ba2131d90a995b73b1621': compiler.cppstd=gnu11 sqlitecpp/3.3.1: '197f74ddc5c99b3520152c6693d2efab755d879f': compiler.cppstd=14 sqlitecpp/3.3.1: '99762999dab0fd081cdc212aa97417debaca0e00': compiler.cppstd=gnu14 sqlitecpp/3.3.1: '710ad46e38d6680dd9b7c65ac48b5b2eefdd77d7': compiler.cppstd=17 sqlitecpp/3.3.1: '61675e95c579368d2739a3b24f561f72acc69f77': compiler.cppstd=gnu17 sqlitecpp/3.3.1: '69d1a6dcf8a369928b2c8e3ea387eb628bf9fa38': compiler.cppstd=20 sqlitecpp/3.3.1: 'e95f88f42d4d0b84649126f08546b3ac3ff4197a': compiler.cppstd=23 sqlitecpp/3.3.1: '6f00822e34a6665360439763ab21e66d72abaa3a': compiler.cppstd=gnu23 Requirements boost/1.83.0#658a6b1d7aa62a019cbba3f4ae363cb7:6eec15d0eed72a3619c780d97cb68a8a528fe0a7 - Build bzip2/1.0.8#457c272f7da34cb9c67456dd217d36c4:61e1e8dd34c85ee1af32880258d8739d742ac181#aca611fba08eca499481e6f7f4806c80 - Cache gtest/1.14.0#4372c5aed2b4018ed9f9da3e218d18b3:f059b8d6b57783322e473696a92d6f189055e018#3bcff2faed79ac827fd77ed360fc8fd4 - Cache sqlite3/3.45.0#4fc7b36ff1158699513b3e68470fc02b:e7032b47cf10581874df174d15015bd57ebf9725#84743d53b1b5e7ed213334a91e0b884a - Cache sqlitecpp/3.3.1#ba1315c1f8f97a73b6f6ea823e6cadfe:80ca7d3f9983ced01386aeed8b0d44799f076b14 - Build zlib/1.3#06023034579559bb64357db3a53f88a4:9e598ec34c9edfe87d7470964b3742551e1eb609#ebaca628b7fce5e9b9a8698db184e310 - Cache Build requirements b2/4.10.1#1b290403d8648c79f468f5a6496f829a:522dcea5982a3f8a5b624c16477e47195da2f84f#5b7ea904770c380b86a08552f0f25ad7 - Cache ======== Installing packages ======== b2/4.10.1: Already installed! (1 of 7) bzip2/1.0.8: Already installed! (2 of 7) gtest/1.14.0: Already installed! (3 of 7) sqlite3/3.45.0: Already installed! (4 of 7) zlib/1.3: Already installed! (5 of 7) -------- Installing package boost/1.83.0 (6 of 7) -------- boost/1.83.0: Building from source boost/1.83.0: Package boost/1.83.0:6eec15d0eed72a3619c780d97cb68a8a528fe0a7 boost/1.83.0: Building your package in C:\Users\haowenl\.conan2\p\b\boostc4df2e92383c3\b boost/1.83.0: Calling generate() boost/1.83.0: Generators folder: C:\Users\haowenl\.conan2\p\b\boostc4df2e92383c3\b\build-debug\conan boost/1.83.0: Generating aggregated env files boost/1.83.0: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat'] boost/1.83.0: Calling build() boost/1.83.0: WARN: replace_in_file didn't find pattern '/* thread_local */' in 'C:\Users\haowenl\.conan2\p\boostb64db50bc1f06\s\src\boost\stacktrace\detail\libbacktrace_impls.hpp' file. boost/1.83.0: WARN: replace_in_file didn't find pattern '/* static __thread */' in 'C:\Users\haowenl\.conan2\p\boostb64db50bc1f06\s\src\boost\stacktrace\detail\libbacktrace_impls.hpp' file. boost/1.83.0: WARN: replace_in_file didn't find pattern 'local generic-os = [ set.difference $(all-os) : aix darwin vxworks solaris osf hpux ] ;' in 'C:\Users\haowenl\.conan2\p\boostb64db50bc1f06\s\src\tools\build\src\tools\gcc.jam' file. boost/1.83.0: WARN: replace_in_file didn't find pattern 'local no-threading = android beos haiku sgi darwin vxworks ;' in 'C:\Users\haowenl\.conan2\p\boostb64db50bc1f06\s\src\tools\build\src\tools\gcc.jam' file. boost/1.83.0: WARN: replace_in_file didn't find pattern 'config.log
``` ...failed updating 1 target... ...failed updating 1 target... ...failed updating 1 target... ...failed updating 1 target... ...failed updating 1 target... ...failed updating 1 target... ...failed updating 1 target... ...failed updating 1 target... ...failed updating 1 target... ...failed updating 1 target... ...skipped