******************************************************************************** conan install cppcheck/2.4@ --build=cppcheck --profile=/Users/jenkins/w/BuildSingleReference@8/20593/212a2de5-dc68-4925-909a-a88bed04ce0c/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=11.0 os=Macos os_build=Macos [options] [build_requires] [env] cppcheck/2.4: Building package from source as defined by build_policy='always' cppcheck/2.4: Forced build from source Installing package: cppcheck/2.4 Requirements bzip2/1.0.8 from 'conan-center' - Cache cppcheck/2.4 from local cache - Cache mpir/3.0.0 from 'conan-center' - Cache pcre/8.44 from 'conan-center' - Cache z3/4.8.8 from 'conan-center' - Cache zlib/1.2.11 from 'conan-center' - Cache Packages bzip2/1.0.8:e26f883c3e136952d830bcdc838898582f2a8d80 - Cache cppcheck/2.4:d5a0b037e66d2224674924416e8a6ed8d752fc07 - Build mpir/3.0.0:0d9f2ea3d4a5f5f42b51a95c65ceb3a7045f78e0 - Cache pcre/8.44:82c67105dacb759b87ad36fb5f5c5fc73605a252 - Cache z3/4.8.8:4d2dff9bc12d7bd5922431a6ee8d2ca6e9201a9e - Cache zlib/1.2.11:0aa7be2d0914b6f3128105e305c90b9cb0cae86d - Cache Installing (downloading, building) binaries... bzip2/1.0.8: Already installed! bzip2/1.0.8: Appending PATH environment variable: /Users/jenkins/w/BuildSingleReference@8/.conan/data/bzip2/1.0.8/_/_/package/e26f883c3e136952d830bcdc838898582f2a8d80/bin [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK mpir/3.0.0: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK zlib/1.2.11: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK pcre/8.44: Already installed! pcre/8.44: Appending PATH environment variable: /Users/jenkins/w/BuildSingleReference@8/.conan/data/pcre/8.44/_/_/package/82c67105dacb759b87ad36fb5f5c5fc73605a252/bin [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK z3/4.8.8: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK cppcheck/2.4: Configuring sources in /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/source [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK cppcheck/2.4: Copying sources to build folder cppcheck/2.4: Building your package in /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07 cppcheck/2.4: Generator cmake created conanbuildinfo.cmake [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.4: Calling build() ----Running------ > cd '/Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="11.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/package/d5a0b037e66d2224674924416e8a6ed8d752fc07" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DUSE_Z3="True" -DHAVE_RULES="True" -DUSE_MATCHCOMPILER="Auto" -DENABLE_OSS_FUZZ="False" -Wno-dev '/Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07' ----------------- -- The C compiler identification is AppleClang 11.0.0.11000033 -- The CXX compiler identification is AppleClang 11.0.0.11000033 -- Check for working C compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- Check for working CXX compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library z3 found /Users/jenkins/w/BuildSingleReference@8/.conan/data/z3/4.8.8/_/_/package/4d2dff9bc12d7bd5922431a6ee8d2ca6e9201a9e/lib/libz3.a -- Library pcreposix found /Users/jenkins/w/BuildSingleReference@8/.conan/data/pcre/8.44/_/_/package/82c67105dacb759b87ad36fb5f5c5fc73605a252/lib/libpcreposix.a -- Library pcre found /Users/jenkins/w/BuildSingleReference@8/.conan/data/pcre/8.44/_/_/package/82c67105dacb759b87ad36fb5f5c5fc73605a252/lib/libpcre.a -- Library pcre16 found /Users/jenkins/w/BuildSingleReference@8/.conan/data/pcre/8.44/_/_/package/82c67105dacb759b87ad36fb5f5c5fc73605a252/lib/libpcre16.a -- Library pcre32 found /Users/jenkins/w/BuildSingleReference@8/.conan/data/pcre/8.44/_/_/package/82c67105dacb759b87ad36fb5f5c5fc73605a252/lib/libpcre32.a -- Library mpirxx found /Users/jenkins/w/BuildSingleReference@8/.conan/data/mpir/3.0.0/_/_/package/0d9f2ea3d4a5f5f42b51a95c65ceb3a7045f78e0/lib/libmpirxx.a -- Library mpir found /Users/jenkins/w/BuildSingleReference@8/.conan/data/mpir/3.0.0/_/_/package/0d9f2ea3d4a5f5f42b51a95c65ceb3a7045f78e0/lib/libmpir.a -- Library gmpxx found /Users/jenkins/w/BuildSingleReference@8/.conan/data/mpir/3.0.0/_/_/package/0d9f2ea3d4a5f5f42b51a95c65ceb3a7045f78e0/lib/libgmpxx.a -- Library gmp found /Users/jenkins/w/BuildSingleReference@8/.conan/data/mpir/3.0.0/_/_/package/0d9f2ea3d4a5f5f42b51a95c65ceb3a7045f78e0/lib/libgmp.a -- Library bz2 found /Users/jenkins/w/BuildSingleReference@8/.conan/data/bzip2/1.0.8/_/_/package/e26f883c3e136952d830bcdc838898582f2a8d80/lib/libbz2.a -- Library z found /Users/jenkins/w/BuildSingleReference@8/.conan/data/zlib/1.2.11/_/_/package/0aa7be2d0914b6f3128105e305c90b9cb0cae86d/lib/libz.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: C++ stdlib: libc++ -- Performing Test _has_flag -- Performing Test _has_flag - Success -- Using bundled version of tinyxml2 -- ------------------ General configuration for Cppcheck 2.4 ----------------- -- -- CMake Generator = Unix Makefiles -- Compiler = Clang -- Compiler Version = 11.0.0.11000033 -- Build type = Debug -- CMAKE_INSTALL_PREFIX = /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/package/d5a0b037e66d2224674924416e8a6ed8d752fc07 -- CMAKE_DISABLE_PRECOMPILE_HEADERS = Off -- C++ flags (General) = -m64 -stdlib=libc++ -m64 -- C++ flags (Release) = -O3 -DNDEBUG -- C++ flags (RelWithDebInfo) = -O2 -g -DNDEBUG -- C++ flags (Debug) = -g -- -- --------------------------------------------------------- -- ANALYZE_MEMORY = OFF -- ANALYZE_ADDRESS = OFF -- ANALYZE_THREAD = OFF -- ANALYZE_UNDEFINED = OFF -- ANALYZE_DATAFLOW = OFF -- WARNINGS_ARE_ERRORS = OFF -- -- USE_MATCHCOMPILER = Auto -- USE_MATCHCOMPILER_OPT = Off -- -- BUILD_SHARED_LIBS = OFF -- LIBXML2_XMLLINT_EXECUTABLE = /usr/bin/xmllint -- BUILD_TESTS = OFF -- ENABLE_CHECK_INTERNAL = OFF -- ENABLE_OSS_FUZZ = False -- -- BUILD_GUI = OFF -- WITH_QCHART = OFF -- -- HAVE_RULES = True -- PCRE_LIBRARY = CONAN_PKG::pcre -- -- USE_Z3 = True -- Z3_LIBRARIES = CONAN_PKG::z3 -- Z3_CXX_INCLUDE_DIRS = /Users/jenkins/w/BuildSingleReference@8/.conan/data/z3/4.8.8/_/_/package/4d2dff9bc12d7bd5922431a6ee8d2ca6e9201a9e/include -- USE_BUNDLED_TINYXML2 = ON -- -- CLANG_TIDY=CLANG_TIDY-NOTFOUND -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/build_subfolder ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/build_subfolder' '--' '-j4' ----------------- Scanning dependencies of target tinyxml2_objs Scanning dependencies of target simplecpp_objs [ 1%] Building CXX object source_subfolder/externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o [ 3%] Building CXX object source_subfolder/externals/tinyxml2/CMakeFiles/tinyxml2_objs.dir/tinyxml2.cpp.o Scanning dependencies of target cli_objs [ 4%] Building CXX object source_subfolder/cli/CMakeFiles/cli_objs.dir/cmdlineparser.cpp.o Scanning dependencies of target lib_objs [ 6%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/cmake_pch.hxx.pch [ 6%] Built target tinyxml2_objs [ 7%] Building CXX object source_subfolder/cli/CMakeFiles/cli_objs.dir/cppcheckexecutor.cpp.o [ 9%] Building CXX object source_subfolder/cli/CMakeFiles/cli_objs.dir/filelister.cpp.o [ 10%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/analyzerinfo.cpp.o [ 12%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/astutils.cpp.o [ 12%] Built target simplecpp_objs [ 13%] Building CXX object source_subfolder/cli/CMakeFiles/cli_objs.dir/threadexecutor.cpp.o [ 15%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/bughuntingchecks.cpp.o [ 16%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/check.cpp.o [ 18%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/check64bit.cpp.o [ 19%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkassert.cpp.o [ 21%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkautovariables.cpp.o [ 22%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkbool.cpp.o [ 24%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkboost.cpp.o [ 24%] Built target cli_objs [ 25%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkbufferoverrun.cpp.o [ 27%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkclass.cpp.o [ 28%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkcondition.cpp.o [ 30%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkexceptionsafety.cpp.o [ 31%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkfunctions.cpp.o [ 33%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkinternal.cpp.o [ 34%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkio.cpp.o [ 36%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkleakautovar.cpp.o [ 37%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkmemoryleak.cpp.o [ 39%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checknullpointer.cpp.o [ 40%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkother.cpp.o [ 42%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkpostfixoperator.cpp.o [ 43%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checksizeof.cpp.o [ 45%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkstl.cpp.o [ 46%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkstring.cpp.o [ 48%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checktype.cpp.o [ 50%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkuninitvar.cpp.o [ 51%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkunusedfunctions.cpp.o [ 53%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkunusedvar.cpp.o [ 54%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkvaarg.cpp.o [ 56%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/clangimport.cpp.o [ 57%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/cppcheck.cpp.o [ 59%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/ctu.cpp.o [ 60%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/errorlogger.cpp.o [ 62%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/errortypes.cpp.o [ 63%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/exprengine.cpp.o [ 65%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/forwardanalyzer.cpp.o [ 66%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/importproject.cpp.o [ 68%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/library.cpp.o [ 69%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/mathlib.cpp.o [ 71%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/path.cpp.o [ 72%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/pathanalysis.cpp.o [ 74%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/pathmatch.cpp.o [ 75%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/platform.cpp.o [ 77%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/preprocessor.cpp.o [ 78%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/programmemory.cpp.o Received SIGTERM! Received SIGTERM! CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/source_subfolder/externals/tinyxml2/tinyxml2.cpp:436:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 3: ^ /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/source_subfolder/externals/tinyxml2/tinyxml2.cpp:436:9: note: insert '[[clang::fallthrough]];' to silence this warning case 3: ^ [[clang::fallthrough]]; /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/source_subfolder/externals/tinyxml2/tinyxml2.cpp:436:9: note: insert 'break;' to avoid fall-through case 3: ^ break; /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/source_subfolder/externals/tinyxml2/tinyxml2.cpp:441:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 2: ^ /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/source_subfolder/externals/tinyxml2/tinyxml2.cpp:441:9: note: insert '[[clang::fallthrough]];' to silence this warning case 2: ^ [[clang::fallthrough]]; /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/source_subfolder/externals/tinyxml2/tinyxml2.cpp:441:9: note: insert 'break;' to avoid fall-through case 2: ^ break; /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/source_subfolder/externals/tinyxml2/tinyxml2.cpp:446:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] case 1: ^ /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/source_subfolder/externals/tinyxml2/tinyxml2.cpp:446:9: note: insert '[[clang::fallthrough]];' to silence this warning case 1: ^ [[clang::fallthrough]]; /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/source_subfolder/externals/tinyxml2/tinyxml2.cpp:446:9: note: insert 'break;' to avoid fall-through case 1: ^ break; 3 warnings generated. /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/source_subfolder/lib/astutils.cpp:1167:13: warning: empty paragraph passed to '@param' command [-Wdocumentation] * @param tok ~~~~~~~~~^ 1 warning generated. /Users/jenkins/w/BuildSingleReference@8/.conan/data/cppcheck/2.4/_/_/build/d5a0b037e66d2224674924416e8a6ed8d752fc07/source_subfolder/lib/cppcheck.cpp:52:9: warning: 'PCRE_STATIC' macro redefined [-Wmacro-redefined] #define PCRE_STATIC ^ :399:9: note: previous definition is here #define PCRE_STATIC 1 ^ 1 warning generated. make[2]: *** [source_subfolder/lib/CMakeFiles/lib_objs.dir/preprocessor.cpp.o] Terminated: 15 make[2]: *** [source_subfolder/lib/CMakeFiles/lib_objs.dir/platform.cpp.o] Terminated: 15 make[2]: *** wait: Interrupted system call. Stop. make[2]: *** Waiting for unfinished jobs.... make[2]: *** [source_subfolder/lib/CMakeFiles/lib_objs.dir/programmemory.cpp.o] Terminated: 15 make[2]: *** [source_subfolder/lib/CMakeFiles/lib_objs.dir/pathanalysis.cpp.o] Terminated: 15 make[1]: *** [source_subfolder/lib/CMakeFiles/lib_objs.dir/all] Error 2 make: *** [all] Error 2 ERROR: No package matching 'cppcheck' pattern cppcheck/2.4: WARN: Detected build_policy 'always', trying to remove source folder cppcheck/2.4: WARN: This can take a while for big packages ERROR: Exiting with code: 5