make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/KadNode-2.3.0' x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/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/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/main.o src/main.c x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/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/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/searches.o src/searches.c x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/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/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/kad.o src/kad.c x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/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/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/log.o src/log.c x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/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/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/conf.o src/conf.c x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/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/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/net.o src/net.c x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/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/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/utils.o src/utils.c x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/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/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/announces.o src/announces.c x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/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/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/peerfile.o src/peerfile.c x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/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/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/unix.o src/unix.c x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/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/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/ext-lpd.o src/ext-lpd.c x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/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/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/ext-bob.o src/ext-bob.c x86_64-openwrt-linux-musl-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/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/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/include/fortify -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -DDNS -DTLS -c -o build/ext-cmd.o src/ext-cmd.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 /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/mbedtls/x509.h:17, from src/ext-bob.c:15: /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/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 long unsigned int *} In file included from src/ext-bob.c:12: /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/mbedtls/ecdsa.h:475:62: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'size_t *' {aka 'long 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 *, long unsigned int)} /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/mbedtls/ecdsa.h:475:80: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int (*)(void *, unsigned char *, size_t)' {aka 'int (*)(void *, unsigned char *, long 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 * /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/usr/include/mbedtls/ecdsa.h:476:41: note: expected 'int (*)(void *, unsigned char *, size_t)' {aka 'int (*)(void *, unsigned char *, long 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( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-x86_64_musl/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[4]: *** [Makefile:81: build/ext-bob.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/KadNode-2.3.0' make[3]: *** [Makefile:96: /builder/shared-workdir/build/sdk/build_dir/target-x86_64_musl/KadNode-2.3.0/.built] Error 2 time: package/feeds/packages/kadnode/compile#1.65#1.45#2.19