******************************************************************************** conan install cppcheck/2.9.1@#1259adfeef6eb123614c548f943ee002 --build=cppcheck -pr /home/conan/w/prod/BuildSingleReference/122897/c1c5ac2c-e7be-42f6-9b2d-0edf2806c308/profile_linux_7_libstdcpp11_gcc_release_64..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 7 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=7 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++11 compiler.version=7 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True z3/4.8.8: Not found in local cache, looking in remotes... z3/4.8.8: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz z3/4.8.8: Downloaded recipe revision bbdeb8ab816227c5fd651ddc0df36ee8 z3/4.8.8: z3 will build using gmp multiprecision implementation. gmp/6.2.1: Not found in local cache, looking in remotes... gmp/6.2.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz gmp/6.2.1: Downloaded recipe revision 2011237c81178d014a4c08ae40cfe0cb pcre/8.45: Not found in local cache, looking in remotes... pcre/8.45: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz pcre/8.45: Downloaded recipe revision 7b541b65d8201ff59d07e9744921e08c bzip2/1.0.8: Not found in local cache, looking in remotes... bzip2/1.0.8: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz bzip2/1.0.8: Downloaded recipe revision 464be69744fa6d48ed01928cfe470008 zlib/1.2.13: Not found in local cache, looking in remotes... zlib/1.2.13: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.13: Downloaded recipe revision 13c96f538b52e1600c40b88994de240f cppcheck/2.9.1: Forced build from source Installing package: cppcheck/2.9.1 Requirements bzip2/1.0.8 from 'conan-center' - Downloaded cppcheck/2.9.1 from local cache - Cache gmp/6.2.1 from 'conan-center' - Downloaded pcre/8.45 from 'conan-center' - Downloaded z3/4.8.8 from 'conan-center' - Downloaded zlib/1.2.13 from 'conan-center' - Downloaded Packages bzip2/1.0.8:b27e2b40bcb70be2e7d6f0e0c6e43e35c530f8d3 - Download cppcheck/2.9.1:c7a63e7105775caaa5fcff3a41b11020782a62ae - Build gmp/6.2.1:7ea0064b3a6b403d4640540ffc7d2b11f0a84b8a - Download pcre/8.45:f93b176bb04e6ca52c1d8202b06a945b24122777 - Download z3/4.8.8:11e7ac2f4367d082019a41575ce044130dff5eab - Download zlib/1.2.13:d50a0d523d98c15bb147b18fa7d203887c38be8b - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package b27e2b40bcb70be2e7d6f0e0c6e43e35c530f8d3 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed b27e2b40bcb70be2e7d6f0e0c6e43e35c530f8d3 bzip2/1.0.8: Downloaded package revision e961e1b5a92361a59f15d7f0dec7f1b7 gmp/6.2.1: Retrieving package 7ea0064b3a6b403d4640540ffc7d2b11f0a84b8a from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz gmp/6.2.1: Package installed 7ea0064b3a6b403d4640540ffc7d2b11f0a84b8a gmp/6.2.1: Downloaded package revision 7d27c7fc8257be07b5d9587957822d69 zlib/1.2.13: Retrieving package d50a0d523d98c15bb147b18fa7d203887c38be8b from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed d50a0d523d98c15bb147b18fa7d203887c38be8b zlib/1.2.13: Downloaded package revision 549df01f6a6aa996c623d0252d2361dc pcre/8.45: Retrieving package f93b176bb04e6ca52c1d8202b06a945b24122777 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pcre/8.45: Package installed f93b176bb04e6ca52c1d8202b06a945b24122777 pcre/8.45: Downloaded package revision 1e9c253e8f1f8b485c24e0513b35984b z3/4.8.8: Retrieving package 11e7ac2f4367d082019a41575ce044130dff5eab from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz z3/4.8.8: Package installed 11e7ac2f4367d082019a41575ce044130dff5eab z3/4.8.8: Downloaded package revision 8b1e1a0feb74158eebed9e0efe393eb2 pcre/8.45: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/pcre/8.45/_/_/package/f93b176bb04e6ca52c1d8202b06a945b24122777/bin [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK cppcheck/2.9.1: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/cppcheck/2.9.1/_/_/source/. cppcheck/2.9.1: [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 cppcheck/2.9.1: Copying sources to build folder cppcheck/2.9.1: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/cppcheck/2.9.1/_/_/build/c7a63e7105775caaa5fcff3a41b11020782a62ae cppcheck/2.9.1: Generator cmake created conanbuildinfo.cmake cppcheck/2.9.1: Calling generate() cppcheck/2.9.1: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' cppcheck/2.9.1: 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/cppcheck/2.9.1/_/_/build/c7a63e7105775caaa5fcff3a41b11020782a62ae/build/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' cppcheck/2.9.1: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK cppcheck/2.9.1: Calling build() cppcheck/2.9.1: cppcheck/2.9.1: 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 cppcheck/2.9.1: 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 cppcheck/2.9.1: ERROR: Package 'c7a63e7105775caaa5fcff3a41b11020782a62ae' build failed cppcheck/2.9.1: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/cppcheck/2.9.1/_/_/build/c7a63e7105775caaa5fcff3a41b11020782a62ae/build/Release ERROR: cppcheck/2.9.1: Error in build() method, line 46 cmake = CMake(self) ConanException: Usage of toolchain is only supported with 'cmake_find_package' or 'cmake_find_package_multi' generators