******************************************************************************** conan install log4cxx/0.13.0@#7fe6c9a853ee57f438bbe7b884a7e787 --build=log4cxx -pr /home/conan/w/prod/BuildSingleReference/206230/30f304cd-64c8-4ff1-81fc-711cf6dee9c9/profile_linux_5_libstdcpp11_gcc_release_64.log4cxx-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod/BuildSingleReference/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 5.4 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/home/conan/w/prod/BuildSingleReference/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=5 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] log4cxx:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True apr/1.7.0: Not found in local cache, looking in remotes... apr/1.7.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz apr/1.7.0: Downloaded recipe revision 143a8d49f76618e80e8483ef1585e0f0 apr-util/1.6.1: Not found in local cache, looking in remotes... apr-util/1.6.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz apr-util/1.6.1: Downloaded recipe revision e4a8afe5f882cc5d14ea43803e6fdbb5 libiconv/1.16: Not found in local cache, looking in remotes... libiconv/1.16: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libiconv/1.16: Downloaded recipe revision e36c38fe31ed3e99ed02b3912f0c0a03 expat/2.5.0: Not found in local cache, looking in remotes... expat/2.5.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz expat/2.5.0: Downloaded recipe revision 7fde619c77c77a50ca72364bc92c4907 log4cxx/0.13.0: Forced build from source pkgconf/1.7.4: Not found in local cache, looking in remotes... pkgconf/1.7.4: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz pkgconf/1.7.4: Downloaded recipe revision 1487bcf723f035c99e05c9342e86367b Version ranges solved apr/* versions found in 'conan-center' remote Version range '>=1.6' required by 'log4cxx/0.13.0' resolved to 'apr/1.7.0' in remote 'conan-center' apr-util/* versions found in 'conan-center' remote Version range '>=1.6' required by 'log4cxx/0.13.0' resolved to 'apr-util/1.6.1' in remote 'conan-center' expat/* versions found in 'conan-center' remote Version range '>=2.4' required by 'log4cxx/0.13.0' resolved to 'expat/2.5.0' in remote 'conan-center' Installing package: log4cxx/0.13.0 Requirements apr/1.7.0 from 'conan-center' - Downloaded apr-util/1.6.1 from 'conan-center' - Downloaded expat/2.5.0 from 'conan-center' - Downloaded libiconv/1.16 from 'conan-center' - Downloaded log4cxx/0.13.0 from local cache - Cache Packages apr/1.7.0:1aabdc67386049f9c7ad9b9aba324126d5de5186 - Download apr-util/1.6.1:d32a0becf711c6508131bc876f92ddc4c3317610 - Download expat/2.5.0:b025735bb0d121754b0b4aaae6c02d3b9546c56f - Download libiconv/1.16:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download log4cxx/0.13.0:740dc403abbc5c008f1fbf0845de3f23fac63068 - Build Build requirements pkgconf/1.7.4 from 'conan-center' - Downloaded Build requirements packages pkgconf/1.7.4:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download Installing (downloading, building) binaries... apr/1.7.0: Retrieving package 1aabdc67386049f9c7ad9b9aba324126d5de5186 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz apr/1.7.0: Package installed 1aabdc67386049f9c7ad9b9aba324126d5de5186 apr/1.7.0: Downloaded package revision d4c5d67d2d31a53b9a75058abb6d9bbb expat/2.5.0: Retrieving package b025735bb0d121754b0b4aaae6c02d3b9546c56f from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz expat/2.5.0: Package installed b025735bb0d121754b0b4aaae6c02d3b9546c56f expat/2.5.0: Downloaded package revision ef99833a451bb97cb8cd2288ce794572 libiconv/1.16: Retrieving package 76f87539fc90ff313e0b3182641a9bb558a717d2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libiconv/1.16: Package installed 76f87539fc90ff313e0b3182641a9bb558a717d2 libiconv/1.16: Downloaded package revision bac14a8284ee36c1bdb4712333d6d278 pkgconf/1.7.4: Retrieving package 24647d9fe8ec489125dfbae4b3ebefaf7581674c from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pkgconf/1.7.4: Package installed 24647d9fe8ec489125dfbae4b3ebefaf7581674c pkgconf/1.7.4: Downloaded package revision 032b84b5abd8dc6ce80ee38be73183b8 apr-util/1.6.1: Retrieving package d32a0becf711c6508131bc876f92ddc4c3317610 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz apr-util/1.6.1: Package installed d32a0becf711c6508131bc876f92ddc4c3317610 apr-util/1.6.1: Downloaded package revision 0548b2627efc643d369eb094584d3313 pkgconf/1.7.4: Appending PATH env var: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin pkgconf/1.7.4: Setting PKG_CONFIG env var: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/pkgconf pkgconf/1.7.4: Appending AUTOMAKE_CONAN_INCLUDES env var: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/aclocal apr-util/1.6.1: Appending PATH env var : /home/conan/w/prod/BuildSingleReference/.conan/data/apr-util/1.6.1/_/_/package/d32a0becf711c6508131bc876f92ddc4c3317610/bin apr-util/1.6.1: Settings APR_UTIL_ROOT environment var: /home/conan/w/prod/BuildSingleReference/.conan/data/apr-util/1.6.1/_/_/package/d32a0becf711c6508131bc876f92ddc4c3317610 log4cxx/0.13.0: Applying build-requirement: pkgconf/1.7.4 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK log4cxx/0.13.0: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/source/src log4cxx/0.13.0: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK log4cxx/0.13.0: Copying sources to build folder log4cxx/0.13.0: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068 log4cxx/0.13.0: Generator txt created conanbuildinfo.txt log4cxx/0.13.0: Calling generate() log4cxx/0.13.0: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' log4cxx/0.13.0: 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/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' log4cxx/0.13.0: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK log4cxx/0.13.0: Calling build() log4cxx/0.13.0: Apply patch (bugfix): Prevent build failure when compiler.cppstd=14 log4cxx/0.13.0: Apply patch (conan): Use conan generated apr, apr-util target names log4cxx/0.13.0: Apply patch (bugfix): Prevent compilation error when shared=False log4cxx/0.13.0: Apply patch (bugfix): Prevent compilation errors when with_wchar_t=False log4cxx/0.13.0: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/package/740dc403abbc5c008f1fbf0845de3f23fac63068" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/package/740dc403abbc5c008f1fbf0845de3f23fac63068" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/src" ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/build/Release/generators/conan_toolchain.cmake -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC) -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The CXX compiler identification is GNU 5.4.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: Target declared 'apr::apr' -- Conan: Target declared 'apr-util::apr-util' -- Conan: Target declared 'Iconv::Iconv' -- Conan: Target declared 'expat::expat' -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found PkgConfig: /home/conan/w/prod/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin/pkgconf (found version "1.7.4") -- Looking for C++ include locale -- Looking for C++ include locale - found -- Looking for mbsrtowcs -- Looking for mbsrtowcs - found -- Looking for wcstombs -- Looking for wcstombs - found -- Looking for fwide -- Looking for fwide - found -- Looking for smtp_create_session in esmtp -- Looking for smtp_create_session in esmtp - not found -- Looking for syslog -- Looking for syslog - found -- Looking for pthread_sigmask -- Looking for pthread_sigmask - found -- Could NOT find Boost (missing: Boost_INCLUDE_DIR thread chrono atomic) -- -- -- log4cxx configuration summary: -- -- C++ standard: ................... : 17 -- Build shared library ............ : OFF -- Build tests ..................... : OFF -- Build site ...................... : OFF -- Install prefix .................. : /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/package/740dc403abbc5c008f1fbf0845de3f23fac63068 -- C++ compiler .................... : /usr/bin/g++ -- log4cxx char API ................ : utf-8 -- log4cxx wchar API ............... : False -- log4cxx unichar API ............. : OFF -- logchar type .................... : utf-8 -- charset ......................... : locale -- Using libESMTP .................. : OFF -- ODBC library .................... : OFF -- syslog .......................... : ON -- Qt support ...................... : False -- C++ version and Boost settings: -- Prefer boost: ................... : OFF -- thread implementation ........... : std::thread -- mutex implementation ............ : std::mutex -- shared_ptr implementation ....... : std::shared_ptr -- shared_mutex implementation ..... : NONE -- atomic implementation ........... : std::atomic -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/build/Release log4cxx/0.13.0: CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/build/Release" '--' '-j3' ----------------- Scanning dependencies of target configure_log4cxx Checking configuration [ 0%] Built target configure_log4cxx Scanning dependencies of target log4cxx [ 0%] Building CXX object src/main/cpp/CMakeFiles/log4cxx.dir/appenderattachableimpl.cpp.o [ 1%] Building CXX object src/main/cpp/CMakeFiles/log4cxx.dir/action.cpp.o [ 1%] Building CXX object src/main/cpp/CMakeFiles/log4cxx.dir/andfilter.cpp.o src/main/cpp/CMakeFiles/log4cxx.dir/build.make:94: recipe for target 'src/main/cpp/CMakeFiles/log4cxx.dir/andfilter.cpp.o' failed src/main/cpp/CMakeFiles/log4cxx.dir/build.make:107: recipe for target 'src/main/cpp/CMakeFiles/log4cxx.dir/appenderattachableimpl.cpp.o' failed CMakeFiles/Makefile2:259: recipe for target 'src/main/cpp/CMakeFiles/log4cxx.dir/all' failed Makefile:148: recipe for target 'all' failed log4cxx/0.13.0: In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/src/src/main/include/log4cxx/spi/loggingevent.h:28:0, from /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/src/src/main/include/log4cxx/spi/filter.h:23, from /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/src/src/main/include/log4cxx/filter/andfilter.h:27, from /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/src/src/main/cpp/andfilter.cpp:18: /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/src/src/main/include/log4cxx/logger.h:1729:11: error: ‘shared_mutex’ does not name a type mutable shared_mutex mutex; ^ make[2]: *** [src/main/cpp/CMakeFiles/log4cxx.dir/andfilter.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/src/src/main/include/log4cxx/spi/loggingevent.h:28:0, from /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/src/src/main/cpp/appenderattachableimpl.cpp:20: /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/src/src/main/include/log4cxx/logger.h:1729:11: error: ‘shared_mutex’ does not name a type mutable shared_mutex mutex; ^ make[2]: *** [src/main/cpp/CMakeFiles/log4cxx.dir/appenderattachableimpl.cpp.o] Error 1 make[1]: *** [src/main/cpp/CMakeFiles/log4cxx.dir/all] Error 2 make: *** [all] Error 2 WARN: apr-util/1.6.1: requirement expat/2.4.1 overridden by log4cxx/0.13.0 to expat/2.5.0 log4cxx/0.13.0: 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 log4cxx/0.13.0: 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 log4cxx/0.13.0: ERROR: Package '740dc403abbc5c008f1fbf0845de3f23fac63068' build failed log4cxx/0.13.0: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/build/Release ERROR: log4cxx/0.13.0: Error in build() method, line 119 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/.conan/data/log4cxx/0.13.0/_/_/build/740dc403abbc5c008f1fbf0845de3f23fac63068/build/Release" '--' '-j3'