>>> monkey f54856ce250c4e25735434dc75717a4b7fbfc45b Extracting gzip -d -c /home/giuliobenetti/autobuild/run/instance-0/dl/monkey/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b.tar.gz | tar --strip-components=1 -C /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b -xf - >>> monkey f54856ce250c4e25735434dc75717a4b7fbfc45b Patching >>> monkey f54856ce250c4e25735434dc75717a4b7fbfc45b Configuring (mkdir -p /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/ && cd /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/ && rm -f CMakeCache.txt && PATH="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/cmake /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/ -DCMAKE_TOOLCHAIN_FILE="/home/giuliobenetti/autobuild/run/instance-0/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_PLUGIN_TLS=ON -DMK_MBEDTLS_SHARED=ON ) -- The C compiler identification is GNU 9.3.0 -- Check for working C compiler: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/powerpc64-linux-gcc -- Check for working C compiler: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/powerpc64-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 - Failed -- 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 -- Looking for accept4 -- Looking for accept4 - found -- Looking for execinfo.h -- Looking for execinfo.h - 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.30.0") Can't open perl script "/home/giuliobenetti/autobuild/run/instance-0/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/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b >>> monkey f54856ce250c4e25735434dc75717a4b7fbfc45b Building PATH="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j5 -C /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/ make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target rbtree Scanning dependencies of target regex make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target co make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 1%] Building C object deps/rbtree/CMakeFiles/rbtree.dir/rbtree.c.o [ 2%] Building C object deps/regex/CMakeFiles/regex.dir/re.c.o [ 3%] Building C object deps/flb_libco/CMakeFiles/co.dir/libco.c.o Scanning dependencies of target mk_core make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target monkey-dirlisting-shared make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 3%] Building C object mk_core/CMakeFiles/mk_core.dir/mk_rconf.c.o [ 4%] Building C object plugins/dirlisting/CMakeFiles/monkey-dirlisting-shared.dir/dirlisting.c.o [ 4%] Linking C static library ../../library/libco.a make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 4%] Built target co make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target monkey-liana-static make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 4%] Building C object plugins/liana/CMakeFiles/monkey-liana-static.dir/liana.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/dirlisting/dirlisting.c: In function 'mk_dirhtml_cb_body_rows': /home/giuliobenetti/autobuild/run/instance-0/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/librbtree.a make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 5%] Built target rbtree make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 6%] Linking C static library ../../library/libregex.a Scanning dependencies of target monkey-mandril-shared make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/liana/liana.c: In function 'mk_liana_send_file': /home/giuliobenetti/autobuild/run/instance-0/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/giuliobenetti/autobuild/run/instance-0/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/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/liana/liana.c:89:13: warning: unused variable 'bytes_written' [-Wunused-variable] 89 | ssize_t bytes_written = 0; | ^~~~~~~~~~~~~ [ 6%] Built target regex [ 7%] Building C object plugins/mandril/CMakeFiles/monkey-mandril-shared.dir/mandril.c.o make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 8%] Linking C static library ../../library/monkey-liana.a Scanning dependencies of target mbedcrypto make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' In file included from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/../include/monkey/mk_core/mk_memory.h:29, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/../include/monkey/mk_core/mk_rconf.h:26, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/mk_rconf.c:30: /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/mk_rconf.c: In function 'mk_rconf_open': /home/giuliobenetti/autobuild/run/instance-0/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/giuliobenetti/autobuild/run/instance-0/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/giuliobenetti/autobuild/run/instance-0/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); | ^~ make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 9%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/aes.c.o [ 9%] Built target monkey-liana-static [ 10%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/aesni.c.o [ 11%] Building C object mk_core/CMakeFiles/mk_core.dir/mk_string.c.o [ 12%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/arc4.c.o [ 13%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/asn1parse.c.o [ 14%] Linking C shared library ../../lib/monkey-dirlisting.so make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 15%] Linking C shared library ../../lib/monkey-mandril.so [ 15%] Built target monkey-dirlisting-shared [ 15%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/asn1write.c.o make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 15%] Built target monkey-mandril-shared [ 16%] Building C object mk_core/CMakeFiles/mk_core.dir/mk_memory.c.o [ 17%] Building C object mk_core/CMakeFiles/mk_core.dir/mk_event.c.o [ 18%] 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_utils.c.o [ 20%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/bignum.c.o [ 20%] Building C object mk_core/CMakeFiles/mk_core.dir/mk_file.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/mk_utils.c: In function 'mk_utils_register_pid': /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/mk_utils.c:363:22: warning: '%ld' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 363 | sprintf(pidstr, "%ld", (long) getpid()); | ^~~ /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/mk_utils.c:363:21: note: directive argument in the range [-2147483648, 2147483647] 363 | sprintf(pidstr, "%ld", (long) getpid()); | ^~~~~ In file included from /home/giuliobenetti/autobuild/run/instance-0/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:867, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/mk_utils.c:23: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 21%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/blowfish.c.o [ 22%] Building C object mk_core/CMakeFiles/mk_core.dir/mk_iov.c.o [ 23%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/camellia.c.o [ 23%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ccm.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_core/mk_iov.c: In function 'mk_iov_create': /home/giuliobenetti/autobuild/run/instance-0/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)); | ^ [ 24%] Linking C static library ../library/libmk_core.a [ 25%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/cipher.c.o make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 25%] Built target mk_core make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target monkey-core-static make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 26%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/cipher_wrap.c.o make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 27%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/monkey.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/monkey.c: In function 'mk_exit_all': /home/giuliobenetti/autobuild/run/instance-0/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/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/monkey.c:25: /home/giuliobenetti/autobuild/run/instance-0/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); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ [ 28%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_lib.c.o [ 29%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/cmac.c.o [ 30%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ctr_drbg.c.o [ 30%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/des.c.o [ 31%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/dhm.c.o [ 32%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ecdh.c.o [ 33%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_fifo.c.o [ 34%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ecdsa.c.o [ 35%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ecjpake.c.o [ 35%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ecp.c.o [ 36%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ecp_curves.c.o [ 37%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/entropy.c.o [ 38%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/entropy_poll.c.o In file included from /home/giuliobenetti/autobuild/run/instance-0/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/string.h:495, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/mk_core/mk_utils.h:25, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/mk_core/mk_iov.h:25, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/mk_core.h:35, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/mk_info.h:23, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/mk_fifo.h:23, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_fifo.c:20: In function 'strncpy', inlined from 'mk_fifo_queue_create' at /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_fifo.c:174:5: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 39%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/error.c.o [ 39%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/gcm.c.o [ 40%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_mimetype.c.o [ 41%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/havege.c.o [ 42%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/hmac_drbg.c.o [ 42%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_vhost.c.o [ 43%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/md.c.o [ 44%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/md2.c.o [ 44%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/md4.c.o [ 45%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/md5.c.o [ 46%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/md_wrap.c.o [ 47%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/memory_buffer_alloc.c.o [ 48%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/oid.c.o [ 48%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/padlock.c.o [ 49%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pem.c.o [ 50%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pk.c.o [ 51%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_header.c.o [ 52%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pk_wrap.c.o [ 53%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pkcs12.c.o [ 53%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pkcs5.c.o [ 54%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pkparse.c.o [ 55%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/pkwrite.c.o [ 56%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_config.c.o [ 57%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/platform.c.o [ 58%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/ripemd160.c.o [ 58%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/rsa.c.o [ 59%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/sha1.c.o [ 60%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_user.c.o [ 61%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/sha256.c.o [ 62%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/sha512.c.o [ 63%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_utils.c.o [ 64%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/threading.c.o [ 64%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/timing.c.o [ 65%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/version.c.o [ 66%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/version_features.c.o [ 67%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedcrypto.dir/xtea.c.o [ 67%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_stream.c.o [ 68%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_scheduler.c.o [ 69%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_http.c.o [ 70%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_http_parser.c.o [ 71%] Linking C static library ../../library/libmbedcrypto.a make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 71%] Built target mbedcrypto make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target mbedx509 make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 71%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/certs.c.o [ 72%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/pkcs11.c.o [ 73%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_http_thread.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_http_parser.c: In function 'mk_http_parser': /home/giuliobenetti/autobuild/run/instance-0/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/giuliobenetti/autobuild/run/instance-0/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/giuliobenetti/autobuild/run/instance-0/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/giuliobenetti/autobuild/run/instance-0/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; | ~~~~~~~~^~~ [ 74%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509.c.o [ 74%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_socket.c.o [ 75%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_net.c.o [ 76%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_clock.c.o [ 77%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_cache.c.o [ 78%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_server.c.o [ 79%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509_create.c.o [ 79%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_kernel.c.o [ 80%] Building C object mk_server/CMakeFiles/monkey-core-static.dir/mk_plugin.c.o [ 81%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509_crl.c.o [ 81%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509_crt.c.o [ 82%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509_csr.c.o [ 83%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509write_crt.c.o [ 84%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedx509.dir/x509write_csr.c.o In file included from /home/giuliobenetti/autobuild/run/instance-0/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/string.h:495, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/monkey.h:30, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_plugin.c:20: In function 'strncpy', inlined from 'mk_plugin_load_all' at /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_plugin.c:480:13: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_plugin.c: In function 'mk_plugin_load_all': /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/mk_server/mk_plugin.c:480:37: note: length computed here 480 | strncpy(shortname, tmp, strlen(tmp) - 3); | ^~~~~~~~~~~ [ 85%] Linking C static library ../library/libmonkey.a make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 85%] Built target monkey-core-static make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target monkey-bin make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target api_error make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target api_test make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 85%] Building C object api/CMakeFiles/api_error.dir/errors.c.o [ 87%] Building C object mk_bin/CMakeFiles/monkey-bin.dir/monkey.c.o [ 87%] Building C object mk_bin/CMakeFiles/monkey-bin.dir/mk_signals.c.o [ 88%] Building C object api/CMakeFiles/api_test.dir/test.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/api/errors.c: In function 'signal_handler': /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/api/errors.c:16:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 16 | write(STDERR_FILENO, "[engine] caught signal\n", 23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/api/test.c: In function 'signal_handler': /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/api/test.c:71:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 71 | write(STDERR_FILENO, "[engine] caught signal\n", 23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 89%] Linking C executable ../bin/api_error [ 90%] Linking C executable ../bin/api_test make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 90%] Built target api_error [ 90%] Linking C executable ../bin/monkey make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 90%] Built target api_test [ 91%] Linking C static library ../../library/libmbedx509.a make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 91%] Built target monkey-bin make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 91%] Built target mbedx509 make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target mbedtls make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 92%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedtls.dir/net_sockets.c.o [ 92%] Building C object mbedtls-2.4.2/library/CMakeFiles/mbedtls.dir/debug.c.o [ 93%] 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/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [ 99%] Built target mbedtls make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' Scanning dependencies of target monkey-tls-shared make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' [100%] Building C object plugins/tls/CMakeFiles/monkey-tls-shared.dir/tls.c.o /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/tls/tls.c: In function 'config_parse': /home/giuliobenetti/autobuild/run/instance-0/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/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/mk_core.h:36, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/monkey.h:43, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/include/monkey/mk_api.h:28, from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/tls/tls.c:45: /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/plugins/tls/tls.c: In function 'mk_tls_plugin_init': /home/giuliobenetti/autobuild/run/instance-0/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/giuliobenetti/autobuild/run/instance-0/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 ) | ^~~~ make[3]: *** [plugins/tls/CMakeFiles/monkey-tls-shared.dir/build.make:63: plugins/tls/CMakeFiles/monkey-tls-shared.dir/tls.c.o] Error 1 make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[2]: *** [CMakeFiles/Makefile2:547: plugins/tls/CMakeFiles/monkey-tls-shared.dir/all] Error 2 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make[1]: *** [Makefile:130: all] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b' make: *** [package/pkg-generic.mk:250: /home/giuliobenetti/autobuild/run/instance-0/output-1/build/monkey-f54856ce250c4e25735434dc75717a4b7fbfc45b/.stamp_built] Error 2 make: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/buildroot'