Closed tuduongquyet closed 1 year ago
Having the same issue on macOS 12.6 [M1], here's a log snippet:
boost/1.80.0: Package '00b6ccd4eb3da4809c821dd789f355384a7275a1' built
boost/1.80.0: Build folder /Users/denismakogon/.conan/data/boost/1.80.0/_/_/build/00b6ccd4eb3da4809c821dd789f355384a7275a1
boost/1.80.0: Generated conaninfo.txt
boost/1.80.0: Generated conanbuildinfo.txt
boost/1.80.0: Generating the package
boost/1.80.0: Package folder /Users/denismakogon/.conan/data/boost/1.80.0/_/_/package/00b6ccd4eb3da4809c821dd789f355384a7275a1
boost/1.80.0: Calling package()
boost/1.80.0 package(): Packaged 1 '.txt' file: LICENSE_1_0.txt
boost/1.80.0 package(): Packaged 14750 '.hpp' files
boost/1.80.0 package(): Packaged 148 '.h' files
boost/1.80.0 package(): Packaged 17 files
boost/1.80.0 package(): Packaged 277 '.ipp' files
boost/1.80.0 package(): Packaged 2 '.inc' files: strict_cpp_re.inc, cpp_re.inc
boost/1.80.0 package(): Packaged 27 '.dylib' files
boost/1.80.0 package(): Packaged 2 '.a' files: libboost_test_exec_monitor.a, libboost_exception.a
boost/1.80.0: Package '00b6ccd4eb3da4809c821dd789f355384a7275a1' created
boost/1.80.0: Created package revision 1c5ab08eba2d0d4d8416cf4103b6b283
boost/1.80.0: WARN: Boost component 'fiber' is missing libraries. Try building boost with '-o boost:without_fiber'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'fiber_numa' is missing libraries. Try building boost with '-o boost:without_fiber_numa'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'json' is missing libraries. Try building boost with '-o boost:without_json'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'math_c99' is missing libraries. Try building boost with '-o boost:without_math_c99'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'math_c99f' is missing libraries. Try building boost with '-o boost:without_math_c99f'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'math_c99l' is missing libraries. Try building boost with '-o boost:without_math_c99l'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'math_tr1' is missing libraries. Try building boost with '-o boost:without_math_tr1'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'math_tr1f' is missing libraries. Try building boost with '-o boost:without_math_tr1f'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'math_tr1l' is missing libraries. Try building boost with '-o boost:without_math_tr1l'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'nowide' is missing libraries. Try building boost with '-o boost:without_nowide'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'stacktrace_backtrace' is missing libraries. Try building boost with '-o boost:without_stacktrace_backtrace'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'wave' is missing libraries. Try building boost with '-o boost:without_wave'. (Option is not guaranteed to exist)
ERROR: boost/1.80.0: Error in package_info() method, line 1681
raise ConanException(f"These libraries were expected to be built, but were not built: {non_built}")
ConanException: These libraries were expected to be built, but were not built: {'boost_wave', 'boost_json', 'boost_math_tr1f', 'boost_math_c99f', 'boost_math_tr1', 'boost_fiber_numa', 'boost_math_c99', 'boost_math_c99l', 'boost_fiber', 'boost_nowide', 'boost_math_tr1l', 'boost_stacktrace_backtrace'}
profile:
[settings]
os=Macos
os_build=Macos
arch=armv8
arch_build=armv8
#compiler=apple-clang
compiler=clang
compiler.version=14
compiler.libcxx=libc++
build_type=Release
[options]
[build_requires]
[env]
CC=/usr/bin/clang
CXX=/usr/bin/clang++
I'm having a similar issue on oraclelinux7.9
.
Are there any workarounds?
boost/1.80.0: WARN: Boost component 'math_c99' is missing libraries. Try building boost with '-o boost:without_math_c99'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'math_c99f' is missing libraries. Try building boost with '-o boost:without_math_c99f'. (Option is not guaranteed to exist)
boost/1.80.0:
WARN: Boost component 'math_c99l' is missing libraries. Try building boost with '-o boost:without_math_c99l'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'math_tr1' is missing libraries. Try building boost with '-o boost:without_math_tr1'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'math_tr1f' is missing libraries. Try building boost with '-o boost:without_math_tr1f'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'math_tr1l' is missing libraries. Try building boost with '-o boost:without_math_tr1l'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'nowide' is missing libraries. Try building boost with '-o boost:without_nowide'. (Option is not guaranteed to exist)
boost/1.80.0: WARN: Boost component 'wave' is missing libraries. Try building boost with '-o boost:without_wave'. (Option is not guaranteed to exist)
ERROR: boost/1.80.0: Error in package_info() method, line 1675
raise ConanException(f"These libraries were expected to be built, but were not built: {non_built}")
ConanException: These libraries were expected to be built, but were not built: {'boost_math_c99l', 'boost_math_tr1f', 'boost_math_tr1', 'boost_math_c99f', 'boost_wave', 'boost_nowide', 'boost_math_c99', 'boost_math_tr1l'}
I was able to get my consumer to build by disabling with_stacktrace_backtrace
and encountering an issue where a macro was generating function names like append_vNone
instead of append_v3
because BOOST_FILESYSTEM_VERSION was not set for some reason...
My workaround:
conan create . -o boost:with_stacktrace_backtrace=False -o boost:filesystem_version=3
I was able to get my consumer to build by disabling
with_stacktrace_backtrace
and encountering an issue where a macro was generating function names likeappend_vNone
instead ofappend_v3
because BOOST_FILESYSTEM_VERSION was not set for some reason...My workaround:
conan create . -o boost:with_stacktrace_backtrace=False -o boost:filesystem_version=3
for me the issue was math
, which appears required by some other packages that get installed... therefore I can not help but build this guy...
Description
conanfile.txt
[generators] CMakeDeps CMakeToolchain
[options] *:shared=True
boost/1.80.0: Applying build-requirement: b2/4.9.2 boost/1.80.0: Building your package in /Users/apollo/.conan/data/boost/1.80.0///build/0f99e12f7bffdc90d47afbcf580e534265758d01 boost/1.80.0: Generator txt created conanbuildinfo.txt boost/1.80.0: Aggregating env generators boost/1.80.0: Calling build() boost/1.80.0: WARN: replace_infile didn't find pattern 'local generic-os = [ set.difference $(all-os) : aix darwin vxworks solaris osf hpux ] ;' in '/Users/apollo/.conan/data/boost/1.80.0//_/source/source_subfolder/tools/build/src/tools/gcc.jam' file. boost/1.80.0: WARN: replace_infile didn't find pattern 'local no-threading = android beos haiku sgi darwin vxworks ;' in '/Users/apollo/.conan/data/boost/1.80.0//_/source/source_subfolder/tools/build/src/tools/gcc.jam' file. boost/1.80.0: WARN: replace_infile didn't find pattern '@numa' in '/Users/apollo/.conan/data/boost/1.80.0/ /_/source/sourcesubfolder/libs/fiber/build/Jamfile.v2' file.
boost/1.80.0: WARN: Patching user-config.jam
boost/1.80.0: WARN:
using zlib : 1.2.12 : "/Users/apollo/.conan/data/zlib/1.2.12/ //package/8a659aeafbc64e1549799b2ee77375f43ddc5111/include" "/Users/apollo/.conan/data/zlib/1.2.12/ //package/8a659aeafbc64e1549799b2ee77375f43ddc5111/lib" z ;
using bzip2 : 1.0.8 : "/Users/apollo/.conan/data/bzip2/1.0.8/ //package/3f899504bee1056fc088ed4ecf78a8aee9dee353/include" "/Users/apollo/.conan/data/bzip2/1.0.8/ /_/package/3f899504bee1056fc088ed4ecf78a8aee9dee353/lib" bz2 ;
using "clang-darwin" : : /Library/Developer/CommandLineTools/usr/bin/clang++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 :