******************************************************************************** conan test cci-bf4c39db/recipes/log4cpp/all/test_package/conanfile.py log4cpp/1.1.4@#6d10080f5733753bf2c6354bb574fdda -pr /home/conan/w/prod-v1/bsr/64905/fbaee/profile_linux_9_libstdcpp11_gcc_debug_64.log4cpp-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 os=Linux [options] log4cpp:shared=True [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:4c9fb287628c8c7d3ebeee790ee15ee86c1ca9cd - 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 txt created conanbuildinfo.txt log4cpp/1.1.4 (test package): Generator 'CMakeToolchain' calling 'generate()' log4cpp/1.1.4 (test package): Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' 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-bf4c39db/recipes/log4cpp/all/test_package/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' log4cpp/1.1.4 (test package): Generator 'CMakeDeps' calling 'generate()' 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-bf4c39db/recipes/log4cpp/all/test_package/build/Debug/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-bf4c39db/recipes/log4cpp/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod-v1/bsr/cci-bf4c39db/recipes/log4cpp/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/bsr/cci-bf4c39db/recipes/log4cpp/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod-v1/bsr/cci-bf4c39db/recipes/log4cpp/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod-v1/bsr/cci-bf4c39db/recipes/log4cpp/all/test_package/build/Debug/generators/conan_toolchain.cmake -- The CXX compiler identification is GNU 9.2.1 -- 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: Target declared 'log4cpp::log4cpp' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod-v1/bsr/cci-bf4c39db/recipes/log4cpp/all/test_package/build/Debug log4cpp/1.1.4 (test package): CMake command: cmake --build "/home/conan/w/prod-v1/bsr/cci-bf4c39db/recipes/log4cpp/all/test_package/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod-v1/bsr/cci-bf4c39db/recipes/log4cpp/all/test_package/build/Debug" '--' '-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 CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 /usr/bin/ld: /home/conan/w/prod-v1/bsr/64905/dcbce/.conan/data/log4cpp/1.1.4/_/_/package/4c9fb287628c8c7d3ebeee790ee15ee86c1ca9cd/lib/liblog4cpp.so: undefined reference to `pthread_key_create' /usr/bin/ld: /home/conan/w/prod-v1/bsr/64905/dcbce/.conan/data/log4cpp/1.1.4/_/_/package/4c9fb287628c8c7d3ebeee790ee15ee86c1ca9cd/lib/liblog4cpp.so: undefined reference to `pthread_getspecific' /usr/bin/ld: /home/conan/w/prod-v1/bsr/64905/dcbce/.conan/data/log4cpp/1.1.4/_/_/package/4c9fb287628c8c7d3ebeee790ee15ee86c1ca9cd/lib/liblog4cpp.so: undefined reference to `pthread_key_delete' /usr/bin/ld: /home/conan/w/prod-v1/bsr/64905/dcbce/.conan/data/log4cpp/1.1.4/_/_/package/4c9fb287628c8c7d3ebeee790ee15ee86c1ca9cd/lib/liblog4cpp.so: undefined reference to `pthread_setspecific' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/test_package.dir/build.make:104: test_package] Error 1 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/test_package.dir/all] Error 2 make: *** [Makefile:103: 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-bf4c39db/recipes/log4cpp/all/test_package/build/Debug" '--' '-j3'