>>> monkey f54856ce250c4e25735434dc75717a4b7fbfc45b Extracting gzip -d -c /home/buildroot/autobuild/instance-2/dl/monkey/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b -xf - >>> monkey f54856ce250c4e25735434dc75717a4b7fbfc45b Patching >>> monkey f54856ce250c4e25735434dc75717a4b7fbfc45b Configuring (mkdir -p /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/ && cd /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/autobuild/instance-2/output-1/host/bin/cmake /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/ -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/instance-2/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DMK_PATH_WWW=/var/www -DWITHOUT_HEADERS=ON -DMK_MUSL=ON -DMK_BACKTRACE=OFF -DMK_PLUGIN_TLS=ON -DMK_MBEDTLS_SHARED=ON ) -- The C compiler identification is GNU 9.3.0 -- Check for working C compiler: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -- Check for working C compiler: /home/buildroot/autobuild/instance-2/output-1/host/bin/arm-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for accept4 -- Looking for accept4 - found -- Looking for execinfo.h -- Looking for execinfo.h - not found -- Performing Test HAVE_C_TLS -- Performing Test HAVE_C_TLS - Success -- Performing Test MK_HAVE_VALGRIND -- Performing Test MK_HAVE_VALGRIND - Failed -- Performing Test HAVE_REGEX -- Performing Test HAVE_REGEX - Failed -- Performing Test HAVE_STAT_H -- Performing Test HAVE_STAT_H - Success -- Performing Test HAVE_SYS_UIO_H -- Performing Test HAVE_SYS_UIO_H - Success -- Performing Test HAVE_MEMMEM -- Performing Test HAVE_MEMMEM - Success -- Performing Test HAVE_UNISTD_H -- Performing Test HAVE_UNISTD_H - Success -- Performing Test HAVE_EPOLL -- Performing Test HAVE_EPOLL - Success -- Performing Test HAVE_KQUEUE -- Performing Test HAVE_KQUEUE - Failed -- Performing Test HAVE_TIMERFD_CREATE -- Performing Test HAVE_TIMERFD_CREATE - Success -- Performing Test HAVE_EVENTFD -- Performing Test HAVE_EVENTFD - Success -- Performing Test MK_HAVE_MEMRCHR -- Performing Test MK_HAVE_MEMRCHR - Success -- Plugin dirlisting enabled -- Plugin liana enabled [== static ==] -- Plugin mandril enabled -- Found Perl: /usr/bin/perl (found version "5.24.1") Can't open perl script "/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/scripts/config.pl": No such file or directory -- Plugin tls enabled -- LINKING monkey-liana-static; -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b >>> monkey f54856ce250c4e25735434dc75717a4b7fbfc45b Building PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/ make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[2]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target regex Scanning dependencies of target rbtree make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target co make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 1%] Building C object deps/regex/CMakeFiles/regex.dir/re.c.o [ 2%] Building C object deps/flb_libco/CMakeFiles/co.dir/libco.c.o Scanning dependencies of target mk_core [ 3%] Building C object deps/rbtree/CMakeFiles/rbtree.dir/rbtree.c.o make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 3%] Building C object mk_core/CMakeFiles/mk_core.dir/mk_rconf.c.o In file included from /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/deps/flb_libco/libco.c:16: /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/deps/flb_libco/arm.c: In function 'co_create': /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/deps/flb_libco/arm.c:61:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 61 | if(handle = (unsigned long*)malloc(size)) { | ^~~~~~ [ 3%] Linking C static library ../../library/libco.a make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 3%] Built target co make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target monkey-dirlisting-shared make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 4%] Building C object plugins/dirlisting/CMakeFiles/monkey-dirlisting-shared.dir/dirlisting.c.o /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/dirlisting/dirlisting.c: In function 'mk_dirhtml_cb_body_rows': /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/dirlisting/dirlisting.c:667:13: warning: implicit declaration of function 'mk_stream_in_cbuf'; did you mean 'mk_stream_in_raw'? [-Wimplicit-function-declaration] 667 | mk_stream_in_cbuf(req->stream, | ^~~~~~~~~~~~~~~~~ | mk_stream_in_raw [ 5%] Linking C static library ../../library/libregex.a make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 5%] Built target regex make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 6%] Linking C static library ../../library/librbtree.a Scanning dependencies of target monkey-liana-static make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 6%] Building C object plugins/liana/CMakeFiles/monkey-liana-static.dir/liana.c.o make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 6%] Built target rbtree make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target monkey-mandril-shared make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 7%] Building C object plugins/mandril/CMakeFiles/monkey-mandril-shared.dir/mandril.c.o In file included from /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/../include/monkey/mk_core/mk_memory.h:29, from /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/../include/monkey/mk_core/mk_rconf.h:26, from /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/mk_rconf.c:30: /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/mk_rconf.c: In function 'mk_rconf_open': /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/../include/monkey/mk_core/mk_macros.h:42:23: warning: '%s' directive argument is null [-Wformat-overflow=] 42 | #define mk_warn(...) mk_print(MK_WARN, __VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/mk_rconf.c:592:9: note: in expansion of macro 'mk_warn' 592 | mk_warn("[config] invalid path file %s", path); | ^~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/mk_rconf.c:592:45: note: format string is defined here 592 | mk_warn("[config] invalid path file %s", path); | ^~ /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/liana/liana.c: In function 'mk_liana_send_file': /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/liana/liana.c:91:13: warning: unused variable 'send_ret' [-Wunused-variable] 91 | ssize_t send_ret = -1; | ^~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/liana/liana.c:90:13: warning: unused variable 'to_be_sent' [-Wunused-variable] 90 | ssize_t to_be_sent = -1; | ^~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/liana/liana.c:89:13: warning: unused variable 'bytes_written' [-Wunused-variable] 89 | ssize_t bytes_written = 0; | ^~~~~~~~~~~~~ [ 8%] Building C object mk_core/CMakeFiles/mk_core.dir/mk_string.c.o [ 9%] Linking C static library ../../library/monkey-liana.a make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 9%] Built target monkey-liana-static make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target mbedcrypto make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 10%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/aes.c.o [ 11%] Linking C shared library ../../lib/monkey-mandril.so [ 12%] Linking C shared library ../../lib/monkey-dirlisting.so make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 12%] Built target monkey-mandril-shared [ 13%] Building C object mk_core/CMakeFiles/mk_core.dir/mk_memory.c.o [ 14%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/aesni.c.o make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 14%] Built target monkey-dirlisting-shared [ 15%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/arc4.c.o [ 16%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/asn1parse.c.o [ 17%] Building C object mk_core/CMakeFiles/mk_core.dir/mk_event.c.o [ 18%] Building C object mk_core/CMakeFiles/mk_core.dir/mk_utils.c.o [ 18%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/asn1write.c.o [ 19%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/base64.c.o [ 19%] Building C object mk_core/CMakeFiles/mk_core.dir/mk_file.c.o [ 20%] Building C object mk_core/CMakeFiles/mk_core.dir/mk_iov.c.o [ 21%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/bignum.c.o [ 22%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/blowfish.c.o /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/mk_iov.c: In function 'mk_iov_create': /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/mk_iov.c:60:13: warning: assignment to 'struct iovec *' from incompatible pointer type 'struct mk_iov *' [-Wincompatible-pointer-types] 60 | iov->io = (struct mk_iov *)((uint8_t *)p + sizeof(struct mk_iov)); | ^ [ 23%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/camellia.c.o [ 24%] Linking C static library ../library/libmk_core.a make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 24%] Built target mk_core [ 24%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ccm.c.o [ 25%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/cipher.c.o [ 26%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/cipher_wrap.c.o make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target monkey-core-static make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 27%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/monkey.c.o [ 28%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/cmac.c.o [ 29%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ctr_drbg.c.o [ 29%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/des.c.o /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/monkey.c: In function 'mk_exit_all': /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/monkey.c:215:26: warning: passing argument 1 of 'mk_sched_send_signal' from incompatible pointer type [-Wincompatible-pointer-types] 215 | mk_sched_send_signal(server, val); | ^~~~~~ | | | struct mk_server * In file included from /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/monkey.c:25: /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/mk_scheduler.h:345:50: note: expected 'struct mk_sched_worker *' but argument is of type 'struct mk_server *' 345 | int mk_sched_send_signal(struct mk_sched_worker *worker, uint64_t val); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ [ 30%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_lib.c.o [ 31%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/dhm.c.o [ 32%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_fifo.c.o [ 33%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_mimetype.c.o [ 34%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ecdh.c.o [ 35%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ecdsa.c.o /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_fifo.c: In function 'mk_fifo_queue_create': /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_fifo.c:174:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 174 | strncpy(q->name, name, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 36%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ecjpake.c.o [ 36%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_vhost.c.o [ 37%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_header.c.o [ 38%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_config.c.o [ 38%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ecp.c.o [ 39%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_user.c.o [ 40%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_utils.c.o [ 40%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_stream.c.o [ 41%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_scheduler.c.o [ 42%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_http.c.o [ 43%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_http_parser.c.o /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_http_parser.c: In function 'mk_http_parser': /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_http_parser.c:166:21: warning: array subscript 4 is outside array bounds of 'char[4]' [-Warray-bounds] 166 | if (expected[4] != tolower(value[4])) return -1; | ~~~~~~~~^~~ /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_http_parser.c:167:21: warning: array subscript 5 is outside array bounds of 'char[4]' [-Warray-bounds] 167 | if (expected[5] != tolower(value[5])) return -1; | ~~~~~~~~^~~ /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_http_parser.c:168:21: warning: array subscript 6 is outside array bounds of 'char[4]' [-Warray-bounds] 168 | if (expected[6] != tolower(value[6])) return -1; | ~~~~~~~~^~~ /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_http_parser.c:169:21: warning: array subscript 7 is outside array bounds of 'char[4]' [-Warray-bounds] 169 | if (expected[7] != tolower(value[7])) return -1; | ~~~~~~~~^~~ [ 44%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_http_thread.c.o [ 45%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ecp_curves.c.o [ 45%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_socket.c.o [ 46%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/entropy.c.o [ 47%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_net.c.o [ 48%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/entropy_poll.c.o [ 49%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_clock.c.o [ 50%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_cache.c.o [ 51%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/error.c.o [ 52%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_server.c.o [ 52%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/gcm.c.o [ 52%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_kernel.c.o [ 53%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_plugin.c.o [ 54%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/havege.c.o [ 56%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/md.c.o [ 56%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/hmac_drbg.c.o [ 57%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/md2.c.o [ 57%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/md4.c.o [ 58%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/md5.c.o [ 59%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/md_wrap.c.o [ 60%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/memory_buffer_alloc.c.o [ 61%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/oid.c.o /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_plugin.c: In function 'mk_plugin_load_all': /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_plugin.c:480:13: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 480 | strncpy(shortname, tmp, strlen(tmp) - 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_plugin.c:480:37: note: length computed here 480 | strncpy(shortname, tmp, strlen(tmp) - 3); | ^~~~~~~~~~~ [ 61%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/padlock.c.o [ 62%] Linking C static library ../library/libmonkey.a [ 63%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pem.c.o make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 64%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pk.c.o [ 64%] Built target monkey-core-static [ 65%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pk_wrap.c.o [ 66%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pkcs12.c.o [ 66%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pkcs5.c.o [ 67%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pkparse.c.o make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target monkey-bin make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 68%] Building C object mk_bin/CMakeFiles/monkey-bin.dir/monkey.c.o [ 69%] Building C object mk_bin/CMakeFiles/monkey-bin.dir/mk_signals.c.o [ 70%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pkwrite.c.o make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 70%] Linking C executable ../bin/monkey Scanning dependencies of target api_error make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 70%] Building C object api/CMakeFiles/api_error.dir/errors.c.o make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 70%] Built target monkey-bin make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target api_test make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 71%] Building C object api/CMakeFiles/api_test.dir/test.c.o [ 72%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/platform.c.o [ 73%] Linking C executable ../bin/api_error [ 74%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ripemd160.c.o make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 74%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/rsa.c.o [ 74%] Built target api_error [ 75%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/sha1.c.o [ 76%] Linking C executable ../bin/api_test make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 76%] Built target api_test [ 77%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/sha256.c.o [ 78%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/sha512.c.o [ 79%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/threading.c.o [ 79%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/timing.c.o [ 80%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/version.c.o [ 81%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/version_features.c.o [ 82%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/xtea.c.o [ 83%] Linking C static library ../../library/libmbedcrypto.a make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 83%] Built target mbedcrypto make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target mbedx509 make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 83%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/certs.c.o [ 84%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/pkcs11.c.o [ 85%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509.c.o [ 86%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509_create.c.o [ 87%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509_crl.c.o [ 87%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509_crt.c.o [ 88%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509_csr.c.o [ 89%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509write_crt.c.o [ 90%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509write_csr.c.o [ 91%] Linking C static library ../../library/libmbedx509.a make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 91%] Built target mbedx509 make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target mbedtls make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 91%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedtls.dir/debug.c.o [ 92%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedtls.dir/net_sockets.c.o [ 94%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedtls.dir/ssl_cache.c.o [ 94%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedtls.dir/ssl_ciphersuites.c.o [ 95%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedtls.dir/ssl_cli.c.o [ 95%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedtls.dir/ssl_cookie.c.o [ 96%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedtls.dir/ssl_srv.c.o [ 97%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedtls.dir/ssl_ticket.c.o [ 98%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedtls.dir/ssl_tls.c.o [ 99%] Linking C static library ../../library/libmbedtls.a make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 99%] Built target mbedtls make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target monkey-tls-shared make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [100%] Building C object plugins/tls/CMakeFiles/monkey-tls-shared.dir/tls.c.o /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/tls/tls.c: In function 'config_parse': /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/tls/tls.c:237:23: warning: assignment to 'int8_t' {aka 'signed char'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 237 | check_client_cert = mk_api->config_section_get_key(section, | ^ In file included from /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/mk_core.h:36, from /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/monkey.h:43, from /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/mk_api.h:28, from /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/tls/tls.c:45: /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/tls/tls.c: In function 'mk_tls_plugin_init': /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/tls/tls.c:734:42: error: dereferencing pointer to incomplete type 'struct mk_server_config' 734 | mk_list_foreach(head, &mk_api->config->listeners) { | ^~ /home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/mk_core/mk_list.h:141:50: note: in definition of macro 'mk_list_foreach' 141 | #define mk_list_foreach(curr, head) for( curr = (head)->next; curr != (head); curr = curr->next ) | ^~~~ plugins/tls/CMakeFiles/monkey-tls-shared.dir/build.make:62: recipe for target 'plugins/tls/CMakeFiles/monkey-tls-shared.dir/tls.c.o' failed make[3]: *** [plugins/tls/CMakeFiles/monkey-tls-shared.dir/tls.c.o] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' CMakeFiles/Makefile2:546: recipe for target 'plugins/tls/CMakeFiles/monkey-tls-shared.dir/all' failed make[2]: *** [plugins/tls/CMakeFiles/monkey-tls-shared.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Makefile:129: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' package/pkg-generic.mk:247: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-2/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'