******************************************************************************** conan install jsoncpp/1.8.3@#67ed387c11dfc7bd235a4d9cc1a23886 --build=jsoncpp -pr /home/conan/w/prod/BuildSingleReference/126495/a15b618f-1f12-4366-9514-4df41dacc833/profile_linux_8_libstdcpp11_gcc_debug_64.jsoncpp-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 8 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=8 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=8 os=Linux [options] jsoncpp:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True jsoncpp/1.8.3: Forced build from source Installing package: jsoncpp/1.8.3 Requirements jsoncpp/1.8.3 from local cache - Cache Packages jsoncpp/1.8.3:038f8796e196b3dba76fcc5fd4ef5d3d9c6866ec - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK jsoncpp/1.8.3: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/jsoncpp/1.8.3/_/_/source/src jsoncpp/1.8.3: [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 jsoncpp/1.8.3: Copying sources to build folder jsoncpp/1.8.3: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/jsoncpp/1.8.3/_/_/build/038f8796e196b3dba76fcc5fd4ef5d3d9c6866ec jsoncpp/1.8.3: Generator txt created conanbuildinfo.txt jsoncpp/1.8.3: Calling generate() jsoncpp/1.8.3: Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' jsoncpp/1.8.3: 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/jsoncpp/1.8.3/_/_/build/038f8796e196b3dba76fcc5fd4ef5d3d9c6866ec/build/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0077=NEW -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' jsoncpp/1.8.3: 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 jsoncpp/1.8.3: Calling build() jsoncpp/1.8.3: jsoncpp/1.8.3: 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 jsoncpp/1.8.3: ERROR: Package '038f8796e196b3dba76fcc5fd4ef5d3d9c6866ec' build failed jsoncpp/1.8.3: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/jsoncpp/1.8.3/_/_/build/038f8796e196b3dba76fcc5fd4ef5d3d9c6866ec/build/Debug ERROR: jsoncpp/1.8.3: Error in build() method, line 81 self._patch_sources() while calling '_patch_sources', line 75 replace_in_file(self, cmakelists, "endif(CCACHE_FOUND)", "endif()") ConanException: replace_in_file didn't find pattern 'endif(CCACHE_FOUND)' in '/home/conan/w/prod/BuildSingleReference/.conan/data/jsoncpp/1.8.3/_/_/build/038f8796e196b3dba76fcc5fd4ef5d3d9c6866ec/src/CMakeLists.txt' file.