>> ['cmake', '-DCMAKE_INSTALL_PREFIX=/Users/jari/dev/personal/buildhck/client/builds/pi9/pkg', '/Users/jari/dev/personal/buildhck/client/builds/pi9/src']: CMake Warning at /usr/local/Cellar/cmake/3.3.0/share/cmake/Modules/Platform/Darwin-Initialize.cmake:128 (message): Ignoring CMAKE_OSX_SYSROOT value: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk because the directory does not exist. Call Stack (most recent call first): /usr/local/Cellar/cmake/3.3.0/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake:18 (include) CMakeLists.txt:2 (PROJECT) -- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28") -- Could NOT find chck (missing: CHCK_LIBRARIES CHCK_INCLUDE_DIRS) Adding chck as subdirectory -- Performing Test has_fstack_protector_strong -- Performing Test has_fstack_protector_strong - Success -- Performing Test ok -- Performing Test ok - Success -!- Use 'make doxygen' to generate documentation -- -- The following features have been enabled: * Static , Compile as static library -- The following OPTIONAL packages have been found: * PkgConfig * ZLIB Enables compression support * Threads Enables threading support * Valgrind * Doxygen Enables documentation -- The following features have been disabled: * Tests , Compile tests * Static , Compile as static library -- Configuring done -- Generating done -- Build files have been written to: /Users/jari/dev/personal/buildhck/client/builds/pi9/build >> ['make']: Scanning dependencies of target chck_string [ 3%] Building C object lib/chck/chck/string/CMakeFiles/chck_string.dir/string.c.o In file included from /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/string/string.c:2: /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/overflow/overflow.h:29:7: warning: "Using non compiler builtins for overflow checks, this will be undefined for signed integers" [-W#warnings] # warning "Using non compiler builtins for overflow checks, this will be undefined for signed integers" ^ 1 warning generated. [ 7%] Linking C static library ../../lib/libchck-string.a [ 7%] Built target chck_string Scanning dependencies of target chck_tqueue [ 11%] Building C object lib/chck/chck/thread/queue/CMakeFiles/chck_tqueue.dir/queue.c.o In file included from /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/thread/queue/queue.c:2: /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/overflow/overflow.h:29:7: warning: "Using non compiler builtins for overflow checks, this will be undefined for signed integers" [-W#warnings] # warning "Using non compiler builtins for overflow checks, this will be undefined for signed integers" ^ 1 warning generated. [ 14%] Linking C static library ../../../lib/libchck-tqueue.a [ 14%] Built target chck_tqueue Scanning dependencies of target chck_unicode [ 18%] Building C object lib/chck/chck/unicode/CMakeFiles/chck_unicode.dir/unicode.c.o [ 22%] Linking C static library ../../lib/libchck-unicode.a [ 22%] Built target chck_unicode Scanning dependencies of target chck_buffer [ 25%] Building C object lib/chck/chck/buffer/CMakeFiles/chck_buffer.dir/buffer.c.o In file included from /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/buffer/buffer.c:2: /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/overflow/overflow.h:29:7: warning: "Using non compiler builtins for overflow checks, this will be undefined for signed integers" [-W#warnings] # warning "Using non compiler builtins for overflow checks, this will be undefined for signed integers" ^ /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/buffer/buffer.c:406:32: warning: unknown warning group '-Wsuggest-attribute=const', ignored [-Wunknown-pragmas] #pragma GCC diagnostic ignored "-Wsuggest-attribute=const" ^ 2 warnings generated. [ 29%] Linking C static library ../../lib/libchck-buffer.a [ 29%] Built target chck_buffer Scanning dependencies of target chck_pool [ 33%] Building C object lib/chck/chck/pool/CMakeFiles/chck_pool.dir/pool.c.o In file included from /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/pool/pool.c:2: /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/overflow/overflow.h:29:7: warning: "Using non compiler builtins for overflow checks, this will be undefined for signed integers" [-W#warnings] # warning "Using non compiler builtins for overflow checks, this will be undefined for signed integers" ^ 1 warning generated. [ 37%] Linking C static library ../../lib/libchck-pool.a [ 37%] Built target chck_pool Scanning dependencies of target chck_lut [ 40%] Building C object lib/chck/chck/lut/CMakeFiles/chck_lut.dir/lut.c.o In file included from /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/lut/lut.c:2: /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/overflow/overflow.h:29:7: warning: "Using non compiler builtins for overflow checks, this will be undefined for signed integers" [-W#warnings] # warning "Using non compiler builtins for overflow checks, this will be undefined for signed integers" ^ 1 warning generated. [ 44%] Linking C static library ../../lib/libchck-lut.a [ 44%] Built target chck_lut Scanning dependencies of target chck_atlas [ 48%] Building C object lib/chck/chck/atlas/CMakeFiles/chck_atlas.dir/atlas.c.o In file included from /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/atlas/atlas.c:2: /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/overflow/overflow.h:29:7: warning: "Using non compiler builtins for overflow checks, this will be undefined for signed integers" [-W#warnings] # warning "Using non compiler builtins for overflow checks, this will be undefined for signed integers" ^ 1 warning generated. [ 51%] Linking C static library ../../lib/libchck-atlas.a [ 51%] Built target chck_atlas Scanning dependencies of target chck_dl [ 55%] Building C object lib/chck/chck/dl/CMakeFiles/chck_dl.dir/dl.c.o [ 59%] Linking C static library ../../lib/libchck-dl.a [ 59%] Built target chck_dl Scanning dependencies of target chck_fs [ 62%] Building C object lib/chck/chck/fs/CMakeFiles/chck_fs.dir/fs.c.o In file included from /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/fs/fs.c:2: /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/overflow/overflow.h:29:7: warning: "Using non compiler builtins for overflow checks, this will be undefined for signed integers" [-W#warnings] # warning "Using non compiler builtins for overflow checks, this will be undefined for signed integers" ^ /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/fs/fs.c:51:1: warning: unused function 'resize_mul_of' [-Wunused-function] resize_mul_of(char **buf, size_t *size, size_t nsize, size_t mul) ^ 2 warnings generated. [ 66%] Linking C static library ../../lib/libchck-fs.a [ 66%] Built target chck_fs Scanning dependencies of target chck_sjis [ 70%] Building C object lib/chck/chck/sjis/CMakeFiles/chck_sjis.dir/sjis.c.o In file included from /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/sjis/sjis.c:3: /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/overflow/overflow.h:29:7: warning: "Using non compiler builtins for overflow checks, this will be undefined for signed integers" [-W#warnings] # warning "Using non compiler builtins for overflow checks, this will be undefined for signed integers" ^ 1 warning generated. [ 74%] Linking C static library ../../lib/libchck-sjis.a [ 74%] Built target chck_sjis Scanning dependencies of target chck_xdg [ 77%] Building C object lib/chck/chck/xdg/CMakeFiles/chck_xdg.dir/xdg.c.o In file included from /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/xdg/xdg.c:2: /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/overflow/overflow.h:29:7: warning: "Using non compiler builtins for overflow checks, this will be undefined for signed integers" [-W#warnings] # warning "Using non compiler builtins for overflow checks, this will be undefined for signed integers" ^ 1 warning generated. [ 81%] Linking C static library ../../lib/libchck-xdg.a [ 81%] Built target chck_xdg Scanning dependencies of target pi9 [ 85%] Building C object src/CMakeFiles/pi9.dir/pi9.c.o /Users/jari/dev/personal/buildhck/client/builds/pi9/src/src/pi9.c:781:27: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] const uint32_t size = *(uint32_t*)stream->out.buffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. [ 88%] Building C object src/CMakeFiles/pi9.dir/pi9_string.c.o In file included from /Users/jari/dev/personal/buildhck/client/builds/pi9/src/src/pi9_string.c:6: /Users/jari/dev/personal/buildhck/client/builds/pi9/src/lib/chck/chck/overflow/overflow.h:29:7: warning: "Using non compiler builtins for overflow checks, this will be undefined for signed integers" [-W#warnings] # warning "Using non compiler builtins for overflow checks, this will be undefined for signed integers" ^ /Users/jari/dev/personal/buildhck/client/builds/pi9/src/src/pi9_string.c:60:42: warning: format string is not a string literal [-Wformat-nonliteral] const size_t len = vsnprintf(NULL, 0, fmt, args); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/secure/_stdio.h:75:63: note: expanded from macro 'vsnprintf' __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap) ^ /Users/jari/dev/personal/buildhck/client/builds/pi9/src/src/pi9_string.c:64:28: warning: format string is not a string literal [-Wformat-nonliteral] vsnprintf(str, len + 1, fmt, cpy); ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/secure/_stdio.h:75:63: note: expanded from macro 'vsnprintf' __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap) ^ 3 warnings generated. [ 92%] Linking C shared library ../lib/libpi9.dylib [ 92%] Built target pi9 Scanning dependencies of target server [ 96%] Building C object bin/CMakeFiles/server.dir/server.c.o /Users/jari/dev/personal/buildhck/client/builds/pi9/src/bin/server.c:272:33: warning: adding 'uint64_t' (aka 'unsigned long long') to a string does not append to the string [-Wstring-plus-int] if (pi9_write("Hello World!" + offset, 1, count, pi9->stream) != count) ~~~~~~~~~~~~~~~^~~~~~~~ /Users/jari/dev/personal/buildhck/client/builds/pi9/src/bin/server.c:272:33: note: use array indexing to silence this warning if (pi9_write("Hello World!" + offset, 1, count, pi9->stream) != count) ^ & [ ] 1 warning generated. [100%] Linking C executable server [100%] Built target server