******************************************************************************** conan test conan-center-index/recipes/tinycthread/all/test_package/conanfile.py tinycthread/cci.20161001@#3f85ae3369540d83468cbdc1360ef08c -pr /home/conan/w/prod/BuildSingleReference/41006/a0f2db6a-cef4-477a-a023-2a1c6ecb4fe1/profile_linux_5_libstdcpp11_gcc_debug_64..txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] [build_requires] [env] tinycthread/cci.20161001 (test package): Installing package Requirements tinycthread/cci.20161001 from local cache - Cache Packages tinycthread/cci.20161001:15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5 - Cache Installing (downloading, building) binaries... tinycthread/cci.20161001: Already installed! tinycthread/cci.20161001 (test package): Generator cmake_find_package_multi created tinycthread-config-version.cmake tinycthread/cci.20161001 (test package): Generator cmake_find_package_multi created tinycthread-config.cmake tinycthread/cci.20161001 (test package): Generator cmake_find_package_multi created tinycthreadTargets.cmake tinycthread/cci.20161001 (test package): Generator cmake_find_package_multi created tinycthreadTarget-debug.cmake tinycthread/cci.20161001 (test package): Generator txt created conanbuildinfo.txt tinycthread/cci.20161001 (test package): Generator cmake created conanbuildinfo.cmake tinycthread/cci.20161001 (test package): Aggregating env generators tinycthread/cci.20161001 (test package): Generated conaninfo.txt tinycthread/cci.20161001 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/tinycthread/all/test_package/build/f548c738a1bd7642902109bcccab6536800adc57/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 tinycthread/cci.20161001 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/tinycthread/all/test_package/build/f548c738a1bd7642902109bcccab6536800adc57' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="5" -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/conan-center-index/recipes/tinycthread/all/test_package/build/f548c738a1bd7642902109bcccab6536800adc57/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/tinycthread/all/test_package/build/f548c738a1bd7642902109bcccab6536800adc57" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/tinycthread/all/test_package/build/f548c738a1bd7642902109bcccab6536800adc57" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/tinycthread/all/test_package' ----------------- -- The C compiler identification is GNU 5.4.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 -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library tinycthread found /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/package/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/lib/libtinycthread.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'GNU' compiler -- Conan: Compiler GCC>=5, checking major version 5 -- Conan: Checking correct version: 5 -- Conan: C++ stdlib: libstdc++11 -- Library tinycthread found /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/package/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/lib/libtinycthread.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/package/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/lib/libtinycthread.a -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/tinycthread/all/test_package/build/f548c738a1bd7642902109bcccab6536800adc57 ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/tinycthread/all/test_package/build/f548c738a1bd7642902109bcccab6536800adc57' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable bin/test_package CMakeFiles/test_package.dir/build.make:103: recipe for target 'bin/test_package' failed CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/test_package.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/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/package/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/lib/libtinycthread.a(tinycthread.c.o): In function `mtx_init': /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/build/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/source_subfolder/source/tinycthread.c:78: undefined reference to `pthread_mutexattr_init' /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/build/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/source_subfolder/source/tinycthread.c:81: undefined reference to `pthread_mutexattr_settype' /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/build/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/source_subfolder/source/tinycthread.c:84: undefined reference to `pthread_mutexattr_destroy' /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/package/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/lib/libtinycthread.a(tinycthread.c.o): In function `mtx_timedlock': /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/build/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/source_subfolder/source/tinycthread.c:180: undefined reference to `pthread_mutex_timedlock' /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/package/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/lib/libtinycthread.a(tinycthread.c.o): In function `mtx_trylock': /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/build/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/source_subfolder/source/tinycthread.c:258: undefined reference to `pthread_mutex_trylock' /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/package/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/lib/libtinycthread.a(tinycthread.c.o): In function `thrd_create': /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/build/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/source_subfolder/source/tinycthread.c:607: undefined reference to `pthread_create' /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/package/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/lib/libtinycthread.a(tinycthread.c.o): In function `thrd_detach': /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/build/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/source_subfolder/source/tinycthread.c:638: undefined reference to `pthread_detach' /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/package/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/lib/libtinycthread.a(tinycthread.c.o): In function `thrd_join': /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/build/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/source_subfolder/source/tinycthread.c:688: undefined reference to `pthread_join' /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/package/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/lib/libtinycthread.a(tinycthread.c.o): In function `tss_create': /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/build/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/source_subfolder/source/tinycthread.c:760: undefined reference to `pthread_key_create' /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/package/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/lib/libtinycthread.a(tinycthread.c.o): In function `tss_delete': /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/build/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/source_subfolder/source/tinycthread.c:801: undefined reference to `pthread_key_delete' /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/package/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/lib/libtinycthread.a(tinycthread.c.o): In function `tss_get': /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/build/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/source_subfolder/source/tinycthread.c:815: undefined reference to `pthread_getspecific' /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/package/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/lib/libtinycthread.a(tinycthread.c.o): In function `tss_set': /home/conan/w/prod/BuildSingleReference/.conan/data/tinycthread/cci.20161001/_/_/build/15c6f8a55cbf8b39b86ca055629a91be1b2d3cf5/source_subfolder/source/tinycthread.c:857: undefined reference to `pthread_setspecific' collect2: error: ld returned 1 exit status make[2]: *** [bin/test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ERROR: tinycthread/cci.20161001 (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/tinycthread/all/test_package/build/f548c738a1bd7642902109bcccab6536800adc57' '--' '-j3'