******************************************************************************** conan install microservice-essentials/0.1.0@#6ab246e00eed4f2018baa1e7a7cfb8bd --build=microservice-essentials -pr /home/conan/w/prod/BuildSingleReference/247053/60c44938-e155-4fbe-b55e-498f982483fa/profile_linux_5_libstdcpp11_gcc_debug_64.microservice-essentials-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=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] microservice-essentials:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True microservice-essentials/0.1.0: Forced build from source Installing package: microservice-essentials/0.1.0 Requirements microservice-essentials/0.1.0 from local cache - Cache Packages microservice-essentials/0.1.0:fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK microservice-essentials/0.1.0: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/source microservice-essentials/0.1.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 microservice-essentials/0.1.0: Copying sources to build folder microservice-essentials/0.1.0: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb microservice-essentials/0.1.0: Generator cmake created conanbuildinfo.cmake microservice-essentials/0.1.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 microservice-essentials/0.1.0: Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="5" -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/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/package/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb" -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_PREFIX_PATH="/home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DBUILD_TESTING="False" -DBUILD_EXAMPLES="False" -Wno-dev '/home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb' ----------------- -- 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 -- 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 -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb' '--' '-j3' ----------------- Scanning dependencies of target microservice-essentials [ 4%] Building CXX object src/CMakeFiles/microservice-essentials.dir/microservice-essentials/cross-cutting-concerns/error-forwarding-request-hook.cpp.o [ 8%] Building CXX object src/CMakeFiles/microservice-essentials.dir/microservice-essentials/cross-cutting-concerns/exception-handling-helpers.cpp.o [ 13%] Building CXX object src/CMakeFiles/microservice-essentials.dir/microservice-essentials/cross-cutting-concerns/exception-handling-request-hook.cpp.o src/CMakeFiles/microservice-essentials.dir/build.make:94: recipe for target 'src/CMakeFiles/microservice-essentials.dir/microservice-essentials/cross-cutting-concerns/exception-handling-helpers.cpp.o' failed src/CMakeFiles/microservice-essentials.dir/build.make:107: recipe for target 'src/CMakeFiles/microservice-essentials.dir/microservice-essentials/cross-cutting-concerns/exception-handling-request-hook.cpp.o' failed src/CMakeFiles/microservice-essentials.dir/build.make:81: recipe for target 'src/CMakeFiles/microservice-essentials.dir/microservice-essentials/cross-cutting-concerns/error-forwarding-request-hook.cpp.o' failed CMakeFiles/Makefile2:255: recipe for target 'src/CMakeFiles/microservice-essentials.dir/all' failed Makefile:148: recipe for target 'all' failed microservice-essentials/0.1.0: CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR CONAN_CMAKE_POSITION_INDEPENDENT_CODE CONAN_COMPILER CONAN_COMPILER_VERSION CONAN_CXX_FLAGS CONAN_C_FLAGS CONAN_EXPORTED CONAN_IN_LOCAL_CACHE CONAN_LIBCXX CONAN_SHARED_LINKER_FLAGS In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/observability/logger.h:6:0, from /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/cross-cutting-concerns/exception-handling-helpers.h:4, from /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/cross-cutting-concerns/exception-handling-helpers.cpp:1: /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/utilities/environment.h:3:20: fatal error: optional: No such file or directory compilation terminated. make[2]: *** [src/CMakeFiles/microservice-essentials.dir/microservice-essentials/cross-cutting-concerns/exception-handling-helpers.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/observability/logger.h:6:0, from /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/cross-cutting-concerns/exception-handling-helpers.h:4, from /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/cross-cutting-concerns/exception-handling-request-hook.h:3, from /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/cross-cutting-concerns/exception-handling-request-hook.cpp:1: /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/utilities/environment.h:3:20: fatal error: optional: No such file or directory compilation terminated. In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/observability/logger.h:6:0, from /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/cross-cutting-concerns/exception-handling-helpers.h:4, from /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/cross-cutting-concerns/error-forwarding-request-hook.h:3, from /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/cross-cutting-concerns/error-forwarding-request-hook.cpp:1: /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb/src/microservice-essentials/utilities/environment.h:3:20: fatal error: optional: No such file or directory compilation terminated. make[2]: *** [src/CMakeFiles/microservice-essentials.dir/microservice-essentials/cross-cutting-concerns/exception-handling-request-hook.cpp.o] Error 1 make[2]: *** [src/CMakeFiles/microservice-essentials.dir/microservice-essentials/cross-cutting-concerns/error-forwarding-request-hook.cpp.o] Error 1 make[1]: *** [src/CMakeFiles/microservice-essentials.dir/all] Error 2 make: *** [all] Error 2 microservice-essentials/0.1.0: ERROR: Package 'fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb' build failed microservice-essentials/0.1.0: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb ERROR: microservice-essentials/0.1.0: Error in build() method, line 46 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/.conan/data/microservice-essentials/0.1.0/_/_/build/fcc9bda6948b7e5cd4eddd99173a9b73f3bfaebb' '--' '-j3'