******************************************************************************** conan test cci-25557cbc/recipes/log4cpp/all/test_package/conanfile.py log4cpp/1.1.4@#6d10080f5733753bf2c6354bb574fdda -pr /home/conan/w/prod-v1/bsr/64905/ceedd/profile_linux_11_libstdcpp11_gcc_release_64.log4cpp-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=11 os=Linux [options] log4cpp:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True log4cpp/1.1.4 (test package): Installing package Requirements log4cpp/1.1.4 from local cache - Cache Packages log4cpp/1.1.4:6557f18ca99c0b6a233f43db00e30efaa525e27e - Cache Installing (downloading, building) binaries... log4cpp/1.1.4: Already installed! log4cpp/1.1.4 (test package): Generator 'VirtualRunEnv' calling 'generate()' log4cpp/1.1.4 (test package): Generator 'CMakeToolchain' calling 'generate()' log4cpp/1.1.4 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' log4cpp/1.1.4 (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-v1/bsr/cci-25557cbc/recipes/log4cpp/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' log4cpp/1.1.4 (test package): Generator 'CMakeDeps' calling 'generate()' log4cpp/1.1.4 (test package): Generator txt created conanbuildinfo.txt log4cpp/1.1.4 (test package): Aggregating env generators log4cpp/1.1.4 (test package): Generated conaninfo.txt log4cpp/1.1.4 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod-v1/bsr/cci-25557cbc/recipes/log4cpp/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 log4cpp/1.1.4 (test package): Calling build() log4cpp/1.1.4 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/bsr/cci-25557cbc/recipes/log4cpp/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod-v1/bsr/cci-25557cbc/recipes/log4cpp/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/bsr/cci-25557cbc/recipes/log4cpp/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod-v1/bsr/cci-25557cbc/recipes/log4cpp/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod-v1/bsr/cci-25557cbc/recipes/log4cpp/all/test_package/build/Release/generators/conan_toolchain.cmake -- The CXX compiler identification is GNU 11.1.0 -- Check for working CXX compiler: /usr/local/bin/c++ -- Check for working CXX compiler: /usr/local/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'log4cpp::log4cpp' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod-v1/bsr/cci-25557cbc/recipes/log4cpp/all/test_package/build/Release log4cpp/1.1.4 (test package): CMake command: cmake --build "/home/conan/w/prod-v1/bsr/cci-25557cbc/recipes/log4cpp/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod-v1/bsr/cci-25557cbc/recipes/log4cpp/all/test_package/build/Release" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable test_package CMakeFiles/test_package.dir/build.make:84: recipe for target '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_POLICY_DEFAULT_CMP0091 /opt/conan/binutils/bin/ld: /home/conan/w/prod-v1/bsr/64905/bbced/.conan/data/log4cpp/1.1.4/_/_/package/6557f18ca99c0b6a233f43db00e30efaa525e27e/lib/liblog4cpp.a(NDC.o): in function `log4cpp::NDC::getNDC()': NDC.cpp:(.text+0x71e): undefined reference to `pthread_getspecific' /opt/conan/binutils/bin/ld: NDC.cpp:(.text+0x754): undefined reference to `pthread_getspecific' /opt/conan/binutils/bin/ld: NDC.cpp:(.text+0x792): undefined reference to `pthread_setspecific' /opt/conan/binutils/bin/ld: /home/conan/w/prod-v1/bsr/64905/bbced/.conan/data/log4cpp/1.1.4/_/_/package/6557f18ca99c0b6a233f43db00e30efaa525e27e/lib/liblog4cpp.a(NDC.o): in function `log4cpp::threading::ThreadLocalDataHolder::~ThreadLocalDataHolder()': NDC.cpp:(.text._ZN7log4cpp9threading21ThreadLocalDataHolderINS_3NDCEED2Ev[_ZN7log4cpp9threading21ThreadLocalDataHolderINS_3NDCEED5Ev]+0xc): undefined reference to `pthread_getspecific' /opt/conan/binutils/bin/ld: NDC.cpp:(.text._ZN7log4cpp9threading21ThreadLocalDataHolderINS_3NDCEED2Ev[_ZN7log4cpp9threading21ThreadLocalDataHolderINS_3NDCEED5Ev]+0x49): undefined reference to `pthread_key_delete' /opt/conan/binutils/bin/ld: NDC.cpp:(.text._ZN7log4cpp9threading21ThreadLocalDataHolderINS_3NDCEED2Ev[_ZN7log4cpp9threading21ThreadLocalDataHolderINS_3NDCEED5Ev]+0x5b): undefined reference to `pthread_key_delete' /opt/conan/binutils/bin/ld: /home/conan/w/prod-v1/bsr/64905/bbced/.conan/data/log4cpp/1.1.4/_/_/package/6557f18ca99c0b6a233f43db00e30efaa525e27e/lib/liblog4cpp.a(NDC.o): in function `_GLOBAL__sub_I_NDC.cpp': NDC.cpp:(.text.startup+0x49): undefined reference to `pthread_key_create' collect2: error: ld returned 1 exit status make[2]: *** [test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 log4cpp/1.1.4 (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 log4cpp/1.1.4 (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: log4cpp/1.1.4 (test package): Error in build() method, line 21 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod-v1/bsr/cci-25557cbc/recipes/log4cpp/all/test_package/build/Release" '--' '-j3'