Applying /builder/shared-workdir/build/sdk/feeds/routing/hnetd/patches/010-openssl-deprecated.patch using plaintext: patching file src/dtls.c Applying /builder/shared-workdir/build/sdk/feeds/routing/hnetd/patches/020-unused.patch using plaintext: patching file src/hnetd.h CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. Not searching for unused variables given on the command line. -- The C compiler identification is GNU 12.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_mips32_gcc-12.3.0_musl/bin/mipsel-openwrt-linux-musl-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config (found version "2.0.3") -- Checking for module 'json-c' -- Found json-c, version 0.17 fatal: not a git repository (or any of the parent directories): .git -- Found OpenSSL: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/lib/libcrypto.so (found version "3.0.12") -- Configuring done (1.1s) -- Generating done (0.1s) -- Build files have been written to: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661 ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661' [1/88] Building C object CMakeFiles/L_HT.dir/src/hnetd_time.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd_time.c: In function 'hnetd_time_timeout_remaining': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd_time.c:40:3: warning: 'uloop_timeout_remaining' is deprecated: use uloop_timeout_remaining64 [-Wdeprecated-declarations] 40 | return uloop_timeout_remaining(timeout); | ^~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd_time.h:21, from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd_time.c:12: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/libubox/uloop.h:125:5: note: declared here 125 | int uloop_timeout_remaining(struct uloop_timeout *timeout) __attribute__((deprecated("use uloop_timeout_remaining64"))); | ^~~~~~~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [2/88] Building C object CMakeFiles/L_PX.dir/src/prefix.c.o [3/88] Building C object CMakeFiles/L_BT.dir/src/btrie.c.o [4/88] Building C object CMakeFiles/L_BO.dir/src/bitops.c.o [5/88] Building C object CMakeFiles/L_PU.dir/src/prefix_utils.c.o [6/88] Building C object CMakeFiles/L_TLV.dir/src/tlv.c.o [7/88] Building C object CMakeFiles/L_DNCP_BASE.dir/src/dncp.c.o [8/88] Building C object CMakeFiles/L_DNCP_BASE.dir/src/dncp_notify.c.o [9/88] Building C object CMakeFiles/L_DNCP_BASE.dir/src/dncp_timeout.c.o [10/88] Building C object CMakeFiles/L_PA.dir/src/pa_core.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_core.c:691:70: warning: argument 2 of type 'const uint32_t[]' {aka 'const unsigned int[]'} with mismatched bound [-Warray-parameter=] 691 | void pa_core_set_node_id(struct pa_core *core, const PA_NODE_ID_TYPE node_id[]) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_core.c:8: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_core.h:208:39: note: previously declared as 'const uint32_t[1]' {aka 'const unsigned int[1]'} 208 | const PA_NODE_ID_TYPE id[PA_NODE_ID_LEN]); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [11/88] Building C object CMakeFiles/L_PA.dir/src/pa_filters.c.o [12/88] Building C object CMakeFiles/L_PA.dir/src/pa_rules.c.o In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_conf.h:147, from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_core.h:43, from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.h:16, from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.c:7: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd.h: In function 'pa_rule_random_override_match': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd.h:67:5: warning: 'best_type' may be used uninitialized [-Wmaybe-uninitialized] 67 | hnetd_log(level, L_PREFIX __VA_ARGS__); \ | ^~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.c:188:17: note: 'best_type' was declared here 188 | uint8_t best_type; | ^~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.c:238:17: warning: 'best_plen' may be used uninitialized [-Wmaybe-uninitialized] 238 | bmemcpy_shift(&tentative, best_plen, &id, 32 - (desired_plen - best_plen), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 239 | desired_plen - best_plen); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.c:187:17: note: 'best_plen' was declared here 187 | pa_plen best_plen; | ^~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [13/88] Building C object CMakeFiles/L_PA.dir/src/pa_store.c.o [14/88] Building C object CMakeFiles/L_DNCP_PROTO.dir/src/dncp_proto.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_proto.c: In function '_push_tlv': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_proto.c:59:67: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 59 | if ((tlv_len(tb->head) + len + sizeof(struct tlv_attr)) > (1<' may result in an unaligned pointer value [-Waddress-of-packed-member] 1348 | &ra->address, 128, ra->ep_id, 0))) { | ^~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [17/88] Building C object CMakeFiles/L_HNCP_GLUE.dir/src/hncp_sd.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c: In function 'hncp_sd_reconfigure_pcp': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:566:30: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 566 | a4 = &ra->address; | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:568:30: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 568 | a6 = &ra->address; | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c: In function '_set_router_name': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:641:36: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 641 | if (!iface_get_preferred_address(&rname->address, false, NULL)) | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:645:36: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 645 | if (!iface_get_preferred_address(&rname->address, true, NULL)) | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c: In function '_tlv_ddz_matches': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:673:20: warning: '%s' directive writing up to 1008 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 673 | sprintf(buf, "%s.%s", sd->router_name, sd->hncp->domain); | ^~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:673:3: note: 'sprintf' output between 2 and 1265 bytes into a destination of size 256 673 | sprintf(buf, "%s.%s", sd->router_name, sd->hncp->domain); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c: In function '_change_router_name': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:718:35: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 718 | sprintf(sd->router_name, "%s%d", | ^~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:718:32: note: directive argument in the range [-2147483647, 2147483647] 718 | sprintf(sd->router_name, "%s%d", | ^~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:718:7: note: 'sprintf' output between 2 and 267 bytes into a destination of size 256 718 | sprintf(sd->router_name, "%s%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 719 | sd->router_name_base, ++sd->router_name_iteration); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c: In function 'hncp_sd_reconfigure_ddz': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:421:36: warning: array subscript 4096 is outside array bounds of 'char[1009]' [-Warray-bounds] 421 | if (strlen(s) + 1 + c > (buf + ARGS_MAX_LEN)) \ | ~~~~~^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:462:11: note: in expansion of macro 'PUSH_ARG' 462 | PUSH_ARG(buf); | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:449:16: note: at offset 4096 into object 'buf' of size 1009 449 | char buf[DNS_MAX_ESCAPED_LEN]; | ^~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [18/88] Building C object CMakeFiles/L_HNCP_GLUE.dir/src/hncp_link.c.o [19/88] Building C object CMakeFiles/L_HNCP_GLUE.dir/src/exeq.c.o [20/88] Building C object CMakeFiles/L_HNCP_GLUE.dir/src/hncp_multicast.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_multicast.c: In function 'hm_bp_notify': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_multicast.c:167:61: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 167 | !addr_ntop(addr, INET6_ADDRSTRLEN, &p->addr) || | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_multicast.c: In function 'hm_rpa_update': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_multicast.c:259:31: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 259 | hm_rpa_set(m, &((hncp_t_pim_rpa_candidate)found->data)->addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [21/88] Building C object CMakeFiles/L_HNCP_IO.dir/src/hncp_io.c.o [22/88] Building C object CMakeFiles/L_HNCP_IO.dir/src/udp46.c.o [23/88] Building C object CMakeFiles/L_HNCP_IO.dir/src/dtls.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c: In function 'dtls_create': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:729:37: warning: passing argument 2 of 'SSL_CTX_set_cookie_verify_cb' from incompatible pointer type [-Wincompatible-pointer-types] 729 | SSL_CTX_set_cookie_verify_cb(ctx, _cookie_verify_cb); | ^~~~~~~~~~~~~~~~~ | | | int (*)(SSL *, unsigned char *, unsigned int) {aka int (*)(struct ssl_st *, unsigned char *, unsigned int)} In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:42: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/openssl/ssl.h:769:41: note: expected 'int (*)(SSL *, const unsigned char *, unsigned int)' {aka 'int (*)(struct ssl_st *, const unsigned char *, unsigned int)'} but argument is of type 'int (*)(SSL *, unsigned char *, unsigned int)' {aka 'int (*)(struct ssl_st *, unsigned char *, unsigned int)'} 769 | int (*app_verify_cookie_cb) (SSL *ssl, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 770 | const unsigned | ~~~~~~~~~~~~~~ 771 | char *cookie, | ~~~~~~~~~~~~~ 772 | unsigned int | ~~~~~~~~~~~~ 773 | cookie_len)); | ~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c: In function '_connection_poll_read': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:477:13: warning: 'rv' may be used uninitialized [-Wmaybe-uninitialized] 477 | int err = SSL_get_error(dc->ssl, rv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:390:7: note: 'rv' was declared here 390 | int rv; | ^~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [24/88] Building C object CMakeFiles/hnetd.dir/src/hncp_routing.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_routing.c: In function 'hncp_routing_exec': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_routing.c:174:85: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 174 | hn->bfs.next_hop4 = &ra->address; | ^~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [25/88] Building C object CMakeFiles/hnetd.dir/src/dncp_trust.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c: In function '_trust_load': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:182:27: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 182 | vlist_add(&t->tree, &tn->in_tree, tn); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c: In function '_trust_set': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:401:27: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 401 | vlist_add(&t->tree, &tn->in_tree, tn); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c: In function '_trust_get_cert_verdict': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:475:3: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 475 | SHA256_Init(&ctx); | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:61: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:476:3: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 476 | SHA256_Update(&ctx, buf, r); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:477:3: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 477 | SHA256_Final(h.buf, &ctx); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c: In function 'dncp_trust_request_verdict': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:541:30: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 541 | vlist_delete(&t->tree, &otn->in_tree); | ^~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [26/88] Building C object CMakeFiles/hnetd.dir/src/hnetd.c.o In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp.h:16, from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_pa.h:18, from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd.c:23: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd.c: In function 'main': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd.h:66:6: warning: this statement may fall through [-Wimplicit-fallthrough=] 66 | if (hnetd_log && log_level >= level) \ | ^ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd.h:71:20: note: in expansion of macro 'L_INTERNAL' 71 | #define L_ERR(...) L_INTERNAL(LOG_ERR, __VA_ARGS__) | ^~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd.c:284:25: note: in expansion of macro 'L_ERR' 284 | L_ERR("Unrecognized option"); | ^~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd.c:286:17: note: here 286 | case '?': | ^~~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [27/88] Building C object CMakeFiles/hnetd.dir/src/hncp_dump.c.o [28/88] Building C object CMakeFiles/hnetd.dir/src/pd.c.o [29/88] Building C object CMakeFiles/hnetd.dir/src/hncp_wifi.c.o [30/88] Building C object CMakeFiles/hnetd.dir/src/iface.c.o [31/88] Building C object CMakeFiles/hnetd.dir/src/hncp_tunnel.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_tunnel.c: In function 'hncp_tunnel_is_private_v4': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_tunnel.c:163:60: warning: bitwise comparison always evaluates to false [-Wtautological-compare] 163 | (addr[0] == 172 && (addr[1] & 0xf) == 16) || | ^~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_tunnel.c: In function 'hncp_tunnel_discover': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_tunnel.c:240:75: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 240 | hncp_tunnel_is_private_v6(&negotiate.address.address))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [32/88] Building C object CMakeFiles/dncp.dir/src/hnetd_time.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd_time.c: In function 'hnetd_time_timeout_remaining': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd_time.c:40:3: warning: 'uloop_timeout_remaining' is deprecated: use uloop_timeout_remaining64 [-Wdeprecated-declarations] 40 | return uloop_timeout_remaining(timeout); | ^~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd_time.h:21, from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd_time.c:12: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/libubox/uloop.h:125:5: note: declared here 125 | int uloop_timeout_remaining(struct uloop_timeout *timeout) __attribute__((deprecated("use uloop_timeout_remaining64"))); | ^~~~~~~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [33/88] Building C object CMakeFiles/dncp.dir/src/prefix.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times [34/88] Building C object CMakeFiles/dncp.dir/src/tlv.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times [35/88] Building C object CMakeFiles/hnetd.dir/src/platform-openwrt.c.o [36/88] Linking C executable hnetd [37/88] Building C object CMakeFiles/dncp.dir/src/dncp.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times [38/88] Building C object CMakeFiles/dncp.dir/src/dncp_notify.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times [39/88] Building C object CMakeFiles/dncp.dir/src/dncp_timeout.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times [40/88] Building C object CMakeFiles/dncp.dir/src/dncp_proto.c.o cc1: note: someone does not honour COPTS correctly, passed 2 times /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_proto.c: In function '_push_tlv': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_proto.c:59:67: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 59 | if ((tlv_len(tb->head) + len + sizeof(struct tlv_attr)) > (1<ssl, rv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:390:7: note: 'rv' was declared here 390 | int rv; | ^~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [42/88] Linking C static library libdncp.a [43/88] Building C object CMakeFiles/libdncp_example.dir/examples/libdncp_example.c.o [44/88] Linking C executable libdncp_example [45/88] Building C object CMakeFiles/test_dummy.dir/test/test_dummy.c.o [46/88] Linking C executable test_dummy [47/88] Building C object CMakeFiles/test_tlv.dir/test/test_tlv.c.o [48/88] Linking C executable test_tlv [49/88] Building C object CMakeFiles/test_hncp.dir/test/test_hncp.c.o [50/88] Building C object CMakeFiles/test_hncp.dir/src/dncp_trust.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c: In function '_trust_load': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:182:27: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 182 | vlist_add(&t->tree, &tn->in_tree, tn); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c: In function '_trust_set': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:401:27: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 401 | vlist_add(&t->tree, &tn->in_tree, tn); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c: In function '_trust_get_cert_verdict': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:475:3: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 475 | SHA256_Init(&ctx); | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:61: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:476:3: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 476 | SHA256_Update(&ctx, buf, r); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:477:3: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 477 | SHA256_Final(h.buf, &ctx); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c: In function 'dncp_trust_request_verdict': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:541:30: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 541 | vlist_delete(&t->tree, &otn->in_tree); | ^~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [51/88] Linking C executable test_hncp [52/88] Building C object CMakeFiles/test_dtls.dir/test/test_dtls.c.o In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/test/test_dtls.c:21: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c: In function 'dtls_create': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:729:37: warning: passing argument 2 of 'SSL_CTX_set_cookie_verify_cb' from incompatible pointer type [-Wincompatible-pointer-types] 729 | SSL_CTX_set_cookie_verify_cb(ctx, _cookie_verify_cb); | ^~~~~~~~~~~~~~~~~ | | | int (*)(SSL *, unsigned char *, unsigned int) {aka int (*)(struct ssl_st *, unsigned char *, unsigned int)} In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:42: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/openssl/ssl.h:769:41: note: expected 'int (*)(SSL *, const unsigned char *, unsigned int)' {aka 'int (*)(struct ssl_st *, const unsigned char *, unsigned int)'} but argument is of type 'int (*)(SSL *, unsigned char *, unsigned int)' {aka 'int (*)(struct ssl_st *, unsigned char *, unsigned int)'} 769 | int (*app_verify_cookie_cb) (SSL *ssl, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 770 | const unsigned | ~~~~~~~~~~~~~~ 771 | char *cookie, | ~~~~~~~~~~~~~ 772 | unsigned int | ~~~~~~~~~~~~ 773 | cookie_len)); | ~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c: In function '_connection_poll_read': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:477:13: warning: 'rv' may be used uninitialized [-Wmaybe-uninitialized] 477 | int err = SSL_get_error(dc->ssl, rv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:390:7: note: 'rv' was declared here 390 | int rv; | ^~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [53/88] Linking C executable test_dtls [54/88] Building C object CMakeFiles/test_dncp_trust.dir/test/test_dncp_trust.c.o [55/88] Building C object CMakeFiles/test_dncp_trust.dir/src/dncp_trust.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c: In function '_trust_load': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:182:27: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 182 | vlist_add(&t->tree, &tn->in_tree, tn); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c: In function '_trust_set': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:401:27: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 401 | vlist_add(&t->tree, &tn->in_tree, tn); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c: In function '_trust_get_cert_verdict': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:475:3: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 475 | SHA256_Init(&ctx); | ^~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:61: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/openssl/sha.h:73:27: note: declared here 73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c); | ^~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:476:3: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 476 | SHA256_Update(&ctx, buf, r); | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/openssl/sha.h:74:27: note: declared here 74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c, | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:477:3: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 477 | SHA256_Final(h.buf, &ctx); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/openssl/sha.h:76:27: note: declared here 76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c); | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c: In function 'dncp_trust_request_verdict': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dncp_trust.c:541:30: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 541 | vlist_delete(&t->tree, &otn->in_tree); | ^~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [56/88] Building C object CMakeFiles/test_dncp_trust.dir/src/udp46.c.o [57/88] Building C object CMakeFiles/test_dncp_trust.dir/src/dtls.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c: In function 'dtls_create': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:729:37: warning: passing argument 2 of 'SSL_CTX_set_cookie_verify_cb' from incompatible pointer type [-Wincompatible-pointer-types] 729 | SSL_CTX_set_cookie_verify_cb(ctx, _cookie_verify_cb); | ^~~~~~~~~~~~~~~~~ | | | int (*)(SSL *, unsigned char *, unsigned int) {aka int (*)(struct ssl_st *, unsigned char *, unsigned int)} In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:42: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/openssl/ssl.h:769:41: note: expected 'int (*)(SSL *, const unsigned char *, unsigned int)' {aka 'int (*)(struct ssl_st *, const unsigned char *, unsigned int)'} but argument is of type 'int (*)(SSL *, unsigned char *, unsigned int)' {aka 'int (*)(struct ssl_st *, unsigned char *, unsigned int)'} 769 | int (*app_verify_cookie_cb) (SSL *ssl, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 770 | const unsigned | ~~~~~~~~~~~~~~ 771 | char *cookie, | ~~~~~~~~~~~~~ 772 | unsigned int | ~~~~~~~~~~~~ 773 | cookie_len)); | ~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c: In function '_connection_poll_read': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:477:13: warning: 'rv' may be used uninitialized [-Wmaybe-uninitialized] 477 | int err = SSL_get_error(dc->ssl, rv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:390:7: note: 'rv' was declared here 390 | int rv; | ^~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [58/88] Linking C executable test_dncp_trust [59/88] Building C object CMakeFiles/test_hncp_io.dir/test/test_hncp_io.c.o [60/88] Building C object CMakeFiles/test_hncp_io.dir/src/udp46.c.o [61/88] Building C object CMakeFiles/test_exeq.dir/test/test_exeq.c.o [62/88] Linking C executable test_exeq [63/88] Building C object CMakeFiles/test_hncp_io.dir/src/dtls.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c: In function 'dtls_create': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:729:37: warning: passing argument 2 of 'SSL_CTX_set_cookie_verify_cb' from incompatible pointer type [-Wincompatible-pointer-types] 729 | SSL_CTX_set_cookie_verify_cb(ctx, _cookie_verify_cb); | ^~~~~~~~~~~~~~~~~ | | | int (*)(SSL *, unsigned char *, unsigned int) {aka int (*)(struct ssl_st *, unsigned char *, unsigned int)} In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:42: /builder/shared-workdir/build/sdk/staging_dir/target-mipsel_mips32_musl/usr/include/openssl/ssl.h:769:41: note: expected 'int (*)(SSL *, const unsigned char *, unsigned int)' {aka 'int (*)(struct ssl_st *, const unsigned char *, unsigned int)'} but argument is of type 'int (*)(SSL *, unsigned char *, unsigned int)' {aka 'int (*)(struct ssl_st *, unsigned char *, unsigned int)'} 769 | int (*app_verify_cookie_cb) (SSL *ssl, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 770 | const unsigned | ~~~~~~~~~~~~~~ 771 | char *cookie, | ~~~~~~~~~~~~~ 772 | unsigned int | ~~~~~~~~~~~~ 773 | cookie_len)); | ~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c: In function '_connection_poll_read': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:477:13: warning: 'rv' may be used uninitialized [-Wmaybe-uninitialized] 477 | int err = SSL_get_error(dc->ssl, rv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/dtls.c:390:7: note: 'rv' was declared here 390 | int rv; | ^~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [64/88] Linking C executable test_hncp_io [65/88] Building C object CMakeFiles/test_hncp_net.dir/test/test_hncp_net.c.o [66/88] Building C object CMakeFiles/test_hncp_sd.dir/test/test_hncp_sd.c.o In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/test/test_hncp_sd.c:25: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c: In function 'hncp_sd_reconfigure_pcp': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:566:30: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 566 | a4 = &ra->address; | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:568:30: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 568 | a6 = &ra->address; | ^~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c: In function '_set_router_name': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:641:36: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 641 | if (!iface_get_preferred_address(&rname->address, false, NULL)) | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:645:36: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 645 | if (!iface_get_preferred_address(&rname->address, true, NULL)) | ^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c: In function '_tlv_ddz_matches': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:673:20: warning: '%s' directive writing up to 1008 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 673 | sprintf(buf, "%s.%s", sd->router_name, sd->hncp->domain); | ^~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:673:3: note: 'sprintf' output between 2 and 1265 bytes into a destination of size 256 673 | sprintf(buf, "%s.%s", sd->router_name, sd->hncp->domain); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c: In function '_change_router_name': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:718:35: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 718 | sprintf(sd->router_name, "%s%d", | ^~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:718:32: note: directive argument in the range [-2147483647, 2147483647] 718 | sprintf(sd->router_name, "%s%d", | ^~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:718:7: note: 'sprintf' output between 2 and 267 bytes into a destination of size 256 718 | sprintf(sd->router_name, "%s%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 719 | sd->router_name_base, ++sd->router_name_iteration); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c: In function 'hncp_sd_reconfigure_ddz': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:421:36: warning: array subscript 4096 is outside array bounds of 'char[1009]' [-Warray-bounds] 421 | if (strlen(s) + 1 + c > (buf + ARGS_MAX_LEN)) \ | ~~~~~^~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:462:11: note: in expansion of macro 'PUSH_ARG' 462 | PUSH_ARG(buf); | ^~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hncp_sd.c:449:16: note: at offset 4096 into object 'buf' of size 1009 449 | char buf[DNS_MAX_ESCAPED_LEN]; | ^~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [67/88] Linking C executable test_hncp_net [68/88] Building C object CMakeFiles/test_hncp_sd.dir/src/hncp.c.o [69/88] Building C object CMakeFiles/test_hncp_sd.dir/src/hncp_link.c.o [70/88] Linking C executable test_hncp_sd [71/88] Building C object CMakeFiles/test_pa_core.dir/src/pa_rules.c.o In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_conf.h:147, from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_core.h:43, from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.h:16, from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.c:7: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd.h: In function 'pa_rule_random_override_match': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd.h:67:5: warning: 'best_type' may be used uninitialized [-Wmaybe-uninitialized] 67 | hnetd_log(level, L_PREFIX __VA_ARGS__); \ | ^~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.c:188:17: note: 'best_type' was declared here 188 | uint8_t best_type; | ^~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.c:238:17: warning: 'best_plen' may be used uninitialized [-Wmaybe-uninitialized] 238 | bmemcpy_shift(&tentative, best_plen, &id, 32 - (desired_plen - best_plen), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 239 | desired_plen - best_plen); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.c:187:17: note: 'best_plen' was declared here 187 | pa_plen best_plen; | ^~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [72/88] Building C object CMakeFiles/test_pa_core.dir/src/pa_filters.c.o [73/88] Building C object CMakeFiles/test_pa_filters.dir/test/test_pa_filters.c.o [74/88] Linking C executable test_pa_filters [75/88] Building C object CMakeFiles/test_pa_rules.dir/test/test_pa_rules.c.o In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/test/test_pa_rules.c:16: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd.h: In function 'pa_rule_random_override_match': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/hnetd.h:67:5: warning: 'best_type' may be used uninitialized [-Wmaybe-uninitialized] 67 | hnetd_log(level, L_PREFIX __VA_ARGS__); \ | ^~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/test/test_pa_rules.c:63: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.c:188:17: note: 'best_type' was declared here 188 | uint8_t best_type; | ^~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.c:238:17: warning: 'best_plen' may be used uninitialized [-Wmaybe-uninitialized] 238 | bmemcpy_shift(&tentative, best_plen, &id, 32 - (desired_plen - best_plen), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 239 | desired_plen - best_plen); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.c:187:17: note: 'best_plen' was declared here 187 | pa_plen best_plen; | ^~~~~~~~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [76/88] Building C object CMakeFiles/test_pa_rules.dir/src/pa_core.c.o /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_core.c:691:70: warning: argument 2 of type 'const uint32_t[]' {aka 'const unsigned int[]'} with mismatched bound [-Warray-parameter=] 691 | void pa_core_set_node_id(struct pa_core *core, const PA_NODE_ID_TYPE node_id[]) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_core.c:8: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_core.h:208:39: note: previously declared as 'const uint32_t[1]' {aka 'const unsigned int[1]'} 208 | const PA_NODE_ID_TYPE id[PA_NODE_ID_LEN]); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [77/88] Linking C executable test_pa_rules [78/88] Building C object CMakeFiles/test_pa_store.dir/test/test_pa_store.c.o In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/test/test_pa_store.c:12: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_core.c:691:70: warning: argument 2 of type 'const uint32_t[]' {aka 'const unsigned int[]'} with mismatched bound [-Warray-parameter=] 691 | void pa_core_set_node_id(struct pa_core *core, const PA_NODE_ID_TYPE node_id[]) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_core.c:8: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_core.h:208:39: note: previously declared as 'const uint32_t[1]' {aka 'const unsigned int[1]'} 208 | const PA_NODE_ID_TYPE id[PA_NODE_ID_LEN]); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [79/88] Linking C executable test_pa_store [80/88] Building C object CMakeFiles/test_iface.dir/test/test_iface.c.o [81/88] Linking C executable test_iface [82/88] Building C object CMakeFiles/test_btrie.dir/test/test_btrie.c.o [83/88] Linking C executable test_btrie [84/88] Building C object CMakeFiles/test_bitops.dir/test/test_bitops.c.o [85/88] Building C object CMakeFiles/test_bitops.dir/src/bitops.c.o [86/88] Linking C executable test_bitops [87/88] Building C object CMakeFiles/test_pa_core.dir/test/test_pa_core.c.o In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/test/test_pa_core.c:45: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_core.c:691:70: warning: argument 2 of type 'const uint32_t[]' {aka 'const unsigned int[]'} with mismatched bound [-Warray-parameter=] 691 | void pa_core_set_node_id(struct pa_core *core, const PA_NODE_ID_TYPE node_id[]) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_rules.h:16, from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/test/test_pa_core.c:42: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/src/pa_core.h:208:39: note: previously declared as 'const uint32_t[1]' {aka 'const unsigned int[1]'} 208 | const PA_NODE_ID_TYPE id[PA_NODE_ID_LEN]); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/test/fake_uloop.h:40, from /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/test/test_pa_core.c:9: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/test/sput.h: In function 'pa_core_norule': /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/test/sput.h:318:12: warning: 'ldp' may be used uninitialized [-Wmaybe-uninitialized] 318 | if (! (_cond)) \ | ^ /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/test/test_pa_core.c:802:24: note: 'ldp' was declared here 802 | struct pa_ldp *ldp, *ldp2; | ^~~ At top level: cc1: note: unrecognized command-line option '-Wno-gnu' may have been intended to silence earlier diagnostics [88/88] Linking C executable test_pa_core ninja: Entering directory `/builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661' [0/1] Install the project... -- Install configuration: "Release" -- Installing: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_mips32_musl/hnetd-openssl/hnetd-2018-12-21-c4376661/ipkg-install/usr/sbin/hnetd Package hnetd-openssl is missing dependencies for the following libraries: libblobmsg_json.so.20231127 make[3]: *** [Makefile:187: /builder/shared-workdir/build/sdk/bin/packages/mipsel_mips32/routing/hnetd-openssl_2018-12-21-c4376661-1_mipsel_mips32.ipk] Error 1 time: package/feeds/routing/hnetd/openssl/compile#122.38#5.74#79.22