******************************************************************************** conan install cppcheck/2.2@ --build=cppcheck --profile=/Users/jenkins/w/BuildSingleReference@10/20591/70c96c99-4b54-47e4-8164-23390c7c6e49/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=10.0 os=Macos os_build=Macos [options] [build_requires] [env] cppcheck/2.2: Building package from source as defined by build_policy='always' cppcheck/2.2: Forced build from source Installing package: cppcheck/2.2 Requirements bzip2/1.0.8 from 'conan-center' - Cache cppcheck/2.2 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:78ab9b2bad3359502e214008abda7b45b0b9daa0 - Cache cppcheck/2.2:298fe6610055fcd9e00386b26ec31cb00ef0c31f - Build mpir/3.0.0:0cd61f8788f78b0e527e31c1a0212f0a6991a144 - Cache pcre/8.44:7d50b09a07bcd34f2fb7fa08b6a41621b4be7a89 - Cache z3/4.8.8:155bf6b81d31b2abdd4c7f86168657c2b77ddd92 - Cache zlib/1.2.11:1513b3452ef7e2a2dd5f931247c5e02edeb98cc9 - Cache Installing (downloading, building) binaries... bzip2/1.0.8: Already installed! bzip2/1.0.8: Appending PATH environment variable: /Users/jenkins/w/BuildSingleReference@10/.conan/data/bzip2/1.0.8/_/_/package/78ab9b2bad3359502e214008abda7b45b0b9daa0/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@10/.conan/data/pcre/8.44/_/_/package/7d50b09a07bcd34f2fb7fa08b6a41621b4be7a89/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.2: Configuring sources in /Users/jenkins/w/BuildSingleReference@10/.conan/data/cppcheck/2.2/_/_/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.2: Copying sources to build folder cppcheck/2.2: Building your package in /Users/jenkins/w/BuildSingleReference@10/.conan/data/cppcheck/2.2/_/_/build/298fe6610055fcd9e00386b26ec31cb00ef0c31f cppcheck/2.2: 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.2: Calling build() ----Running------ > cd '/Users/jenkins/w/BuildSingleReference@10/.conan/data/cppcheck/2.2/_/_/build/298fe6610055fcd9e00386b26ec31cb00ef0c31f/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="10.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/BuildSingleReference@10/.conan/data/cppcheck/2.2/_/_/package/298fe6610055fcd9e00386b26ec31cb00ef0c31f" -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@10/.conan/data/cppcheck/2.2/_/_/build/298fe6610055fcd9e00386b26ec31cb00ef0c31f' ----------------- -- The C compiler identification is AppleClang 10.0.1.10010046 -- The CXX compiler identification is AppleClang 10.0.1.10010046 -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- Check for working C compiler: /Library/Developer/CommandLineTools/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: /Library/Developer/CommandLineTools/usr/bin/c++ -- Check for working CXX compiler: /Library/Developer/CommandLineTools/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@10/.conan/data/z3/4.8.8/_/_/package/155bf6b81d31b2abdd4c7f86168657c2b77ddd92/lib/libz3.a -- Library pcreposix found /Users/jenkins/w/BuildSingleReference@10/.conan/data/pcre/8.44/_/_/package/7d50b09a07bcd34f2fb7fa08b6a41621b4be7a89/lib/libpcreposix.a -- Library pcre found /Users/jenkins/w/BuildSingleReference@10/.conan/data/pcre/8.44/_/_/package/7d50b09a07bcd34f2fb7fa08b6a41621b4be7a89/lib/libpcre.a -- Library pcre16 found /Users/jenkins/w/BuildSingleReference@10/.conan/data/pcre/8.44/_/_/package/7d50b09a07bcd34f2fb7fa08b6a41621b4be7a89/lib/libpcre16.a -- Library pcre32 found /Users/jenkins/w/BuildSingleReference@10/.conan/data/pcre/8.44/_/_/package/7d50b09a07bcd34f2fb7fa08b6a41621b4be7a89/lib/libpcre32.a -- Library mpirxx found /Users/jenkins/w/BuildSingleReference@10/.conan/data/mpir/3.0.0/_/_/package/0cd61f8788f78b0e527e31c1a0212f0a6991a144/lib/libmpirxx.a -- Library mpir found /Users/jenkins/w/BuildSingleReference@10/.conan/data/mpir/3.0.0/_/_/package/0cd61f8788f78b0e527e31c1a0212f0a6991a144/lib/libmpir.a -- Library gmpxx found /Users/jenkins/w/BuildSingleReference@10/.conan/data/mpir/3.0.0/_/_/package/0cd61f8788f78b0e527e31c1a0212f0a6991a144/lib/libgmpxx.a -- Library gmp found /Users/jenkins/w/BuildSingleReference@10/.conan/data/mpir/3.0.0/_/_/package/0cd61f8788f78b0e527e31c1a0212f0a6991a144/lib/libgmp.a -- Library bz2 found /Users/jenkins/w/BuildSingleReference@10/.conan/data/bzip2/1.0.8/_/_/package/78ab9b2bad3359502e214008abda7b45b0b9daa0/lib/libbz2.a -- Library z found /Users/jenkins/w/BuildSingleReference@10/.conan/data/zlib/1.2.11/_/_/package/1513b3452ef7e2a2dd5f931247c5e02edeb98cc9/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 - Failed -- ------------------ General configuration for Cppcheck 2.2 ----------------- -- -- CMake Generator = Unix Makefiles -- Compiler = Clang -- Compiler Version = 10.0.1.10010046 -- Build type = Debug -- CMAKE_INSTALL_PREFIX = /Users/jenkins/w/BuildSingleReference@10/.conan/data/cppcheck/2.2/_/_/package/298fe6610055fcd9e00386b26ec31cb00ef0c31f -- CMAKE_DISABLE_PRECOMPILE_HEADERS = On -- 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 -- 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@10/.conan/data/z3/4.8.8/_/_/package/155bf6b81d31b2abdd4c7f86168657c2b77ddd92/include -- -- CLANG_TIDY=CLANG_TIDY-NOTFOUND -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/BuildSingleReference@10/.conan/data/cppcheck/2.2/_/_/build/298fe6610055fcd9e00386b26ec31cb00ef0c31f/build_subfolder ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference@10/.conan/data/cppcheck/2.2/_/_/build/298fe6610055fcd9e00386b26ec31cb00ef0c31f/build_subfolder' '--' '-j4' ----------------- Scanning dependencies of target simplecpp_objs Scanning dependencies of target tinyxml_objs [ 1%] Building CXX object source_subfolder/externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o [ 3%] Building CXX object source_subfolder/externals/tinyxml/CMakeFiles/tinyxml_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/analyzerinfo.cpp.o [ 6%] Built target tinyxml_objs [ 7%] Building CXX object source_subfolder/cli/CMakeFiles/cli_objs.dir/cppcheckexecutor.cpp.o [ 9%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/astutils.cpp.o [ 11%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/bughuntingchecks.cpp.o [ 12%] Building CXX object source_subfolder/cli/CMakeFiles/cli_objs.dir/filelister.cpp.o [ 12%] Built target simplecpp_objs [ 14%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/check.cpp.o [ 15%] Building CXX object source_subfolder/cli/CMakeFiles/cli_objs.dir/threadexecutor.cpp.o [ 17%] 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 [ 20%] 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 [ 23%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkboost.cpp.o [ 23%] Built target cli_objs [ 25%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkbufferoverrun.cpp.o [ 26%] 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 [ 38%] 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 [ 41%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkother.cpp.o [ 42%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checksizeof.cpp.o [ 44%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkstl.cpp.o [ 46%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkpostfixoperator.cpp.o [ 47%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkstring.cpp.o [ 49%] 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 [ 52%] 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 [ 55%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/checkvaarg.cpp.o [ 57%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/clangimport.cpp.o [ 58%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/cppcheck.cpp.o [ 60%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/ctu.cpp.o [ 61%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/errorlogger.cpp.o [ 63%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/errortypes.cpp.o [ 65%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/exprengine.cpp.o [ 66%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/forwardanalyzer.cpp.o [ 68%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/importproject.cpp.o [ 69%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/library.cpp.o [ 71%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/mathlib.cpp.o [ 73%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/path.cpp.o [ 74%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/pathanalysis.cpp.o [ 76%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/pathmatch.cpp.o [ 77%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/platform.cpp.o [ 79%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/preprocessor.cpp.o [ 80%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/programmemory.cpp.o [ 82%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/settings.cpp.o [ 84%] Building CXX object source_subfolder/lib/CMakeFiles/lib_objs.dir/suppressions.cpp.o Received SIGTERM! Received SIGTERM! CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY warning: unknown warning option '-Wno-extra-semi-stmt'; did you mean '-Wno-extra-semi'? [-Wunknown-warning-option] 1 warning generated. /Users/jenkins/w/BuildSingleReference@10/.conan/data/cppcheck/2.2/_/_/build/298fe6610055fcd9e00386b26ec31cb00ef0c31f/source_subfolder/lib/cppcheck.cpp:52:9: warning: 'PCRE_STATIC' macro redefined [-Wmacro-redefined] #define PCRE_STATIC ^ :5:9: note: previous definition is here #define PCRE_STATIC 1 ^ 1 warning generated. clang: error: unable to execute command: Terminated: 15 clang: error: clang frontend command failed due to signal (use -v to see invocation) Apple LLVM version 10.0.1 (clang-1001.0.46.3) Target: x86_64-apple-darwin18.2.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script. make[2]: *** [source_subfolder/lib/CMakeFiles/lib_objs.dir/programmemory.cpp.o] Terminated: 15 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [source_subfolder/lib/CMakeFiles/lib_objs.dir/suppressions.cpp.o] Terminated: 15 make[2]: *** [source_subfolder/lib/CMakeFiles/lib_objs.dir/settings.cpp.o] Terminated: 15 make[2]: *** [source_subfolder/lib/CMakeFiles/lib_objs.dir/preprocessor.cpp.o] Terminated: 15 make[1]: *** [source_subfolder/lib/CMakeFiles/lib_objs.dir/all] Terminated: 15 make: *** [all] Error 2 Child terminated CMake Error: Generator: execution of make failed. Make command was: /usr/bin/make -j4 && ERROR: No package matching 'cppcheck' pattern cppcheck/2.2: WARN: Detected build_policy 'always', trying to remove source folder cppcheck/2.2: WARN: This can take a while for big packages ERROR: Exiting with code: 5