******************************************************************************** conan install log4cxx/0.12.0@ --build=log4cxx --profile=/home/conan/w/BuildSingleReference/17999/7b230775-b725-472f-9b07-32d0b3499d3c/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=9 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:435690f0682a7e600daf767c97acf6f625b77db0 - Cache apr-util/1.6.1:e0336ff52d9d758fbbcb03352cf2b9d3035708a9 - Cache expat/2.4.1:c215f67ac7fc6a34d9d0fb90b0450016be569d86 - Cache libiconv/1.16:6af9cc7cb931c5ad942174fd7838eb655717c709 - Cache log4cxx/0.12.0:92c4b9ebfd7d06e773c9b4f35e14f149b283df87 - Build odbc/2.3.9:b29d3eb003873b92a248c0df6debab47f53853ea - Cache Build requirements pkgconf/1.7.4 from 'conan-center' - Cache Build requirements packages pkgconf/1.7.4:6af9cc7cb931c5ad942174fd7838eb655717c709 - 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/435690f0682a7e600daf767c97acf6f625b77db0 [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/6af9cc7cb931c5ad942174fd7838eb655717c709/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/6af9cc7cb931c5ad942174fd7838eb655717c709/bin pkgconf/1.7.4: Setting PKG_CONFIG env var: /home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/bin/pkgconf pkgconf/1.7.4: Appending AUTOMAKE_CONAN_INCLUDES env var: /home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/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/e0336ff52d9d758fbbcb03352cf2b9d3035708a9/bin apr-util/1.6.1: Settings APR_UTIL_ROOT environment var: /home/conan/w/BuildSingleReference/.conan/data/apr-util/1.6.1/_/_/package/e0336ff52d9d758fbbcb03352cf2b9d3035708a9 [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/b29d3eb003873b92a248c0df6debab47f53853ea/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/92c4b9ebfd7d06e773c9b4f35e14f149b283df87 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 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 [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/92c4b9ebfd7d06e773c9b4f35e14f149b283df87/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="9" -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/92c4b9ebfd7d06e773c9b4f35e14f149b283df87" -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/92c4b9ebfd7d06e773c9b4f35e14f149b283df87" -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/92c4b9ebfd7d06e773c9b4f35e14f149b283df87' ----------------- -- 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: 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 9 -- Conan: Checking correct version: 9 -- Conan: C++ stdlib: libstdc++11 -- Found APR: /home/conan/w/BuildSingleReference/.conan/data/apr/1.7.0/_/_/package/435690f0682a7e600daf767c97acf6f625b77db0/lib/libapr-1.a -- Found APR-Util: /home/conan/w/BuildSingleReference/.conan/data/apr-util/1.6.1/_/_/package/e0336ff52d9d758fbbcb03352cf2b9d3035708a9/lib/libaprutil-1.a -- 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 -- 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/c215f67ac7fc6a34d9d0fb90b0450016be569d86/lib/libexpat.a -- Found: /home/conan/w/BuildSingleReference/.conan/data/expat/2.4.1/_/_/package/c215f67ac7fc6a34d9d0fb90b0450016be569d86/lib/libexpat.a -- Found PkgConfig: /home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/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/92c4b9ebfd7d06e773c9b4f35e14f149b283df87 -- 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. 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/e0336ff52d9d758fbbcb03352cf2b9d3035708a9/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/92c4b9ebfd7d06e773c9b4f35e14f149b283df87 log4cxx/0.12.0: ERROR: Package '92c4b9ebfd7d06e773c9b4f35e14f149b283df87' build failed log4cxx/0.12.0: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/build/92c4b9ebfd7d06e773c9b4f35e14f149b283df87 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/92c4b9ebfd7d06e773c9b4f35e14f149b283df87/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="9" -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/92c4b9ebfd7d06e773c9b4f35e14f149b283df87" -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/92c4b9ebfd7d06e773c9b4f35e14f149b283df87" -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/92c4b9ebfd7d06e773c9b4f35e14f149b283df87'