******************************************************************************** conan test conan-center-index/recipes/cpp-ipc/all/test_package/conanfile.py cpp-ipc/1.1.1@ --profile=/home/conan/w/BuildSingleReference/55338/f6b90d04-a911-4e3c-96d1-8186a5e8af10/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=10 os=Linux [options] cpp-ipc:shared=False [build_requires] [env] cpp-ipc/1.1.1 (test package): Installing package Requirements cpp-ipc/1.1.1 from local cache - Cache Packages cpp-ipc/1.1.1:82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3 - Cache Installing (downloading, building) binaries... cpp-ipc/1.1.1: 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 cpp-ipc/1.1.1 (test package): Generator txt created conanbuildinfo.txt cpp-ipc/1.1.1 (test package): Generator cmake_find_package_multi created cpp-ipc-config-version.cmake cpp-ipc/1.1.1 (test package): Generator cmake_find_package_multi created cpp-ipc-config.cmake cpp-ipc/1.1.1 (test package): Generator cmake_find_package_multi created cpp-ipcTargets.cmake cpp-ipc/1.1.1 (test package): Generator cmake_find_package_multi created cpp-ipcTarget-release.cmake cpp-ipc/1.1.1 (test package): Generator cmake created conanbuildinfo.cmake cpp-ipc/1.1.1 (test package): Aggregating env generators cpp-ipc/1.1.1 (test package): Generated conaninfo.txt cpp-ipc/1.1.1 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/cpp-ipc/all/test_package/build/07fa4129b7a2d5ff7d91a266da8a888d853a0b7d/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 cpp-ipc/1.1.1 (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/cpp-ipc/all/test_package/build/07fa4129b7a2d5ff7d91a266da8a888d853a0b7d' && cmake -G "Unix Makefiles" -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++" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/conan-center-index/recipes/cpp-ipc/all/test_package/build/07fa4129b7a2d5ff7d91a266da8a888d853a0b7d/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/BuildSingleReference/conan-center-index/recipes/cpp-ipc/all/test_package/build/07fa4129b7a2d5ff7d91a266da8a888d853a0b7d" -DCMAKE_MODULE_PATH="/home/conan/w/BuildSingleReference/conan-center-index/recipes/cpp-ipc/all/test_package/build/07fa4129b7a2d5ff7d91a266da8a888d853a0b7d" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/BuildSingleReference/conan-center-index/recipes/cpp-ipc/all/test_package' ----------------- -- The CXX compiler identification is GNU 10.3.0 -- 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 targets configuration -- Library ipc found /home/conan/w/BuildSingleReference/.conan/data/cpp-ipc/1.1.1/_/_/package/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/lib/libipc.a -- 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++ -- Library ipc found /home/conan/w/BuildSingleReference/.conan/data/cpp-ipc/1.1.1/_/_/package/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/lib/libipc.a -- Found: /home/conan/w/BuildSingleReference/.conan/data/cpp-ipc/1.1.1/_/_/package/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/lib/libipc.a -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/cpp-ipc/all/test_package/build/07fa4129b7a2d5ff7d91a266da8a888d853a0b7d ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/cpp-ipc/all/test_package/build/07fa4129b7a2d5ff7d91a266da8a888d853a0b7d' '--' '-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 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 /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/cpp-ipc/1.1.1/_/_/package/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/lib/libipc.a(condition.cpp.o): in function `ipc::detail::sync::condition::open(char const*)': condition.cpp:(.text._ZN3ipc6detail4sync9condition4openEPKc[_ZN3ipc6detail4sync9condition4openEPKc]+0x1d7): undefined reference to `pthread_condattr_setpshared' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/cpp-ipc/1.1.1/_/_/package/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/lib/libipc.a(mutex.cpp.o): in function `ipc::sync::mutex::lock(unsigned long)': mutex.cpp:(.text+0x2a9): undefined reference to `pthread_mutex_timedlock' /usr/bin/ld: mutex.cpp:(.text+0x372): undefined reference to `pthread_mutex_consistent' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/cpp-ipc/1.1.1/_/_/package/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/lib/libipc.a(mutex.cpp.o): in function `ipc::sync::mutex::try_lock()': mutex.cpp:(.text+0x536): undefined reference to `pthread_mutex_timedlock' /usr/bin/ld: mutex.cpp:(.text+0x68c): undefined reference to `pthread_mutex_consistent' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/cpp-ipc/1.1.1/_/_/package/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/lib/libipc.a(mutex.cpp.o): in function `ipc::detail::sync::mutex::open(char const*)': mutex.cpp:(.text._ZN3ipc6detail4sync5mutex4openEPKc[_ZN3ipc6detail4sync5mutex4openEPKc]+0x412): undefined reference to `pthread_mutexattr_init' /usr/bin/ld: mutex.cpp:(.text._ZN3ipc6detail4sync5mutex4openEPKc[_ZN3ipc6detail4sync5mutex4openEPKc]+0x427): undefined reference to `pthread_mutexattr_setpshared' /usr/bin/ld: mutex.cpp:(.text._ZN3ipc6detail4sync5mutex4openEPKc[_ZN3ipc6detail4sync5mutex4openEPKc]+0x445): undefined reference to `pthread_mutexattr_setrobust' /usr/bin/ld: mutex.cpp:(.text._ZN3ipc6detail4sync5mutex4openEPKc[_ZN3ipc6detail4sync5mutex4openEPKc]+0x4ee): undefined reference to `pthread_mutexattr_destroy' /usr/bin/ld: mutex.cpp:(.text._ZN3ipc6detail4sync5mutex4openEPKc[_ZN3ipc6detail4sync5mutex4openEPKc]+0x61a): undefined reference to `pthread_mutexattr_destroy' /usr/bin/ld: mutex.cpp:(.text._ZN3ipc6detail4sync5mutex4openEPKc[_ZN3ipc6detail4sync5mutex4openEPKc]+0x644): undefined reference to `pthread_mutexattr_destroy' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/cpp-ipc/1.1.1/_/_/package/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/lib/libipc.a(shm_linux.cpp.o): in function `ipc::shm::release(void*)': shm_linux.cpp:(.text+0x491): undefined reference to `shm_unlink' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/cpp-ipc/1.1.1/_/_/package/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/lib/libipc.a(shm_linux.cpp.o): in function `ipc::shm::remove(void*)': shm_linux.cpp:(.text+0x571): undefined reference to `shm_unlink' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/cpp-ipc/1.1.1/_/_/package/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/lib/libipc.a(shm_linux.cpp.o): in function `ipc::shm::acquire(char const*, unsigned long, unsigned int)': shm_linux.cpp:(.text+0x6d3): undefined reference to `shm_open' /usr/bin/ld: /home/conan/w/BuildSingleReference/.conan/data/cpp-ipc/1.1.1/_/_/package/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/lib/libipc.a(shm_linux.cpp.o): in function `ipc::shm::remove(char const*)': shm_linux.cpp:(.text+0x934): undefined reference to `shm_unlink' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/test_package.dir/build.make:104: bin/test_package] Error 1 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/test_package.dir/all] Error 2 make: *** [Makefile:103: all] Error 2 ERROR: cpp-ipc/1.1.1 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/cpp-ipc/all/test_package/build/07fa4129b7a2d5ff7d91a266da8a888d853a0b7d' '--' '-j3'