******************************************************************************** conan test conan-center-index/recipes/concurrencpp/all/test_package/conanfile.py concurrencpp/0.1.4@#69c29addf79cfeae288b5ccce754dc48 -pr /home/conan/w/prod/BuildSingleReference/33643/dfd99047-854f-4fa8-ad4a-2699a2c0a07c/profile_linux_12_libcpp_clang_release_64.concurrencpp-shared-False.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=clang compiler.libcxx=libc++ compiler.version=12 os=Linux [options] concurrencpp:shared=False [build_requires] [env] concurrencpp/0.1.4 (test package): Installing package Requirements concurrencpp/0.1.4 from local cache - Cache Packages concurrencpp/0.1.4:28d0bbd713852d5aeb2f9ba3fe22e5f3f11773a5 - Cache Installing (downloading, building) binaries... concurrencpp/0.1.4: Already installed! concurrencpp/0.1.4 (test package): Generator cmake_find_package_multi created concurrencpp-config-version.cmake concurrencpp/0.1.4 (test package): Generator cmake_find_package_multi created concurrencpp-config.cmake concurrencpp/0.1.4 (test package): Generator cmake_find_package_multi created concurrencppTargets.cmake concurrencpp/0.1.4 (test package): Generator cmake_find_package_multi created concurrencppTarget-release.cmake concurrencpp/0.1.4 (test package): Generator cmake created conanbuildinfo.cmake concurrencpp/0.1.4 (test package): Generator txt created conanbuildinfo.txt concurrencpp/0.1.4 (test package): Aggregating env generators concurrencpp/0.1.4 (test package): Generated conaninfo.txt concurrencpp/0.1.4 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/concurrencpp/all/test_package/build/c4af115864ebb3f9ef7cf87cc861e2e845fa4039/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 concurrencpp/0.1.4 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/concurrencpp/all/test_package/build/c4af115864ebb3f9ef7cf87cc861e2e845fa4039' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="12" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/concurrencpp/all/test_package/build/c4af115864ebb3f9ef7cf87cc861e2e845fa4039/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_PREFIX_PATH="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/concurrencpp/all/test_package/build/c4af115864ebb3f9ef7cf87cc861e2e845fa4039" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/concurrencpp/all/test_package/build/c4af115864ebb3f9ef7cf87cc861e2e845fa4039" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/concurrencpp/all/test_package' ----------------- -- The C compiler identification is Clang 12.0.0 -- The CXX compiler identification is Clang 12.0.0 -- Check for working C compiler: /usr/local/bin/clang -- Check for working C compiler: /usr/local/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/local/bin/clang++ -- Check for working CXX compiler: /usr/local/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library concurrencpp found /home/conan/w/prod/BuildSingleReference/.conan/data/concurrencpp/0.1.4/_/_/package/28d0bbd713852d5aeb2f9ba3fe22e5f3f11773a5/lib/libconcurrencpp.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler Clang>=8, checking major version 12 -- Conan: Checking correct version: 12 -- Conan: C++ stdlib: libc++ -- Library concurrencpp found /home/conan/w/prod/BuildSingleReference/.conan/data/concurrencpp/0.1.4/_/_/package/28d0bbd713852d5aeb2f9ba3fe22e5f3f11773a5/lib/libconcurrencpp.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/concurrencpp/0.1.4/_/_/package/28d0bbd713852d5aeb2f9ba3fe22e5f3f11773a5/lib/libconcurrencpp.a -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/concurrencpp/all/test_package/build/c4af115864ebb3f9ef7cf87cc861e2e845fa4039 ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/concurrencpp/all/test_package/build/c4af115864ebb3f9ef7cf87cc861e2e845fa4039' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable bin/test_package CMakeFiles/test_package.dir/build.make:84: recipe for target 'bin/test_package' failed CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/test_package.dir/all' failed Makefile:83: recipe for target 'all' 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 ld: error: undefined symbol: pthread_create >>> referenced by thread_executor.cpp >>> thread_executor.cpp.o:(concurrencpp::thread_executor::enqueue_impl(std::__1::unique_lock&, concurrencpp::task&)) in archive /home/conan/w/prod/BuildSingleReference/.conan/data/concurrencpp/0.1.4/_/_/package/28d0bbd713852d5aeb2f9ba3fe22e5f3f11773a5/lib/libconcurrencpp.a >>> referenced by thread_pool_executor.cpp >>> thread_pool_executor.cpp.o:(concurrencpp::details::thread_pool_worker::ensure_worker_active(bool, std::__1::unique_lock&)) in archive /home/conan/w/prod/BuildSingleReference/.conan/data/concurrencpp/0.1.4/_/_/package/28d0bbd713852d5aeb2f9ba3fe22e5f3f11773a5/lib/libconcurrencpp.a >>> referenced by worker_thread_executor.cpp >>> worker_thread_executor.cpp.o:(concurrencpp::worker_thread_executor::worker_thread_executor()) in archive /home/conan/w/prod/BuildSingleReference/.conan/data/concurrencpp/0.1.4/_/_/package/28d0bbd713852d5aeb2f9ba3fe22e5f3f11773a5/lib/libconcurrencpp.a >>> referenced 1 more times ld: error: undefined symbol: pthread_setspecific >>> referenced by thread_executor.cpp >>> thread_executor.cpp.o:(void* std::__1::__thread_proxy >, concurrencpp::details::thread::thread&, concurrencpp::task&)::$_0>(std::__1::basic_string, std::__1::allocator >, concurrencpp::thread_executor::enqueue_impl(std::__1::unique_lock&, concurrencpp::task&)::$_0&&)::'lambda'()> >(void*)) in archive /home/conan/w/prod/BuildSingleReference/.conan/data/concurrencpp/0.1.4/_/_/package/28d0bbd713852d5aeb2f9ba3fe22e5f3f11773a5/lib/libconcurrencpp.a >>> referenced by thread_pool_executor.cpp >>> thread_pool_executor.cpp.o:(void* std::__1::__thread_proxy >, concurrencpp::details::thread::thread&)::$_0>(std::__1::basic_string, std::__1::allocator >, concurrencpp::details::thread_pool_worker::ensure_worker_active(bool, std::__1::unique_lock&)::$_0&&)::'lambda'()> >(void*)) in archive /home/conan/w/prod/BuildSingleReference/.conan/data/concurrencpp/0.1.4/_/_/package/28d0bbd713852d5aeb2f9ba3fe22e5f3f11773a5/lib/libconcurrencpp.a >>> referenced by worker_thread_executor.cpp >>> worker_thread_executor.cpp.o:(void* std::__1::__thread_proxy >, concurrencpp::details::thread::thread(std::__1::basic_string, std::__1::allocator >, concurrencpp::worker_thread_executor::worker_thread_executor()::$_0&&)::'lambda'()> >(void*)) in archive /home/conan/w/prod/BuildSingleReference/.conan/data/concurrencpp/0.1.4/_/_/package/28d0bbd713852d5aeb2f9ba3fe22e5f3f11773a5/lib/libconcurrencpp.a >>> referenced 1 more times ld: error: undefined symbol: pthread_setname_np >>> referenced by thread.cpp >>> thread.cpp.o:(concurrencpp::details::thread::set_name(std::__1::basic_string_view >)) in archive /home/conan/w/prod/BuildSingleReference/.conan/data/concurrencpp/0.1.4/_/_/package/28d0bbd713852d5aeb2f9ba3fe22e5f3f11773a5/lib/libconcurrencpp.a clang-12: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [bin/test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ERROR: concurrencpp/0.1.4 (test package): Error in build() method, line 11 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/concurrencpp/all/test_package/build/c4af115864ebb3f9ef7cf87cc861e2e845fa4039' '--' '-j3'