******************************************************************************** conan test cci-a7d0be8a/recipes/llvm/all/test_package/conanfile.py llvm/13.0.1@#51f0d5a670de381b9f66b91be0a2c174 -pr /home/conan/w/prod/BuildSingleReference/233989/c1e7f797-155c-4ce5-84ac-715cb4939f62/profile_linux_10_libstdcpp11_gcc_release_64.llvm-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=10 os=Linux [options] llvm:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True Version ranges solved Version range '>1.2.0 <2.0.0' required by 'llvm/13.0.1' resolved to 'zlib/1.2.13' in local cache Version range '>=3.21.3 <4.0.0' required by 'llvm/13.0.1 (test package)' resolved to 'cmake/3.26.3' in local cache Version range '>=1.10.0 <2.0.0' required by 'llvm/13.0.1 (test package)' resolved to 'ninja/1.11.1' in local cache llvm/13.0.1 (test package): Installing package Requirements llvm/13.0.1 from local cache - Cache zlib/1.2.13 from 'conan-center' - Cache Packages llvm/13.0.1:420c0f0ab43ce6cd2f0608c31627643b90514d60 - Cache zlib/1.2.13:19729b9559f3ae196cad45cb2b97468ccb75dcd1 - Cache Build requirements cmake/3.26.3 from 'conan-center' - Cache ninja/1.11.1 from 'conan-center' - Cache Build requirements packages cmake/3.26.3:4db1be536558d833e52e862fd84d64d75c2b3656 - Cache ninja/1.11.1:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Cache Installing (downloading, building) binaries... cmake/3.26.3: Already installed! cmake/3.26.3: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/cmake/3.26.3/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin ninja/1.11.1: Already installed! zlib/1.2.13: Already installed! llvm/13.0.1: Already installed! llvm/13.0.1 (test package): Applying build-requirement: cmake/3.26.3 llvm/13.0.1 (test package): Applying build-requirement: ninja/1.11.1 llvm/13.0.1 (test package): Generator txt created conanbuildinfo.txt llvm/13.0.1 (test package): Calling generate() llvm/13.0.1 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' llvm/13.0.1 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod/BuildSingleReference/cci-a7d0be8a/recipes/llvm/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' llvm/13.0.1 (test package): Aggregating env generators llvm/13.0.1 (test package): Generated conaninfo.txt llvm/13.0.1 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-a7d0be8a/recipes/llvm/all/test_package/build/Release/generators/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK llvm/13.0.1 (test package): Calling build() llvm/13.0.1 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior llvm/13.0.1 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior ERROR: llvm/13.0.1 (test package): Error in build() method, line 41 'llvm_build_llvm_dylib': self.dependencies[self.tested_reference_str].options.llvm_build_llvm_dylib, AttributeError: 'NoneType' object has no attribute 'dependencies' ******************************************************************************** conan test cci-a7d0be8a/recipes/llvm/all/test_v1_package/conanfile.py llvm/13.0.1@#51f0d5a670de381b9f66b91be0a2c174 -pr /home/conan/w/prod/BuildSingleReference/233989/c1e7f797-155c-4ce5-84ac-715cb4939f62/profile_linux_10_libstdcpp11_gcc_release_64.llvm-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=10 os=Linux [options] llvm:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True Version ranges solved Version range '>1.2.0 <2.0.0' required by 'llvm/13.0.1' resolved to 'zlib/1.2.13' in local cache Version range '>=3.21.3 <4.0.0' required by 'llvm/13.0.1 (test package)' resolved to 'cmake/3.26.3' in local cache Version range '>=1.10.0 <2.0.0' required by 'llvm/13.0.1 (test package)' resolved to 'ninja/1.11.1' in local cache llvm/13.0.1 (test package): Installing package Requirements llvm/13.0.1 from local cache - Cache zlib/1.2.13 from 'conan-center' - Cache Packages llvm/13.0.1:420c0f0ab43ce6cd2f0608c31627643b90514d60 - Cache zlib/1.2.13:19729b9559f3ae196cad45cb2b97468ccb75dcd1 - Cache Build requirements cmake/3.26.3 from 'conan-center' - Cache ninja/1.11.1 from 'conan-center' - Cache Build requirements packages cmake/3.26.3:4db1be536558d833e52e862fd84d64d75c2b3656 - Cache ninja/1.11.1:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Cache Installing (downloading, building) binaries... cmake/3.26.3: Already installed! cmake/3.26.3: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/cmake/3.26.3/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin ninja/1.11.1: Already installed! zlib/1.2.13: Already installed! llvm/13.0.1: Already installed! llvm/13.0.1 (test package): Applying build-requirement: cmake/3.26.3 llvm/13.0.1 (test package): Applying build-requirement: ninja/1.11.1 llvm/13.0.1 (test package): Generator cmake created conanbuildinfo.cmake llvm/13.0.1 (test package): Generator txt created conanbuildinfo.txt llvm/13.0.1 (test package): Aggregating env generators llvm/13.0.1 (test package): Generated conaninfo.txt llvm/13.0.1 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-a7d0be8a/recipes/llvm/all/test_v1_package/build/3185c3212774b845160802224c8c81a1dbc53f1f/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK llvm/13.0.1 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/cci-a7d0be8a/recipes/llvm/all/test_v1_package/build/3185c3212774b845160802224c8c81a1dbc53f1f' && cmake -G "Ninja" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="10" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/cci-a7d0be8a/recipes/llvm/all/test_v1_package/build/3185c3212774b845160802224c8c81a1dbc53f1f/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev -DCMAKE_CXX_STANDARD="14" '/home/conan/w/prod/BuildSingleReference/cci-a7d0be8a/recipes/llvm/all/test_v1_package' ----------------- -- The C compiler identification is GNU 10.3.0 -- The CXX compiler identification is GNU 10.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 10 -- Conan: Checking correct version: 10 -- Conan: C++ stdlib: libstdc++11 -- Configuring done (0.6s) -- Generating done (0.0s) -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-a7d0be8a/recipes/llvm/all/test_v1_package/build/3185c3212774b845160802224c8c81a1dbc53f1f ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/cci-a7d0be8a/recipes/llvm/all/test_v1_package/build/3185c3212774b845160802224c8c81a1dbc53f1f' '--' '-j3' ----------------- [1/2] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [2/2] Linking CXX executable bin/test_package FAILED: bin/test_package : && /usr/bin/g++ -m64 -O3 -DNDEBUG -rdynamic CMakeFiles/test_package.dir/test_package.cpp.o -o bin/test_package -L/home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib -L/home/conan/w/prod/BuildSingleReference/.conan/data/zlib/1.2.13/_/_/package/19729b9559f3ae196cad45cb2b97468ccb75dcd1/lib -Wl,-rpath,/home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib:/home/conan/w/prod/BuildSingleReference/.conan/data/zlib/1.2.13/_/_/package/19729b9559f3ae196cad45cb2b97468ccb75dcd1/lib -lLLVMSupport && : /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib/libLLVMSupport.a(Process.cpp.o): in function `llvm::sys::Process::SafelyCloseFileDescriptor(int)': Process.cpp:(.text._ZN4llvm3sys7Process25SafelyCloseFileDescriptorEi+0x98): undefined reference to `pthread_sigmask' /usr/bin/ld: Process.cpp:(.text._ZN4llvm3sys7Process25SafelyCloseFileDescriptorEi+0xbe): undefined reference to `pthread_sigmask' /usr/bin/ld: Process.cpp:(.text._ZN4llvm3sys7Process25SafelyCloseFileDescriptorEi+0xe2): undefined reference to `pthread_sigmask' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib/libLLVMSupport.a(Threading.cpp.o): in function `llvm::llvm_execute_on_thread_impl(void* (*)(void*), void*, llvm::Optional)': Threading.cpp:(.text._ZN4llvm27llvm_execute_on_thread_implEPFPvS0_ES0_NS_8OptionalIjEE+0x52): undefined reference to `pthread_create' /usr/bin/ld: Threading.cpp:(.text._ZN4llvm27llvm_execute_on_thread_implEPFPvS0_ES0_NS_8OptionalIjEE+0x96): undefined reference to `pthread_attr_setstacksize' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib/libLLVMSupport.a(Threading.cpp.o): in function `llvm::llvm_thread_detach_impl(unsigned long)': Threading.cpp:(.text._ZN4llvm23llvm_thread_detach_implEm+0x9): undefined reference to `pthread_detach' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib/libLLVMSupport.a(Threading.cpp.o): in function `llvm::llvm_thread_join_impl(unsigned long)': Threading.cpp:(.text._ZN4llvm21llvm_thread_join_implEm+0xb): undefined reference to `pthread_join' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib/libLLVMSupport.a(Threading.cpp.o): in function `llvm::set_thread_name(llvm::Twine const&)': Threading.cpp:(.text._ZN4llvm15set_thread_nameERKNS_5TwineE+0x51): undefined reference to `pthread_setname_np' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib/libLLVMSupport.a(Threading.cpp.o): in function `llvm::get_thread_name(llvm::SmallVectorImpl&)': Threading.cpp:(.text._ZN4llvm15get_thread_nameERNS_15SmallVectorImplIcEE+0x43): undefined reference to `pthread_getname_np' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib/libLLVMSupport.a(ThreadLocal.cpp.o): in function `llvm::sys::ThreadLocalImpl::~ThreadLocalImpl() [clone .localalias]': ThreadLocal.cpp:(.text._ZN4llvm3sys15ThreadLocalImplD2Ev+0x16): undefined reference to `pthread_key_delete' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib/libLLVMSupport.a(ThreadLocal.cpp.o): in function `llvm::sys::ThreadLocalImpl::~ThreadLocalImpl() [clone .localalias]': ThreadLocal.cpp:(.text._ZN4llvm3sys15ThreadLocalImplD0Ev+0x1a): undefined reference to `pthread_key_delete' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib/libLLVMSupport.a(ThreadLocal.cpp.o): in function `llvm::sys::ThreadLocalImpl::ThreadLocalImpl()': ThreadLocal.cpp:(.text._ZN4llvm3sys15ThreadLocalImplC2Ev+0x24): undefined reference to `pthread_key_create' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib/libLLVMSupport.a(ThreadLocal.cpp.o): in function `llvm::sys::ThreadLocalImpl::setInstance(void const*)': ThreadLocal.cpp:(.text._ZN4llvm3sys15ThreadLocalImpl11setInstanceEPKv+0x8): undefined reference to `pthread_setspecific' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib/libLLVMSupport.a(ThreadLocal.cpp.o): in function `llvm::sys::ThreadLocalImpl::getInstance()': ThreadLocal.cpp:(.text._ZN4llvm3sys15ThreadLocalImpl11getInstanceEv+0x8): undefined reference to `pthread_getspecific' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/llvm/13.0.1/_/_/package/420c0f0ab43ce6cd2f0608c31627643b90514d60/lib/libLLVMSupport.a(ThreadLocal.cpp.o): in function `llvm::sys::ThreadLocalImpl::removeInstance()': ThreadLocal.cpp:(.text._ZN4llvm3sys15ThreadLocalImpl14removeInstanceEv+0xa): undefined reference to `pthread_setspecific' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR ERROR: llvm/13.0.1 (test package): Error in build() method, line 32 cmake.build() ConanException: Error 1 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/cci-a7d0be8a/recipes/llvm/all/test_v1_package/build/3185c3212774b845160802224c8c81a1dbc53f1f' '--' '-j3'