******************************************************************************** conan install log4cxx/0.12.0@ --build=log4cxx --profile=/home/conan/w/BuildSingleReference/17815/d8a2c07a-41ae-4761-8c81-3036002af9e2/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux os_build=Linux [options] log4cxx:shared=False [build_requires] [env] log4cxx/0.12.0: Forced build from source Installing package: log4cxx/0.12.0 Requirements apr/1.7.0 from 'conan-center' - Cache apr-util/1.6.1 from 'conan-center' - Cache expat/2.4.1 from 'conan-center' - Cache libiconv/1.16 from 'conan-center' - Cache log4cxx/0.12.0 from local cache - Cache odbc/2.3.9 from 'conan-center' - Cache Packages apr/1.7.0:57b39845179c4393501284ca13f795df61622bf2 - Cache apr-util/1.6.1:3bdc18602786716c9a473f752d4a0ec2b3dbe9fe - Cache expat/2.4.1:2b1e03290d238f6bbae6716e355abc48fe9254ef - Cache libiconv/1.16:db2ca884c9793e0b0fb54ec3f846326d1addacc8 - Cache log4cxx/0.12.0:df7edb7943a4e90c81ecbce77bea80de2675cd16 - Build odbc/2.3.9:a8a7a3ea9a0498a661f81d9ed2973eb0d37264f8 - Cache Build requirements pkgconf/1.7.4 from 'conan-center' - Cache Build requirements packages pkgconf/1.7.4:db2ca884c9793e0b0fb54ec3f846326d1addacc8 - Cache Installing (downloading, building) binaries... apr/1.7.0: Already installed! apr/1.7.0: Settings APR_ROOT environment var: /home/conan/w/BuildSingleReference/.conan/data/apr/1.7.0/_/_/package/57b39845179c4393501284ca13f795df61622bf2 [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 expat/2.4.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 libiconv/1.16: Already installed! libiconv/1.16: Appending PATH environment var: /home/conan/w/BuildSingleReference/.conan/data/libiconv/1.16/_/_/package/db2ca884c9793e0b0fb54ec3f846326d1addacc8/bin [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 pkgconf/1.7.4: Already installed! pkgconf/1.7.4: Appending PATH env var: /home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/db2ca884c9793e0b0fb54ec3f846326d1addacc8/bin pkgconf/1.7.4: Setting PKG_CONFIG env var: /home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/db2ca884c9793e0b0fb54ec3f846326d1addacc8/bin/pkgconf pkgconf/1.7.4: Appending AUTOMAKE_CONAN_INCLUDES env var: /home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/db2ca884c9793e0b0fb54ec3f846326d1addacc8/bin/aclocal [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 apr-util/1.6.1: Already installed! apr-util/1.6.1: Appending PATH env var : /home/conan/w/BuildSingleReference/.conan/data/apr-util/1.6.1/_/_/package/3bdc18602786716c9a473f752d4a0ec2b3dbe9fe/bin apr-util/1.6.1: Settings APR_UTIL_ROOT environment var: /home/conan/w/BuildSingleReference/.conan/data/apr-util/1.6.1/_/_/package/3bdc18602786716c9a473f752d4a0ec2b3dbe9fe [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 odbc/2.3.9: Already installed! odbc/2.3.9: Appending PATH environment variable: /home/conan/w/BuildSingleReference/.conan/data/odbc/2.3.9/_/_/package/a8a7a3ea9a0498a661f81d9ed2973eb0d37264f8/bin [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 log4cxx/0.12.0: Applying build-requirement: pkgconf/1.7.4 log4cxx/0.12.0: Copying sources to build folder log4cxx/0.12.0: Building your package in /home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/build/df7edb7943a4e90c81ecbce77bea80de2675cd16 log4cxx/0.12.0: Generator pkg_config created libpkgconf.pc log4cxx/0.12.0: Generator pkg_config created apr-util-1.pc log4cxx/0.12.0: Generator pkg_config created odbcltdl.pc log4cxx/0.12.0: Generator pkg_config created odbccr.pc log4cxx/0.12.0: Generator pkg_config created odbcinst.pc log4cxx/0.12.0: Generator pkg_config created odbc.pc log4cxx/0.12.0: Generator pkg_config created apr-1.pc log4cxx/0.12.0: Generator pkg_config created expat.pc log4cxx/0.12.0: Generator pkg_config created libiconv.pc log4cxx/0.12.0: Generator cmake_find_package created Findpkgconf.cmake log4cxx/0.12.0: Generator cmake_find_package created Findapr-util.cmake log4cxx/0.12.0: Generator cmake_find_package created FindODBC.cmake log4cxx/0.12.0: Generator cmake_find_package created Findapr.cmake log4cxx/0.12.0: Generator cmake_find_package created FindEXPAT.cmake log4cxx/0.12.0: Generator cmake_find_package created FindIconv.cmake log4cxx/0.12.0: Generator cmake created conanbuildinfo.cmake [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.12.0: Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/build/df7edb7943a4e90c81ecbce77bea80de2675cd16/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/package/df7edb7943a4e90c81ecbce77bea80de2675cd16" -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" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/build/df7edb7943a4e90c81ecbce77bea80de2675cd16" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DBUILD_TESTING="False" -Wno-dev '/home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/build/df7edb7943a4e90c81ecbce77bea80de2675cd16' ----------------- -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.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 -- 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: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- Conan: Compiler GCC>=5, checking major version 7 -- Conan: Checking correct version: 7 -- Conan: C++ stdlib: libstdc++11 -- Found APR: /home/conan/w/BuildSingleReference/.conan/data/apr/1.7.0/_/_/package/57b39845179c4393501284ca13f795df61622bf2/lib/libapr-1.a -- Found APR-Util: /home/conan/w/BuildSingleReference/.conan/data/apr-util/1.6.1/_/_/package/3bdc18602786716c9a473f752d4a0ec2b3dbe9fe/lib/libaprutil-1.a -- Looking for pthread.h -- Looking for 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 -- Conan: Using autogenerated FindEXPAT.cmake -- Found EXPAT: 2.4.1 (found version "2.4.1") -- Library expat found /home/conan/w/BuildSingleReference/.conan/data/expat/2.4.1/_/_/package/2b1e03290d238f6bbae6716e355abc48fe9254ef/lib/libexpat.a -- Found: /home/conan/w/BuildSingleReference/.conan/data/expat/2.4.1/_/_/package/2b1e03290d238f6bbae6716e355abc48fe9254ef/lib/libexpat.a -- Found PkgConfig: /home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/db2ca884c9793e0b0fb54ec3f846326d1addacc8/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 -- Could NOT find Boost (missing: Boost_INCLUDE_DIR thread) -- -- -- log4cxx configuration summary: -- -- Build shared library ............ : OFF -- Build tests ..................... : False -- Build site ...................... : OFF -- Install prefix .................. : /home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/package/df7edb7943a4e90c81ecbce77bea80de2675cd16 -- C++ compiler .................... : /usr/bin/g++ -- log4cxx char API ................ : utf-8 -- log4cxx wchar API ............... : ON -- log4cxx unichar API ............. : OFF -- logchar type .................... : utf-8 -- charset ......................... : locale -- Using libESMTP .................. : OFF -- ODBC library .................... : ON -- syslog .......................... : ON -- Qt support ...................... : OFF -- shared_mutex implementation ..... : std::shared_mutex -- Configuring done -- Generating done log4cxx/0.12.0: CMake Error at source_subfolder/src/main/cpp/CMakeLists.txt:7 (add_library): Target "log4cxx" links to target "apr-util::apr-util" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at source_subfolder/src/main/cpp/CMakeLists.txt:7 (add_library): Target "log4cxx" links to target "apr::apr" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at source_subfolder/src/main/cpp/CMakeLists.txt:7 (add_library): Target "log4cxx" links to target "apr-util::apr-util" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Error at source_subfolder/src/main/cpp/CMakeLists.txt:7 (add_library): Target "log4cxx" links to target "apr::apr" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMake Generate step failed. Build files cannot be regenerated correctly. WARN: apr-util/1.6.1: requirement expat/2.2.10 overridden by log4cxx/0.12.0 to expat/2.4.1 apr-util/1.6.1: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/apr-util/1.6.1/_/_/package/3bdc18602786716c9a473f752d4a0ec2b3dbe9fe/lib/apr-util-1 log4cxx/0.12.0: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/build/df7edb7943a4e90c81ecbce77bea80de2675cd16 log4cxx/0.12.0: ERROR: Package 'df7edb7943a4e90c81ecbce77bea80de2675cd16' build failed log4cxx/0.12.0: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/build/df7edb7943a4e90c81ecbce77bea80de2675cd16 ERROR: log4cxx/0.12.0: Error in build() method, line 103 cmake = self._configure_cmake() while calling '_configure_cmake', line 98 self._cmake.configure(build_folder=self._build_subfolder) ConanException: Error 1 while executing cd '/home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/build/df7edb7943a4e90c81ecbce77bea80de2675cd16/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/package/df7edb7943a4e90c81ecbce77bea80de2675cd16" -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" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/build/df7edb7943a4e90c81ecbce77bea80de2675cd16" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DBUILD_TESTING="False" -Wno-dev '/home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/build/df7edb7943a4e90c81ecbce77bea80de2675cd16'