make[3]: Entering directory '/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0' arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0=KadNode-2.3.0 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/usr/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/main.o src/main.c arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0=KadNode-2.3.0 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/usr/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/searches.o src/searches.c src/searches.c: In function 'searches_debug': src/searches.c:223:43: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 223 | fprintf(fp, " started: %ldm ago\n", (time_now_sec() - search->start_time) / 60); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long int time_t {aka long long int} | %lld arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0=KadNode-2.3.0 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/usr/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/kad.o src/kad.c arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0=KadNode-2.3.0 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/usr/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/log.o src/log.c arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0=KadNode-2.3.0 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/usr/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/conf.o src/conf.c arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0=KadNode-2.3.0 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/usr/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/net.o src/net.c arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0=KadNode-2.3.0 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/usr/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/utils.o src/utils.c arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0=KadNode-2.3.0 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/usr/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/announces.o src/announces.c src/announces.c: In function 'announces_debug': src/announces.c:67:54: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 67 | fprintf(fp, " refresh: in %ld min\n", (value->refresh - now) / 60); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long int time_t {aka long long int} | %lld src/announces.c:73:52: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 73 | fprintf(fp, " lifetime: %ld min left\n", (value->lifetime - now) / 60); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long int time_t {aka long long int} | %lld arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0=KadNode-2.3.0 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/usr/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/peerfile.o src/peerfile.c arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0=KadNode-2.3.0 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/usr/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/unix.o src/unix.c arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0=KadNode-2.3.0 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/usr/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/ext-lpd.o src/ext-lpd.c arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=soft -ffile-prefix-map=/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0=KadNode-2.3.0 -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/usr/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include -I/mnt/disk/openwrt-24.10/staging_dir/toolchain-arm_fa526_gcc-13.3.0_musl_eabi/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/ext-bob.o src/ext-bob.c src/ext-bob.c: In function 'mbedtls_ecp_decompress': src/ext-bob.c:116:19: error: 'mbedtls_mpi' has no member named 'p' 116 | if (grp->A.p == NULL) { | ^ src/ext-bob.c: In function 'bob_send_challenge': src/ext-bob.c:210:70: error: 'mbedtls_ecp_keypair' has no member named 'Q' 210 | mbedtls_mpi_write_binary(&mbedtls_pk_ec(resource->ctx_verify)->Q.X, buf + 3, ECPARAMS_SIZE); | ^~ src/ext-bob.c: In function 'bob_trigger_auth': src/ext-bob.c:259:36: error: 'mbedtls_ecp_keypair' has no member named 'grp' 259 | &kp->grp, compressed, sizeof(compressed), | ^~ src/ext-bob.c:268:36: error: 'mbedtls_ecp_keypair' has no member named 'grp' 268 | &kp->grp, &kp->Q, | ^~ src/ext-bob.c:268:46: error: 'mbedtls_ecp_keypair' has no member named 'Q' 268 | &kp->grp, &kp->Q, | ^~ src/ext-bob.c: In function 'get_pkey_base32hex': src/ext-bob.c:325:54: error: 'mbedtls_ecp_keypair' has no member named 'Q' 325 | mbedtls_mpi_write_binary(&mbedtls_pk_ec(*ctx)->Q.X, buf, sizeof(buf)); | ^~ src/ext-bob.c: In function 'bob_create_key': src/ext-bob.c:366:57: error: 'mbedtls_ecp_keypair' has no member named 'Q' 366 | } while (mbedtls_mpi_get_bit(&mbedtls_pk_ec(ctx)->Q.Y, 0) != 0); | ^~ src/ext-bob.c: In function 'bob_load_key': src/ext-bob.c:387:20: error: too few arguments to function 'mbedtls_pk_parse_keyfile' 387 | if ((ret = mbedtls_pk_parse_keyfile(&ctx, path, NULL)) != 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /mnt/disk/openwrt-24.10/staging_dir/target-arm_fa526_musl_eabi/usr/include/mbedtls/x509.h:17, from src/ext-bob.c:15: /mnt/disk/openwrt-24.10/staging_dir/target-arm_fa526_musl_eabi/usr/include/mbedtls/pk.h:1174:5: note: declared here 1174 | int mbedtls_pk_parse_keyfile(mbedtls_pk_context *ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~ src/ext-bob.c:394:31: error: 'mbedtls_ecp_keypair' has no member named 'grp' 394 | if (mbedtls_pk_ec(ctx)->grp.id != ECPARAMS) { | ^~ In file included from src/ext-bob.c:19: src/ext-bob.c:396:78: error: 'mbedtls_ecp_keypair' has no member named 'grp' 396 | mbedtls_ecp_curve_info_from_grp_id(mbedtls_pk_ec(ctx)->grp.id)->name, | ^~ src/log.h:16:22: note: in definition of macro 'log_error' 16 | log_print(LOG_ERR, __VA_ARGS__); | ^~~~~~~~~~~ src/ext-bob.c: In function 'bob_find_key': src/ext-bob.c:477:71: error: 'mbedtls_ecp_keypair' has no member named 'Q' 477 | mbedtls_mpi_write_binary(&mbedtls_pk_ec(key->ctx_sign)->Q.X, epkey, ECPARAMS_SIZE); | ^~ src/ext-bob.c: In function 'bob_encrypt_challenge': src/ext-bob.c:507:34: warning: passing argument 6 of 'mbedtls_ecdsa_write_signature' makes integer from pointer without a cast [-Wint-conversion] 507 | sig + 3, &slen, mbedtls_ctr_drbg_random, &g_ctr_drbg); | ^~~~~ | | | size_t * {aka unsigned int *} In file included from src/ext-bob.c:12: /mnt/disk/openwrt-24.10/staging_dir/target-arm_fa526_musl_eabi/usr/include/mbedtls/ecdsa.h:475:62: note: expected 'size_t' {aka 'unsigned int'} but argument is of type 'size_t *' {aka 'unsigned int *'} 475 | unsigned char *sig, size_t sig_size, size_t *slen, | ~~~~~~~^~~~~~~~ src/ext-bob.c:507:41: warning: passing argument 7 of 'mbedtls_ecdsa_write_signature' from incompatible pointer type [-Wincompatible-pointer-types] 507 | sig + 3, &slen, mbedtls_ctr_drbg_random, &g_ctr_drbg); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(void *, unsigned char *, size_t) {aka int (*)(void *, unsigned char *, unsigned int)} /mnt/disk/openwrt-24.10/staging_dir/target-arm_fa526_musl_eabi/usr/include/mbedtls/ecdsa.h:475:80: note: expected 'size_t *' {aka 'unsigned int *'} but argument is of type 'int (*)(void *, unsigned char *, size_t)' {aka 'int (*)(void *, unsigned char *, unsigned int)'} 475 | unsigned char *sig, size_t sig_size, size_t *slen, | ~~~~~~~~^~~~ src/ext-bob.c:507:66: warning: passing argument 8 of 'mbedtls_ecdsa_write_signature' from incompatible pointer type [-Wincompatible-pointer-types] 507 | sig + 3, &slen, mbedtls_ctr_drbg_random, &g_ctr_drbg); | ^~~~~~~~~~~ | | | mbedtls_ctr_drbg_context * /mnt/disk/openwrt-24.10/staging_dir/target-arm_fa526_musl_eabi/usr/include/mbedtls/ecdsa.h:476:41: note: expected 'int (*)(void *, unsigned char *, size_t)' {aka 'int (*)(void *, unsigned char *, unsigned int)'} but argument is of type 'mbedtls_ctr_drbg_context *' 476 | int (*f_rng)(void *, unsigned char *, size_t), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ext-bob.c:504:23: error: too few arguments to function 'mbedtls_ecdsa_write_signature' 504 | ret = mbedtls_ecdsa_write_signature( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /mnt/disk/openwrt-24.10/staging_dir/target-arm_fa526_musl_eabi/usr/include/mbedtls/ecdsa.h:472:5: note: declared here 472 | int mbedtls_ecdsa_write_signature(mbedtls_ecdsa_context *ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ext-bob.c: In function 'bob_setup': src/ext-bob.c:584:76: error: 'mbedtls_ecp_keypair' has no member named 'grp' 584 | mbedtls_ecp_group_load(&mbedtls_pk_ec(resource->ctx_verify)->grp, ECPARAMS); | ^~ make[3]: *** [Makefile:81: build/ext-bob.o] Error 1 make[3]: Leaving directory '/mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0' make[2]: *** [Makefile:96: /mnt/disk/openwrt-24.10/build_dir/target-arm_fa526_musl_eabi/KadNode-2.3.0/.built] Error 2 time: package/feeds/packages/kadnode/compile#1.73#0.13#2.06