******************************************************************************** conan install jsoncpp/1.9.2@#94ac0e8bcf6aa2fa70c8e8047a955d80 --build=jsoncpp -pr /home/conan/w/prod/BuildSingleReference/126435/7e7e48b2-a220-4b58-adc5-4047834ae3c4/profile_linux_10_libstdcpp_gcc_release_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 10 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=10 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=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=10 os=Linux [options] jsoncpp:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True jsoncpp/1.9.2: Forced build from source Installing package: jsoncpp/1.9.2 Requirements jsoncpp/1.9.2 from local cache - Cache Packages jsoncpp/1.9.2:82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3 - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK jsoncpp/1.9.2: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/jsoncpp/1.9.2/_/_/source/src jsoncpp/1.9.2: [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.9.2: Copying sources to build folder jsoncpp/1.9.2: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/jsoncpp/1.9.2/_/_/build/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3 jsoncpp/1.9.2: Generator txt created conanbuildinfo.txt jsoncpp/1.9.2: Calling generate() jsoncpp/1.9.2: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' jsoncpp/1.9.2: 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.9.2/_/_/build/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/build/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' jsoncpp/1.9.2: 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.9.2: Calling build() jsoncpp/1.9.2: jsoncpp/1.9.2: 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.9.2: ERROR: Package '82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3' build failed jsoncpp/1.9.2: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/jsoncpp/1.9.2/_/_/build/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/build/Release ERROR: jsoncpp/1.9.2: Error in build() method, line 81 self._patch_sources() while calling '_patch_sources', line 76 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.9.2/_/_/build/82ef5eac51c38971dea2fd342dd55ddf2ddfbbc3/src/CMakeLists.txt' file.