******************************************************************************** conan install cppcheck/2.9.1@#1259adfeef6eb123614c548f943ee002 --build=cppcheck -pr /home/conan/w/prod/BuildSingleReference/122897/aa4a49d4-b339-4db7-824c-98da2b6eb2b7/profile_linux_11_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) Found gcc 11.1 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=11 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=11 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:c32092bf4d4bb47cf962af898e02823f499b017e - Download cppcheck/2.9.1:e16f593cf3ca9043f7c2ec84c41f63627b90b590 - Build gmp/6.2.1:f7d295909e4a77ea9afe0e22daa8e7d48da26066 - Download pcre/8.45:f755979807ccde50238e44be7e9e64fe34847ffe - Download z3/4.8.8:10e276e2f8f4704300563699584f213840741586 - Download zlib/1.2.13:dfbe50feef7f3c6223a476cd5aeadb687084a646 - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package c32092bf4d4bb47cf962af898e02823f499b017e from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed c32092bf4d4bb47cf962af898e02823f499b017e bzip2/1.0.8: Downloaded package revision d2d528a2be354c1834b0c31ebbc96233 gmp/6.2.1: Retrieving package f7d295909e4a77ea9afe0e22daa8e7d48da26066 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz gmp/6.2.1: Package installed f7d295909e4a77ea9afe0e22daa8e7d48da26066 gmp/6.2.1: Downloaded package revision 04592b0cf41008f054fbc98aa2d735e2 zlib/1.2.13: Retrieving package dfbe50feef7f3c6223a476cd5aeadb687084a646 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed dfbe50feef7f3c6223a476cd5aeadb687084a646 zlib/1.2.13: Downloaded package revision 7fa7e13a90125c09853d9d76ec97a25c pcre/8.45: Retrieving package f755979807ccde50238e44be7e9e64fe34847ffe from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pcre/8.45: Package installed f755979807ccde50238e44be7e9e64fe34847ffe pcre/8.45: Downloaded package revision 32c1a5b940c3c6be34adc12682b4d43e z3/4.8.8: Retrieving package 10e276e2f8f4704300563699584f213840741586 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz z3/4.8.8: Package installed 10e276e2f8f4704300563699584f213840741586 z3/4.8.8: Downloaded package revision c9f9b2bdf5bf787a2060a8e96efcdd67 pcre/8.45: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/pcre/8.45/_/_/package/f755979807ccde50238e44be7e9e64fe34847ffe/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/e16f593cf3ca9043f7c2ec84c41f63627b90b590 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/e16f593cf3ca9043f7c2ec84c41f63627b90b590/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 'e16f593cf3ca9043f7c2ec84c41f63627b90b590' build failed cppcheck/2.9.1: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/cppcheck/2.9.1/_/_/build/e16f593cf3ca9043f7c2ec84c41f63627b90b590/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