******************************************************************************** conan install log4cxx/0.12.0@ --build=log4cxx --profile=/home/conan/w/BuildSingleReference/17815/5d2471c7-17f7-4200-ab28-da30e6352d2a/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=clang compiler.libcxx=libstdc++ compiler.version=5.0 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:ffd3354600657d64e6096cd6423fd073a24f8b9d - Cache apr-util/1.6.1:0fa8d6930355571fe52ec11d1be691d487dc08c4 - Cache expat/2.4.1:115f782f936ebaf027694d455007343fd4bb59fc - Cache libiconv/1.16:0bb6f9a537a76b4aa6af7fb4dbef0aa6dddcabf4 - Cache log4cxx/0.12.0:2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d - Build odbc/2.3.9:e7e0819992c71589a0d4297f7b96ccbb71ef39a4 - Cache Build requirements pkgconf/1.7.4 from 'conan-center' - Cache Build requirements packages pkgconf/1.7.4:0bb6f9a537a76b4aa6af7fb4dbef0aa6dddcabf4 - 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/ffd3354600657d64e6096cd6423fd073a24f8b9d [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/0bb6f9a537a76b4aa6af7fb4dbef0aa6dddcabf4/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/0bb6f9a537a76b4aa6af7fb4dbef0aa6dddcabf4/bin pkgconf/1.7.4: Setting PKG_CONFIG env var: /home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/0bb6f9a537a76b4aa6af7fb4dbef0aa6dddcabf4/bin/pkgconf pkgconf/1.7.4: Appending AUTOMAKE_CONAN_INCLUDES env var: /home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/0bb6f9a537a76b4aa6af7fb4dbef0aa6dddcabf4/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/0fa8d6930355571fe52ec11d1be691d487dc08c4/bin apr-util/1.6.1: Settings APR_UTIL_ROOT environment var: /home/conan/w/BuildSingleReference/.conan/data/apr-util/1.6.1/_/_/package/0fa8d6930355571fe52ec11d1be691d487dc08c4 [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/e7e0819992c71589a0d4297f7b96ccbb71ef39a4/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/2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d 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 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 [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/2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="5.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/package/2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d" -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/2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d" -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/2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d' ----------------- -- The C compiler identification is Clang 5.0.0 -- The CXX compiler identification is Clang 5.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - 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/clang++ - 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: Checking correct version: 5.0 -- Conan: C++ stdlib: libstdc++ -- Found APR: /home/conan/w/BuildSingleReference/.conan/data/apr/1.7.0/_/_/package/ffd3354600657d64e6096cd6423fd073a24f8b9d/lib/libapr-1.a -- Found APR-Util: /home/conan/w/BuildSingleReference/.conan/data/apr-util/1.6.1/_/_/package/0fa8d6930355571fe52ec11d1be691d487dc08c4/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/115f782f936ebaf027694d455007343fd4bb59fc/lib/libexpat.a -- Found: /home/conan/w/BuildSingleReference/.conan/data/expat/2.4.1/_/_/package/115f782f936ebaf027694d455007343fd4bb59fc/lib/libexpat.a -- Found PkgConfig: /home/conan/w/BuildSingleReference/.conan/data/pkgconf/1.7.4/_/_/package/0bb6f9a537a76b4aa6af7fb4dbef0aa6dddcabf4/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/2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d -- C++ compiler .................... : /usr/bin/clang++ -- 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/0fa8d6930355571fe52ec11d1be691d487dc08c4/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/2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d log4cxx/0.12.0: ERROR: Package '2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d' build failed log4cxx/0.12.0: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/build/2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d 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/2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="5.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/log4cxx/0.12.0/_/_/package/2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d" -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/2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d" -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/2ca0ef43c90331b1b4d8ba7c0ddc3ef73ff1133d'