Conan Issues
The purpose of this issue is to document unwanted behaviors we get because of conan. The idea is that by documenting the errors we get from conan in our system environment, and if available what each of us did to work it out, would save us a lot of time when encountering them in the future.
- Ubuntu 20.04, conan 1.54.0, gcc 11.1 gave me this error:
arrow/8.0.1: ERROR: Package 'efe379ec2ed95075397983efbc5b75b6903b6bab' build failed
arrow/8.0.1: WARN: Build folder /home/nikos/.conan/data/arrow/8.0.1/_/_/build/efe379ec2ed95075397983efbc5b75b6903b6bab/build/Release
ERROR: arrow/8.0.1: Error in build() method, line 525
cmake.configure(build_script_folder=os.path.join(self.source_folder, "cpp"))
ConanException: Error 1 while executing cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/nikos/.conan/data/arrow/8.0.1/_/_/build/efe379ec2ed95075397983efbc5b75b6903b6bab/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/nikos/.conan/data/arrow/8.0.1/_/_/package/efe379ec2ed95075397983efbc5b75b6903b6bab" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/nikos/.conan/data/arrow/8.0.1/_/_/build/efe379ec2ed95075397983efbc5b75b6903b6bab/src/cpp"
This can be solved for now, by using a different version of arrow like 2.0.0
- manjaro, conan version 1.57.0, gcc 12: Conan fails building boost/1.76.0
Can be probably fixed by bumping boost to 1.78.0
-
Arch linux, conan version 1.54.0, gcc 12: Identical error as above.
-
MacOS M1, conan version 1.57.0, apple-clang 14: Surprisingly, conan succeds but then we get a building error
Undefined symbols for architecture arm64:
"sibyll::rndm_interface()", referenced from:
_s_rndm_ in sibyll2.3d.cpp.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libSibyll.dylib] Error 1
make[1]: *** [modules/sibyll/CMakeFiles/Sibyll.dir/all] Error 2
make: *** [all] Error 2
Please feel free to comment your errors and if you have managed to fix them, the solution.