******************************************************************************** conan test conan-center-index/recipes/nsync/all/test_package/conanfile.py nsync/1.23.0@ --profile=/home/conan/w/BuildSingleReference/20627/74dc26a1-be08-4da3-9667-79dc00ab1e2b/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++ compiler.version=7 os=Linux os_build=Linux [options] [build_requires] [env] nsync/1.23.0 (test package): Installing package Requirements nsync/1.23.0 from local cache - Cache Packages nsync/1.23.0:4e54a2085b064ce4acf33d77f8e46b7ddb19327e - Cache Installing (downloading, building) binaries... nsync/1.23.0: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK nsync/1.23.0 (test package): Generator cmake created conanbuildinfo.cmake nsync/1.23.0 (test package): Generator cmake_find_package created Findnsync.cmake nsync/1.23.0 (test package): Generator txt created conanbuildinfo.txt nsync/1.23.0 (test package): Generated conaninfo.txt nsync/1.23.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/nsync/all/test_package/build/8fa738d5aefe2f5fa5cae7e8b7c446af3b18eaa4/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 nsync/1.23.0 (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/nsync/all/test_package/build/8fa738d5aefe2f5fa5cae7e8b7c446af3b18eaa4' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/conan-center-index/recipes/nsync/all/test_package/build/8fa738d5aefe2f5fa5cae7e8b7c446af3b18eaa4/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_MODULE_PATH="/home/conan/w/BuildSingleReference/conan-center-index/recipes/nsync/all/test_package/build/8fa738d5aefe2f5fa5cae7e8b7c446af3b18eaa4" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/BuildSingleReference/conan-center-index/recipes/nsync/all/test_package' ----------------- -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.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 7 -- Conan: Checking correct version: 7 -- Conan: C++ stdlib: libstdc++ -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/nsync/all/test_package/build/8fa738d5aefe2f5fa5cae7e8b7c446af3b18eaa4 ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/nsync/all/test_package/build/8fa738d5aefe2f5fa5cae7e8b7c446af3b18eaa4' '--' '-j3' ----------------- Scanning dependencies of target example_cpp Scanning dependencies of target example_c [ 50%] Building C object CMakeFiles/example_c.dir/example_c.c.o [ 50%] Building CXX object CMakeFiles/example_cpp.dir/example_cpp.cpp.o [ 75%] Linking C executable bin/example_c CMakeFiles/example_c.dir/build.make:102: recipe for target 'bin/example_c' failed CMakeFiles/Makefile2:123: recipe for target 'CMakeFiles/example_c.dir/all' failed [100%] Linking CXX executable bin/example_cpp CMakeFiles/example_cpp.dir/build.make:102: recipe for target 'bin/example_cpp' failed CMakeFiles/Makefile2:96: recipe for target 'CMakeFiles/example_cpp.dir/all' failed Makefile:102: 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 /home/conan/w/BuildSingleReference/.conan/data/nsync/1.23.0/_/_/package/4e54a2085b064ce4acf33d77f8e46b7ddb19327e/lib/libnsync.a(per_thread_waiter.c.o): In function `do_once': /home/conan/w/BuildSingleReference/.conan/data/nsync/1.23.0/_/_/build/4e54a2085b064ce4acf33d77f8e46b7ddb19327e/source_subfolder/platform/posix/src/per_thread_waiter.c:29: undefined reference to `pthread_key_create' /home/conan/w/BuildSingleReference/.conan/data/nsync/1.23.0/_/_/package/4e54a2085b064ce4acf33d77f8e46b7ddb19327e/lib/libnsync.a(per_thread_waiter.c.o): In function `nsync_per_thread_waiter_': /home/conan/w/BuildSingleReference/.conan/data/nsync/1.23.0/_/_/build/4e54a2085b064ce4acf33d77f8e46b7ddb19327e/source_subfolder/platform/posix/src/per_thread_waiter.c:40: undefined reference to `pthread_getspecific' /home/conan/w/BuildSingleReference/.conan/data/nsync/1.23.0/_/_/package/4e54a2085b064ce4acf33d77f8e46b7ddb19327e/lib/libnsync.a(per_thread_waiter.c.o): In function `nsync_set_per_thread_waiter_': /home/conan/w/BuildSingleReference/.conan/data/nsync/1.23.0/_/_/build/4e54a2085b064ce4acf33d77f8e46b7ddb19327e/source_subfolder/platform/posix/src/per_thread_waiter.c:45: undefined reference to `pthread_setspecific' collect2: error: ld returned 1 exit status make[2]: *** [bin/example_c] Error 1 make[1]: *** [CMakeFiles/example_c.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /home/conan/w/BuildSingleReference/.conan/data/nsync/1.23.0/_/_/package/4e54a2085b064ce4acf33d77f8e46b7ddb19327e/lib/libnsync_cpp.a(per_thread_waiter.c.o): In function `nsync::do_once(std::atomic*, void (*)(void*))': /home/conan/w/BuildSingleReference/.conan/data/nsync/1.23.0/_/_/build/4e54a2085b064ce4acf33d77f8e46b7ddb19327e/build_subfolder/cpp/platform/posix/src/per_thread_waiter.c:29: undefined reference to `pthread_key_create' /home/conan/w/BuildSingleReference/.conan/data/nsync/1.23.0/_/_/package/4e54a2085b064ce4acf33d77f8e46b7ddb19327e/lib/libnsync_cpp.a(per_thread_waiter.c.o): In function `nsync::nsync_per_thread_waiter_(void (*)(void*))': /home/conan/w/BuildSingleReference/.conan/data/nsync/1.23.0/_/_/build/4e54a2085b064ce4acf33d77f8e46b7ddb19327e/build_subfolder/cpp/platform/posix/src/per_thread_waiter.c:40: undefined reference to `pthread_getspecific' /home/conan/w/BuildSingleReference/.conan/data/nsync/1.23.0/_/_/package/4e54a2085b064ce4acf33d77f8e46b7ddb19327e/lib/libnsync_cpp.a(per_thread_waiter.c.o): In function `nsync::nsync_set_per_thread_waiter_(void*, void (*)(void*))': /home/conan/w/BuildSingleReference/.conan/data/nsync/1.23.0/_/_/build/4e54a2085b064ce4acf33d77f8e46b7ddb19327e/build_subfolder/cpp/platform/posix/src/per_thread_waiter.c:45: undefined reference to `pthread_setspecific' collect2: error: ld returned 1 exit status make[2]: *** [bin/example_cpp] Error 1 make[1]: *** [CMakeFiles/example_cpp.dir/all] Error 2 make: *** [all] Error 2 ERROR: nsync/1.23.0 (test package): Error in build() method, line 13 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/nsync/all/test_package/build/8fa738d5aefe2f5fa5cae7e8b7c446af3b18eaa4' '--' '-j3'