>> ['rm', '-rf', 'CMakeFiles', 'CMakeCache.txt']: >> ['scan-build', 'cmake', '-DCMAKE_BUILD_TYPE=Upstream', '/mnt/media/dev/buildhck/builds/chck/src']: scan-build: Using '/usr/bin/clang-4.0' for static analysis -- The C compiler identification is GNU 6.3.1 -- Check for working C compiler: /usr/lib/clang/ccc-analyzer -- Check for working C compiler: /usr/lib/clang/ccc-analyzer -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Performing Test has_fstack_protector_strong -- Performing Test has_fstack_protector_strong - Success -- Performing Test ok -- Performing Test ok - Success -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found MATH: /usr/lib64/libm.so -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found valgrind: /usr/include -- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") -!- Use 'make doxygen' to generate documentation -- -- The following features have been enabled: * Tests , Compile tests -- The following OPTIONAL packages have been found: * ZLIB Enables compression support * Threads Enables threading support * Valgrind * Doxygen Enables documentation -- The following REQUIRED packages have been found: * Math , Standard C math library -- The following features have been disabled: * Static , Compile as static library -- Configuring done -- Generating done -- Build files have been written to: /mnt/media/dev/buildhck/builds/chck/build scan-build: Removing directory '/tmp/scan-build-2017-04-30-210028-21365-1' because it contains no reports. scan-build: No bugs found. >> ['make', 'clean']: >> ['make']: [ 2%] Building C object chck/buffer/CMakeFiles/chck_buffer.dir/buffer.c.o [ 4%] Linking C shared library ../../lib/libchck-buffer.so [ 4%] Built target chck_buffer [ 6%] Building C object chck/buffer/CMakeFiles/buffer_test.dir/test.c.o [ 8%] Linking C executable ../../test/buffer_test [ 8%] Built target buffer_test [ 10%] Building C object chck/pool/CMakeFiles/chck_pool.dir/pool.c.o /mnt/media/dev/buildhck/builds/chck/src/chck/pool/pool.c:231:7: warning: Null pointer passed as an argument to a 'nonnull' parameter [ 12%] Linking C shared library ../../lib/libchck-pool.so [ 12%] Built target chck_pool [ 14%] Building C object chck/pool/CMakeFiles/pool_test.dir/test.c.o [ 16%] Linking C executable ../../test/pool_test [ 16%] Built target pool_test [ 18%] Building C object chck/lut/CMakeFiles/chck_lut.dir/lut.c.o [ 20%] Linking C shared library ../../lib/libchck-lut.so [ 20%] Built target chck_lut [ 22%] Building C object chck/lut/CMakeFiles/lut_test.dir/test.c.o [ 24%] Linking C executable ../../test/lut_test [ 24%] Built target lut_test [ 26%] Building C object chck/atlas/CMakeFiles/chck_atlas.dir/atlas.c.o [ 28%] Linking C shared library ../../lib/libchck-atlas.so [ 28%] Built target chck_atlas [ 30%] Building C object chck/atlas/CMakeFiles/atlas_test.dir/test.c.o [ 32%] Linking C executable ../../test/atlas_test [ 32%] Built target atlas_test [ 34%] Building C object chck/math/CMakeFiles/math_test.dir/test.c.o [ 36%] Linking C executable ../../test/math_test [ 36%] Built target math_test [ 38%] Building C object chck/bams/CMakeFiles/bams_test.dir/test.c.o [ 40%] Linking C executable ../../test/bams_test [ 40%] Built target bams_test [ 42%] Building C object chck/dl/CMakeFiles/chck_dl.dir/dl.c.o [ 44%] Linking C shared library ../../lib/libchck-dl.so [ 44%] Built target chck_dl [ 46%] Building C object chck/dl/CMakeFiles/dl_test.dir/test.c.o [ 48%] Linking C executable ../../test/dl_test [ 48%] Built target dl_test [ 50%] Building C object chck/fs/CMakeFiles/chck_fs.dir/fs.c.o [ 52%] Linking C shared library ../../lib/libchck-fs.so [ 52%] Built target chck_fs [ 54%] Building C object chck/fs/CMakeFiles/fs_test.dir/test.c.o [ 56%] Linking C executable ../../test/fs_test [ 56%] Built target fs_test [ 58%] Building C object chck/sjis/CMakeFiles/chck_sjis.dir/sjis.c.o [ 60%] Linking C shared library ../../lib/libchck-sjis.so [ 60%] Built target chck_sjis [ 62%] Building C object chck/sjis/CMakeFiles/sjis_test.dir/test.c.o [ 64%] Linking C executable ../../test/sjis_test [ 64%] Built target sjis_test [ 66%] Building C object chck/xdg/CMakeFiles/chck_xdg.dir/xdg.c.o [ 68%] Linking C shared library ../../lib/libchck-xdg.so [ 68%] Built target chck_xdg [ 70%] Building C object chck/xdg/CMakeFiles/xdg_test.dir/test.c.o [ 72%] Linking C executable ../../test/xdg_test [ 72%] Built target xdg_test [ 74%] Building C object chck/string/CMakeFiles/chck_string.dir/string.c.o [ 76%] Linking C shared library ../../lib/libchck-string.so [ 76%] Built target chck_string [ 78%] Building C object chck/string/CMakeFiles/string_test.dir/test.c.o [ 80%] Linking C executable ../../test/string_test [ 80%] Built target string_test [ 82%] Building C object chck/thread/queue/CMakeFiles/chck_tqueue.dir/queue.c.o [ 84%] Linking C shared library ../../../lib/libchck-tqueue.so [ 84%] Built target chck_tqueue [ 86%] Building C object chck/thread/queue/CMakeFiles/thread_queue_test.dir/test.c.o [ 88%] Linking C executable ../../../test/thread_queue_test [ 88%] Built target thread_queue_test [ 90%] Building C object chck/overflow/CMakeFiles/overflow_test.dir/test.c.o [ 92%] Linking C executable ../../test/overflow_test [ 92%] Built target overflow_test [ 94%] Building C object chck/unicode/CMakeFiles/chck_unicode.dir/unicode.c.o [ 96%] Linking C shared library ../../lib/libchck-unicode.so [ 96%] Built target chck_unicode [ 98%] Building C object chck/unicode/CMakeFiles/unicode_test.dir/test.c.o [100%] Linking C executable ../../test/unicode_test [100%] Built target unicode_test memcpy(pb->buffer, items, pb->allocated); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~