conan-center-index: [package] boost/1.75.0: Build error for iOS on Mac
I guess this is similar to my other issue for Android https://github.com/conan-io/conan-center-index/issues/3890, which is solved in the meantime. When building for iOS on Mac with optionshared=Falseonly, we get this error:
ERROR:
ConanException: boost/1.75.0 package_info(): Package require 'libiconv' not used in components requires
CMake Error at /Users/zoufala/sandbox/svs-biocapture/bcm/cmake/ProjConan.cmake:179 (message):
command 'conan install' failed
My profile:
include(default)
[settings]
arch=armv8
compiler=clang
compiler.version=12.0
compiler.libcxx=libc++
os=iOS
os.version=9.0
[build_requires]
darwin-toolchain/1.0.5@theodelrieu/stable
[options]
[env]
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 35 (33 by maintainers)
the
cppstdoption should be set within the conan profile, or via command line. still, I don’t think it has anything to do with the error generated. the exception goes from the conan itself: https://github.com/conan-io/conan/blob/808b4635f0915e93a6d5c2794c1c73ca9b606bd1/conans/model/build_info.py#L282 that’s hard to diagnose, I gonna try to reproduce it locally. from that I understand, some conan component referenced requirement which wasn’t required by the conanfile itself. this indicated error in the recipe logic. IMO it shouldn’t happen regardless ofcppstdvalue.