>>> hiawatha 11.1 Extracting gzip -d -c /home/peko/autobuild/instance-0/dl/hiawatha/hiawatha-11.1.tar.gz | tar --strip-components=1 -C /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1 -xf - >>> hiawatha 11.1 Patching >>> hiawatha 11.1 Configuring (mkdir -p /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/ && cd /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/ && rm -f CMakeCache.txt && PATH="/home/peko/autobuild/instance-0/output-1/host/bin:/home/peko/autobuild/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /home/peko/autobuild/instance-0/output-1/host/bin/cmake /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/ -DCMAKE_TOOLCHAIN_FILE="/home/peko/autobuild/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 -DENABLE_TOOLKIT=OFF -DCONFIG_DIR=/etc/hiawatha -DLOG_DIR=/var/log -DPID_DIR=/var/run -DWEBROOT_DIR=/var/www/hiawatha -DWORK_DIR=/var/lib/hiawatha -DUSE_SYSTEM_MBEDTLS=ON -DENABLE_XSLT=ON ) -- The C compiler identification is GNU 8.4.0 -- Check for working C compiler: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -- Check for working C compiler: /home/peko/autobuild/instance-0/output-1/host/bin/mips64el-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found LibXml2: /home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib/libxml2.so (found version "2.9.12") -- Found LibXslt: /home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib/libxslt.so (found version "1.1.34") -- Found ZLIB: /home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib/libz.so (found version "1.2.11") -- Looking for crypt.h -- Looking for crypt.h - found -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for include files sys/types.h, netinet/in.h -- Looking for include files sys/types.h, netinet/in.h - found -- Looking for include files sys/types.h, netinet/tcp.h -- Looking for include files sys/types.h, netinet/tcp.h - found -- Looking for rpcsvc/crypt.h -- Looking for rpcsvc/crypt.h - not found -- Looking for setenv -- Looking for setenv - found -- Looking for unsetenv -- Looking for unsetenv - found -- Looking for clearenv -- Looking for clearenv - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for strnstr -- Looking for strnstr - not found -- Looking for strcasestr -- Looking for strcasestr - found -- Looking for strncasestr -- Looking for strncasestr - not found -- Looking for crypt_r in crypt -- Looking for crypt_r in crypt - not found -- Looking for crypt in crypt -- Looking for crypt in crypt - found -- Looking for gzdopen in /home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib/libz.so -- Looking for gzdopen in /home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/lib/libz.so - found -- Looking for SO_ACCEPTFILTER -- Looking for SO_ACCEPTFILTER - not found CMake Warning at CMakeLists.txt:99 (message): Make sure the mbed TLS shared library has been built with the MBEDTLS_THREADING_PTHREAD and MBEDTLS_THREADING_C flags set. Otherwise, it may crash the Hiawatha webserver. -- 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/peko/autobuild/instance-0/output-1/build/hiawatha-11.1 >>> hiawatha 11.1 Building PATH="/home/peko/autobuild/instance-0/output-1/host/bin:/home/peko/autobuild/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/ make[1]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' make[2]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' make[3]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' make[3]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' make[3]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' make[3]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' Scanning dependencies of target cgi-wrapper make[3]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' make[3]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' Scanning dependencies of target ssi-cgi make[3]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' [ 1%] Building C object CMakeFiles/cgi-wrapper.dir/src/alternative.c.o make[3]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' Scanning dependencies of target wigwam make[3]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' [ 3%] Building C object CMakeFiles/ssi-cgi.dir/src/alternative.c.o make[3]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' [ 5%] Building C object CMakeFiles/wigwam.dir/src/alternative.c.o Scanning dependencies of target hiawatha make[3]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' make[3]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' [ 7%] Building C object CMakeFiles/hiawatha.dir/src/alternative.c.o [ 10%] Building C object CMakeFiles/cgi-wrapper.dir/src/cgi-wrapper.c.o [ 10%] Building C object CMakeFiles/ssi-cgi.dir/src/ip.c.o [ 12%] Building C object CMakeFiles/wigwam.dir/src/filehashes.c.o [ 14%] Building C object CMakeFiles/hiawatha.dir/src/cache.c.o [ 16%] Building C object CMakeFiles/wigwam.dir/src/ip.c.o /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/cache.c: In function 'make_url.isra.1': /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/cache.c:144:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(url + len, request_uri, len_ru + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/cache.c:138:11: note: length computed here len_ru = strlen(request_uri); ^~~~~~~~~~~~~~~~~~~ [ 18%] Building C object CMakeFiles/ssi-cgi.dir/src/libfs.c.o [ 20%] Building C object CMakeFiles/cgi-wrapper.dir/src/memdbg.c.o [ 21%] Building C object CMakeFiles/cgi-wrapper.dir/src/libfs.c.o [ 23%] Building C object CMakeFiles/wigwam.dir/src/libfs.c.o [ 25%] Building C object CMakeFiles/hiawatha.dir/src/cgi.c.o /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/libfs.c: In function 'fopen_neighbour': /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/libfs.c:570:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(file + len_nb, filename, len_fn + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/libfs.c:564:11: note: length computed here len_fn = strlen(filename); ^~~~~~~~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/libfs.c: In function 'fopen_neighbour': /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/libfs.c:570:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(file + len_nb, filename, len_fn + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/libfs.c:564:11: note: length computed here len_fn = strlen(filename); ^~~~~~~~~~~~~~~~ [ 27%] Building C object CMakeFiles/ssi-cgi.dir/src/liblist.c.o [ 29%] Building C object CMakeFiles/cgi-wrapper.dir/src/libstr.c.o /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/libfs.c: In function 'fopen_neighbour': /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/libfs.c:570:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(file + len_nb, filename, len_fn + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/libfs.c:564:11: note: length computed here len_fn = strlen(filename); ^~~~~~~~~~~~~~~~ [ 30%] Building C object CMakeFiles/wigwam.dir/src/libstr.c.o [ 32%] Building C object CMakeFiles/hiawatha.dir/src/challenge.c.o [ 34%] Building C object CMakeFiles/ssi-cgi.dir/src/libstr.c.o /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/challenge.c: In function 'send_cookie_tail': /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/challenge.c:155:19: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] sprintf(conlen, "%d\r\n\r\n", content_length); ^~ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/challenge.c:155:18: note: directive argument in the range [-2147483648, 99999] sprintf(conlen, "%d\r\n\r\n", content_length); ^~~~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/challenge.c:155:2: note: 'sprintf' output between 6 and 16 bytes into a destination of size 10 sprintf(conlen, "%d\r\n\r\n", content_length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 36%] Building C object CMakeFiles/cgi-wrapper.dir/src/userconfig.c.o [ 38%] Building C object CMakeFiles/hiawatha.dir/src/client.c.o [ 40%] Linking C executable cgi-wrapper make[3]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' [ 40%] Built target cgi-wrapper [ 41%] Building C object CMakeFiles/ssi-cgi.dir/src/memdbg.c.o [ 43%] Building C object CMakeFiles/wigwam.dir/src/liblist.c.o [ 45%] Building C object CMakeFiles/ssi-cgi.dir/src/ssi-cgi.c.o [ 47%] Building C object CMakeFiles/wigwam.dir/src/memdbg.c.o [ 49%] Building C object CMakeFiles/wigwam.dir/src/toolkit.c.o [ 50%] Building C object CMakeFiles/wigwam.dir/src/wigwam.c.o /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/wigwam.c: In function 'check_main_config': /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/wigwam.c:585:7: error: too many arguments to function 'mbedtls_pk_parse_keyfile' if (mbedtls_pk_parse_keyfile(&private_key, needle->value, NULL, mbedtls_psa_get_random, MBEDTLS_PSA_RANDOM_STATE) != 0) { ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/mbedtls/ssl_ciphersuites.h:31, from /home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/mbedtls/ssl.h:34, from /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/wigwam.c:37: /home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/mbedtls/pk.h:740:5: note: declared here int mbedtls_pk_parse_keyfile( mbedtls_pk_context *ctx, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/wigwam.c:604:18: error: 'mbedtls_x509_crt' {aka 'struct mbedtls_x509_crt'} has no member named 'MBEDTLS_PRIVATE' if (certificate.MBEDTLS_PRIVATE(sig_md) < MBEDTLS_MD_SHA256) { ^ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/wigwam.c:604:35: error: 'sig_md' undeclared (first use in this function) if (certificate.MBEDTLS_PRIVATE(sig_md) < MBEDTLS_MD_SHA256) { ^~~~~~ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/wigwam.c:604:35: note: each undeclared identifier is reported only once for each function it appears in [ 52%] Building C object CMakeFiles/hiawatha.dir/src/envir.c.o make[3]: *** [CMakeFiles/wigwam.dir/build.make:170: CMakeFiles/wigwam.dir/src/wigwam.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 54%] Building C object CMakeFiles/hiawatha.dir/src/filehashes.c.o make[3]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' make[2]: *** [CMakeFiles/Makefile2:166: CMakeFiles/wigwam.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 56%] Building C object CMakeFiles/hiawatha.dir/src/hiawatha.c.o [ 58%] Linking C executable ssi-cgi make[3]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' [ 58%] Built target ssi-cgi [ 60%] Building C object CMakeFiles/hiawatha.dir/src/http.c.o [ 61%] Building C object CMakeFiles/hiawatha.dir/src/httpauth.c.o [ 63%] Building C object CMakeFiles/hiawatha.dir/src/ip.c.o [ 65%] Building C object CMakeFiles/hiawatha.dir/src/libfs.c.o [ 67%] Building C object CMakeFiles/hiawatha.dir/src/liblist.c.o [ 69%] Building C object CMakeFiles/hiawatha.dir/src/libstr.c.o [ 70%] Building C object CMakeFiles/hiawatha.dir/src/log.c.o /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/libfs.c: In function 'fopen_neighbour': /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/libfs.c:570:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(file + len_nb, filename, len_fn + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/libfs.c:564:11: note: length computed here len_fn = strlen(filename); ^~~~~~~~~~~~~~~~ [ 72%] Building C object CMakeFiles/hiawatha.dir/src/memdbg.c.o [ 74%] Building C object CMakeFiles/hiawatha.dir/src/mimetype.c.o [ 76%] Building C object CMakeFiles/hiawatha.dir/src/monitor.c.o [ 78%] Building C object CMakeFiles/hiawatha.dir/src/rproxy.c.o [ 80%] Building C object CMakeFiles/hiawatha.dir/src/send.c.o [ 81%] Building C object CMakeFiles/hiawatha.dir/src/serverconfig.c.o [ 83%] Building C object CMakeFiles/hiawatha.dir/src/session.c.o /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/rproxy.c: In function 'init_rproxy_module': /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/rproxy.c:65:30: warning: '%s' directive writing up to 32 bytes into a region of size 13 [-Wformat-overflow=] char str[50], *format = "%s %s\r\n"; ^~ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/rproxy.c:83:48: sprintf(rproxy_header, format, rproxy_id_key, rproxy_id); ~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/rproxy.c:83:2: note: 'sprintf' output between 25 and 57 bytes into a destination of size 35 sprintf(rproxy_header, format, rproxy_id_key, rproxy_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 85%] Building C object CMakeFiles/hiawatha.dir/src/tls.c.o [ 87%] Building C object CMakeFiles/hiawatha.dir/src/target.c.o /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/tls.c: In function 'tls_load_key_cert': /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/tls.c:325:16: error: too many arguments to function 'mbedtls_pk_parse_keyfile' if ((result = mbedtls_pk_parse_keyfile(*private_key, file, NULL, mbedtls_psa_get_random, MBEDTLS_PSA_RANDOM_STATE)) != 0) { ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/mbedtls/ssl_ciphersuites.h:31, from /home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/mbedtls/ssl.h:34, from /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/tls.h:28, from /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/tls.c:28: /home/peko/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/mbedtls/pk.h:740:5: note: declared here int mbedtls_pk_parse_keyfile( mbedtls_pk_context *ctx, ^~~~~~~~~~~~~~~~~~~~~~~~ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/tls.c: In function 'tls_accept': /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/tls.c:439:20: error: 'MBEDTLS_ERR_SSL_HANDSHAKE_FAILURE' undeclared (first use in this function); did you mean 'MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE'? if (handshake == MBEDTLS_ERR_SSL_HANDSHAKE_FAILURE) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MBEDTLS_SSL_ALERT_MSG_HANDSHAKE_FAILURE /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/tls.c:439:20: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [CMakeFiles/hiawatha.dir/build.make:352: CMakeFiles/hiawatha.dir/src/tls.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/target.c: In function 'execute_cgi': /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/target.c:1221:24: warning: this statement may fall through [-Wimplicit-fallthrough=] session->keep_alive = false; ^ /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/src/target.c:1222:3: note: here case rs_QUIT: ^~~~ make[3]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' make[2]: *** [CMakeFiles/Makefile2:85: CMakeFiles/hiawatha.dir/all] Error 2 make[2]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' make[1]: *** [Makefile:155: all] Error 2 make[1]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1' make: *** [package/pkg-generic.mk:295: /home/peko/autobuild/instance-0/output-1/build/hiawatha-11.1/.stamp_built] Error 2 make: Leaving directory '/home/peko/autobuild/instance-0/buildroot'