******************************************************************************** conan install cppcheck/2.9.1@#1259adfeef6eb123614c548f943ee002 --build=cppcheck -pr /home/conan/w/prod/BuildSingleReference/122897/07eb996d-5925-4630-b89b-663a6d417eda/profile_linux_8_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 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=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=8 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:a5875aed3fc7ae8dd0488f7e5e99acbc480d721d - Download cppcheck/2.9.1:15b4d99e258c25c2127264c9648f880e2c8d58d0 - Build gmp/6.2.1:4c8a9fcac580515a995c6103c864b8664dadc528 - Download pcre/8.45:95c3c559337923e10e8b01075ae10c7bdcebf915 - Download z3/4.8.8:861afbc8f7bb8c413fa793eb0f53ad149dc8fcb6 - Download zlib/1.2.13:1d877a3df840030e6a8abb74c5ffb9088d08b47a - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package a5875aed3fc7ae8dd0488f7e5e99acbc480d721d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed a5875aed3fc7ae8dd0488f7e5e99acbc480d721d bzip2/1.0.8: Downloaded package revision c646203eb9ce911059c6e42b086afc76 gmp/6.2.1: Retrieving package 4c8a9fcac580515a995c6103c864b8664dadc528 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz gmp/6.2.1: Package installed 4c8a9fcac580515a995c6103c864b8664dadc528 gmp/6.2.1: Downloaded package revision 7f9e2f89f16a00ca6fb1de967681daa3 zlib/1.2.13: Retrieving package 1d877a3df840030e6a8abb74c5ffb9088d08b47a from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 1d877a3df840030e6a8abb74c5ffb9088d08b47a zlib/1.2.13: Downloaded package revision b7bfcb69a497a9ffb5a039df8fe78ddd pcre/8.45: Retrieving package 95c3c559337923e10e8b01075ae10c7bdcebf915 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pcre/8.45: Package installed 95c3c559337923e10e8b01075ae10c7bdcebf915 pcre/8.45: Downloaded package revision d88c2359ff2e55f7640afac9453768ad z3/4.8.8: Retrieving package 861afbc8f7bb8c413fa793eb0f53ad149dc8fcb6 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz z3/4.8.8: Package installed 861afbc8f7bb8c413fa793eb0f53ad149dc8fcb6 z3/4.8.8: Downloaded package revision a93012600dfb109da8cf2a1b30548ad3 pcre/8.45: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/pcre/8.45/_/_/package/95c3c559337923e10e8b01075ae10c7bdcebf915/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/15b4d99e258c25c2127264c9648f880e2c8d58d0 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/15b4d99e258c25c2127264c9648f880e2c8d58d0/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 '15b4d99e258c25c2127264c9648f880e2c8d58d0' build failed cppcheck/2.9.1: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/cppcheck/2.9.1/_/_/build/15b4d99e258c25c2127264c9648f880e2c8d58d0/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