>>> n2n: Building community/n2n 3.1.1-r1 (using abuild 3.13.0-r3) started Sun, 28 Apr 2024 04:37:50 +0000 >>> n2n: Checking sanity of /home/buildozer/aports/community/n2n/APKBUILD... >>> n2n: Analyzing dependencies... >>> n2n: Installing for build: build-base cmake openssl-dev>3 libcap-dev samurai (1/11) Installing libbz2 (1.0.8-r6) (2/11) Installing xz-libs (5.6.1-r3) (3/11) Installing libarchive (3.7.3-r0) (4/11) Installing rhash-libs (1.4.4-r0) (5/11) Installing libuv (1.48.0-r0) (6/11) Installing cmake (3.29.2-r1) (7/11) Installing openssl-dev (3.3.0-r1) (8/11) Installing linux-headers (6.6-r0) (9/11) Installing libcap-dev (2.69-r1) (10/11) Installing samurai (1.2-r5) (11/11) Installing .makedepends-n2n (20240428.043803) Executing busybox-1.36.1-r26.trigger OK: 449 MiB in 113 packages >>> n2n: Cleaning up srcdir >>> n2n: Cleaning up pkgdir >>> n2n: Cleaning up tmpdir >>> n2n: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/n2n-3.1.1.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> n2n: Fetching https://github.com/ntop/n2n/archive/3.1.1/n2n-3.1.1.tar.gz Connecting to github.com (20.26.156.215:443) Connecting to codeload.github.com (20.26.156.216:443) saving to '/var/cache/distfiles/v3.20/n2n-3.1.1.tar.gz.part' n2n-3.1.1.tar.gz.par 100% |********************************| 486k 0:00:00 ETA '/var/cache/distfiles/v3.20/n2n-3.1.1.tar.gz.part' saved >>> n2n: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/n2n-3.1.1.tar.gz >>> n2n: Checking sha512sums... n2n-3.1.1.tar.gz: OK supernode.initd: OK supernode.confd: OK edge.initd: OK edge.confd: OK >>> n2n: Unpacking /var/cache/distfiles/v3.20/n2n-3.1.1.tar.gz... CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at CMakeLists.txt:2 (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. -- Build for version: 3.1.1 -- Configuring done (0.5s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/n2n/src/n2n-3.1.1/build [1/62] Generating doc/n2n.7.gz [2/62] Generating doc/supernode.1.gz [3/62] Generating doc/edge.8.gz [4/62] Building C object CMakeFiles/tests-wire.dir/tools/tests-wire.c.o [5/62] Building C object CMakeFiles/tests-transform.dir/tools/tests-transform.c.o [6/62] Building C object CMakeFiles/tests-hashing.dir/tools/tests-hashing.c.o [7/62] Building C object CMakeFiles/tests-elliptic.dir/tools/tests-elliptic.c.o [8/62] Building C object CMakeFiles/tests-compress.dir/tools/tests-compress.c.o [9/62] Building C object CMakeFiles/tests-auth.dir/tools/tests-auth.c.o [10/62] Building C object CMakeFiles/n2n-keygen.dir/tools/n2n-keygen.c.o [11/62] Building C object CMakeFiles/n2n-benchmark.dir/tools/n2n-benchmark.c.o [12/62] Building C object CMakeFiles/example_sn_embed.dir/src/example_sn_embed.c.o [13/62] Building C object CMakeFiles/example_edge_embed.dir/src/example_edge_embed.c.o [14/62] Building C object CMakeFiles/example_edge_embed_quick_edge_init.dir/src/example_edge_embed_quick_edge_init.c.o [15/62] Building C object CMakeFiles/supernode.dir/src/supernode.c.o [16/62] Building C object CMakeFiles/edge.dir/src/edge.c.o [17/62] Building C object CMakeFiles/n2n.dir/src/n2n_port_mapping.c.o [18/62] Building C object CMakeFiles/n2n.dir/src/curve25519.c.o [19/62] Building C object CMakeFiles/n2n.dir/src/auth.c.o [20/62] Building C object CMakeFiles/n2n.dir/src/sn_selection.c.o [21/62] Building C object CMakeFiles/n2n.dir/src/network_traffic_filter.c.o [22/62] Building C object CMakeFiles/n2n.dir/src/n2n_regex.c.o [23/62] Building C object CMakeFiles/n2n.dir/src/tuntap_osx.c.o [24/62] Building C object CMakeFiles/n2n.dir/src/tuntap_linux.c.o [25/62] Building C object CMakeFiles/n2n.dir/src/tuntap_netbsd.c.o [26/62] Building C object CMakeFiles/n2n.dir/src/tuntap_freebsd.c.o [27/62] Building C object CMakeFiles/n2n.dir/src/header_encryption.c.o [28/62] Building C object CMakeFiles/n2n.dir/src/pearson.c.o [29/62] Building C object CMakeFiles/n2n.dir/src/random_numbers.c.o [30/62] Building C object CMakeFiles/n2n.dir/src/speck.c.o [31/62] Building C object CMakeFiles/n2n.dir/src/aes.c.o [32/62] Building C object CMakeFiles/n2n.dir/src/transform_zstd.c.o [33/62] Building C object CMakeFiles/n2n.dir/src/transform_lzo.c.o [34/62] Building C object CMakeFiles/n2n.dir/src/transform_speck.c.o [35/62] Building C object CMakeFiles/n2n.dir/src/transform_cc20.c.o [36/62] Building C object CMakeFiles/n2n.dir/src/transform_aes.c.o /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/curve25519.c:333:6: warning: no previous declaration for 'curve25519' [-Wmissing-declarations] 333 | void curve25519 (unsigned char *q, const unsigned char *n, const unsigned char *p) { | ^~~~~~~~~~ [37/62] Building C object CMakeFiles/n2n.dir/src/transform_tf.c.o [38/62] Building C object CMakeFiles/n2n.dir/src/transform_null.c.o [39/62] Building C object CMakeFiles/n2n.dir/src/cc20.c.o /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-elliptic.c:22:6: warning: no previous declaration for 'test_curve25519' [-Wmissing-declarations] 22 | void test_curve25519 (unsigned char *pkt_input, unsigned char *key) { | ^~~~~~~~~~~~~~~ [40/62] Building C object CMakeFiles/n2n.dir/src/tf.c.o [41/62] Building C object CMakeFiles/n2n.dir/src/minilzo.c.o [42/62] Building C object CMakeFiles/n2n.dir/src/hexdump.c.o /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/n2n_regex.c:245:6: warning: no previous declaration for 're_print' [-Wmissing-declarations] 245 | void re_print (regex_t* pattern) { | ^~~~~~~~ [43/62] Building C object CMakeFiles/n2n.dir/src/wire.c.o [44/62] Building C object CMakeFiles/n2n.dir/src/sn_utils.c.o /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-hashing.c:44:6: warning: no previous declaration for 'test_pearson_16' [-Wmissing-declarations] 44 | void test_pearson_16 (void *buf, unsigned int bufsize) { | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-hashing.c:55:6: warning: no previous declaration for 'test_pearson_32' [-Wmissing-declarations] 55 | void test_pearson_32 (void *buf, unsigned int bufsize) { | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-hashing.c:66:6: warning: no previous declaration for 'test_pearson_64' [-Wmissing-declarations] 66 | void test_pearson_64 (void *buf, unsigned int bufsize) { | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-hashing.c:77:6: warning: no previous declaration for 'test_pearson_128' [-Wmissing-declarations] 77 | void test_pearson_128 (void *buf, unsigned int bufsize) { | ^~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-hashing.c:90:6: warning: no previous declaration for 'test_pearson_256' [-Wmissing-declarations] 90 | void test_pearson_256 (void *buf, unsigned int bufsize) { | ^~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-hashing.c: In function 'main': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-hashing.c:107:12: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 107 | printf("%s: input size = 0x%" PRIx64 "\n", test_name, sizeof(PKT_CONTENT)); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | unsigned int In file included from /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-hashing.c:19: /usr/include/inttypes.h:96:25: note: format string is defined here 96 | #define PRIx64 __PRI64 "x" [45/62] Building C object CMakeFiles/n2n.dir/src/sn_management.c.o [46/62] Building C object CMakeFiles/n2n.dir/src/edge_utils.c.o [47/62] Building C object CMakeFiles/n2n.dir/src/edge_management.c.o [48/62] Building C object CMakeFiles/n2n.dir/src/n2n.c.o /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-compress.c:72:6: warning: no previous declaration for 'test_lzo1x' [-Wmissing-declarations] 72 | void test_lzo1x () { | ^~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-compress.c: In function 'test_lzo1x': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-compress.c:84:12: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'lzo_uint' {aka 'long unsigned int'} [-Wformat=] 84 | printf("%s: output size = 0x%" PRIx64 "\n", test_name, compression_len); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | lzo_uint {aka long unsigned int} In file included from /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-compress.c:19: /usr/include/inttypes.h:96:25: note: format string is defined here 96 | #define PRIx64 __PRI64 "x" /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-compress.c: At top level: /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-compress.c:101:6: warning: no previous declaration for 'test_zstd' [-Wmissing-declarations] 101 | void test_zstd () { | ^~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-compress.c: In function 'main': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-compress.c:154:12: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 154 | printf("%s: input size = 0x%" PRIx64 "\n", "original", sizeof(PKT_CONTENT)); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | unsigned int /usr/include/inttypes.h:96:25: note: format string is defined here 96 | #define PRIx64 __PRI64 "x" /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_selection.c: In function 'sn_selection_criterion_str': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_selection.c:225:83: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 225 | chars = snprintf(out, SN_SELECTION_CRITERION_BUF_SIZE, "load = %8ld", peer->selection_criterion); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long int | %8lld /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_selection.c:230:82: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 230 | chars = snprintf(out, SN_SELECTION_CRITERION_BUF_SIZE, "rtt = %6ld ms", peer->selection_criterion); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long int uint64_t {aka long long unsigned int} | %6lld /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-transform.c: In function 'main': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-transform.c:73:12: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 73 | printf("%s: input size = 0x%" PRIx64 "\n", test_name, sizeof(PKT_CONTENT)); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ | | | unsigned int In file included from /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-transform.c:19: /usr/include/inttypes.h:96:25: note: format string is defined here 96 | #define PRIx64 __PRI64 "x" /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-transform.c: In function 'run_transop_benchmark': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-transform.c:144:12: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 144 | printf("%s: output size = 0x%" PRIx64 "\n", op_name, nw); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~ | | | size_t {aka unsigned int} /usr/include/inttypes.h:96:25: note: format string is defined here 96 | #define PRIx64 __PRI64 "x" /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:24:6: warning: no previous declaration for 'init_ip_subnet' [-Wmissing-declarations] 24 | void init_ip_subnet (n2n_ip_subnet_t * d) { | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:29:6: warning: no previous declaration for 'print_ip_subnet' [-Wmissing-declarations] 29 | void print_ip_subnet (char *test_name, char *field, n2n_ip_subnet_t * d) { | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:36:6: warning: no previous declaration for 'init_mac' [-Wmissing-declarations] 36 | void init_mac (n2n_mac_t mac, const uint8_t o0, const uint8_t o1, | ^~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:47:6: warning: no previous declaration for 'print_mac' [-Wmissing-declarations] 47 | void print_mac (char *test_name, char *field, n2n_mac_t mac) { | ^~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:53:6: warning: no previous declaration for 'init_auth' [-Wmissing-declarations] 53 | void init_auth (n2n_auth_t *auth) { | ^~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:62:6: warning: no previous declaration for 'print_auth' [-Wmissing-declarations] 62 | void print_auth (char *test_name, char *field, n2n_auth_t *auth) { | ^~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:68:6: warning: no previous declaration for 'init_common' [-Wmissing-declarations] 68 | void init_common (n2n_common_t *common, char *community) { | ^~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:76:6: warning: no previous declaration for 'print_common' [-Wmissing-declarations] 76 | void print_common (char *test_name, n2n_common_t *common) { | ^~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:82:6: warning: no previous declaration for 'test_REGISTER' [-Wmissing-declarations] 82 | void test_REGISTER (n2n_common_t *common) { | ^~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c: In function 'test_REGISTER': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:107:12: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 107 | printf("%s: output retval = 0x%" PRIx64 "\n", test_name, retval); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ | | | size_t {aka unsigned int} In file included from /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:19: /usr/include/inttypes.h:96:25: note: format string is defined here 96 | #define PRIx64 __PRI64 "x" /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:108:12: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 108 | printf("%s: output idx = 0x%" PRIx64 "\n", test_name, idx); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | size_t {aka unsigned int} /usr/include/inttypes.h:96:25: note: format string is defined here 96 | #define PRIx64 __PRI64 "x" /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c: At top level: /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:117:6: warning: no previous declaration for 'test_REGISTER_SUPER' [-Wmissing-declarations] 117 | void test_REGISTER_SUPER (n2n_common_t *common) { | ^~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c: In function 'test_REGISTER_SUPER': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:146:12: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 146 | printf("%s: output retval = 0x%" PRIx64 "\n", test_name, retval); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ | | | size_t {aka unsigned int} /usr/include/inttypes.h:96:25: note: format string is defined here 96 | #define PRIx64 __PRI64 "x" /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:147:12: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 147 | printf("%s: output idx = 0x%" PRIx64 "\n", test_name, idx); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | size_t {aka unsigned int} /usr/include/inttypes.h:96:25: note: format string is defined here 96 | #define PRIx64 __PRI64 "x" /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c: At top level: /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:156:6: warning: no previous declaration for 'test_UNREGISTER_SUPER' [-Wmissing-declarations] 156 | void test_UNREGISTER_SUPER (n2n_common_t *common) { | ^~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c: In function 'test_UNREGISTER_SUPER': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:176:12: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 176 | printf("%s: output retval = 0x%" PRIx64 "\n", test_name, retval); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ | | | size_t {aka unsigned int} /usr/include/inttypes.h:96:25: note: format string is defined here 96 | #define PRIx64 __PRI64 "x" /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-wire.c:177:12: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 177 | printf("%s: output idx = 0x%" PRIx64 "\n", test_name, idx); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | size_t {aka unsigned int} /usr/include/inttypes.h:96:25: note: format string is defined here 96 | #define PRIx64 __PRI64 "x" /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-auth.c:31:6: warning: no previous declaration for 'test_bin_to_ascii' [-Wmissing-declarations] 31 | void test_bin_to_ascii (void *buf, unsigned int bufsize) { | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-auth.c:46:6: warning: no previous declaration for 'test_ascii_to_bin' [-Wmissing-declarations] 46 | void test_ascii_to_bin (char *buf) { | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-auth.c:65:6: warning: no previous declaration for 'test_generate_private_key' [-Wmissing-declarations] 65 | void test_generate_private_key (char *in, n2n_private_public_key_t prv) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-auth.c:79:6: warning: no previous declaration for 'test_generate_public_key' [-Wmissing-declarations] 79 | void test_generate_public_key (n2n_private_public_key_t prv, n2n_private_public_key_t pub) { | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/tools/tests-auth.c:94:6: warning: no previous declaration for 'test_generate_shared_secret' [-Wmissing-declarations] 94 | void test_generate_shared_secret (n2n_private_public_key_t prv, n2n_private_public_key_t pub) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/aes.c:1221:5: warning: no previous declaration for 'aes_ecb_encrypt' [-Wmissing-declarations] 1221 | int aes_ecb_encrypt (unsigned char *out, const unsigned char *in, aes_context_t *ctx) { | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c: In function 'mgmt_timestamps': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:126:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 126 | "{" | ^~~ ...... 133 | sss->start_time, | ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:129:42: note: format string is defined here 129 | "\"start_time\":%lu," | ~~^ | | | long unsigned int | %llu /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:126:24: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 126 | "{" | ^~~ ...... 134 | sss->stats.last_fwd, | ~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:130:40: note: format string is defined here 130 | "\"last_fwd\":%ld," | ~~^ | | | long int | %lld /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:126:24: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 126 | "{" | ^~~ ...... 135 | sss->stats.last_reg_super); | ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:131:46: note: format string is defined here 131 | "\"last_reg_super\":%ld}\n", | ~~^ | | | long int | %lld /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c: In function 'mgmt_packetstats': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:145:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 145 | "{" | ^~~ ...... 151 | sss->stats.fwd); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:149:38: note: format string is defined here 149 | "\"tx_pkt\":%lu}\n", | ~~^ | | | long unsigned int | %u /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:157:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 157 | "{" | ^~~ ...... 163 | sss->stats.broadcast); | ~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:161:38: note: format string is defined here 161 | "\"tx_pkt\":%lu}\n", | ~~^ | | | long unsigned int | %u /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:169:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 169 | "{" | ^~~ ...... 176 | sss->stats.reg_super, | ~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:173:38: note: format string is defined here 173 | "\"rx_pkt\":%lu," | ~~^ | | | long unsigned int | %u /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:169:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 169 | "{" | ^~~ ...... 177 | sss->stats.reg_super_nak); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:174:35: note: format string is defined here 174 | "\"nak\":%lu}\n", | ~~^ | | | long unsigned int | %u /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:186:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 186 | "{" | ^~~ ...... 192 | sss->stats.errors); | ~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:190:38: note: format string is defined here 190 | "\"tx_pkt\":%lu}\n", | ~~^ | | | long unsigned int | %u /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c: In function 'mgmt_edges': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:238:32: warning: format '%li' expects argument of type 'long int', but argument 12 has type 'time_t' {aka 'long long int'} [-Wformat=] 238 | "{" | ^~~ ...... 257 | peer->last_seen); | ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:248:49: note: format string is defined here 248 | "\"last_seen\":%li}\n", | ~~^ | | | long int | %lli /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c: At top level: /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:465:5: warning: no previous declaration for 'process_mgmt' [-Wmissing-declarations] 465 | int process_mgmt (n2n_sn_t *sss, | ^~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c: In function 'process_mgmt': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_management.c:567:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 567 | "uptime %lu | ", (now - sss->start_time)); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | time_t {aka long long int} | long unsigned int | %llu /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:83:9: warning: no previous declaration for 'send_reply' [-Wmissing-declarations] 83 | ssize_t send_reply (mgmt_req_t *req, strbuf_t *buf, size_t msg_len) { | ^~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:89:8: warning: no previous declaration for 'gen_json_1str' [-Wmissing-declarations] 89 | size_t gen_json_1str (strbuf_t *buf, char *tag, char *_type, char *key, char *val) { | ^~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:101:8: warning: no previous declaration for 'gen_json_1uint' [-Wmissing-declarations] 101 | size_t gen_json_1uint (strbuf_t *buf, char *tag, char *_type, char *key, unsigned int val) { | ^~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:123:8: warning: no previous declaration for 'event_debug' [-Wmissing-declarations] 123 | size_t event_debug (strbuf_t *buf, char *tag, int data0, void *data1) { | ^~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:128:8: warning: no previous declaration for 'event_test' [-Wmissing-declarations] 128 | size_t event_test (strbuf_t *buf, char *tag, int data0, void *data1) { | ^~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:133:8: warning: no previous declaration for 'event_peer' [-Wmissing-declarations] 133 | size_t event_peer (strbuf_t *buf, char *tag, int data0, void *data1) { | ^~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c: In function 'mgmt_supernodes': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:209:28: warning: format '%li' expects argument of type 'long int', but argument 11 has type 'time_t' {aka 'long long int'} [-Wformat=] 209 | "{" | ^~~ ...... 227 | peer->last_seen, | ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:218:45: note: format string is defined here 218 | "\"last_seen\":%li," | ~~^ | | | long int | %lli /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:209:28: warning: format '%li' expects argument of type 'long int', but argument 12 has type 'time_t' {aka 'long long int'} [-Wformat=] 209 | "{" | ^~~ ...... 228 | peer->uptime); | ~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:219:42: note: format string is defined here 219 | "\"uptime\":%li}\n", | ~~^ | | | long int | %lli /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c: In function 'mgmt_edges_row': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:241:24: warning: format '%li' expects argument of type 'long int', but argument 12 has type 'time_t' {aka 'long long int'} [-Wformat=] 241 | "{" | ^~~ ...... 262 | peer->last_p2p, | ~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:251:40: note: format string is defined here 251 | "\"last_p2p\":%li,\n" | ~~^ | | | long int | %lli /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:241:24: warning: format '%li' expects argument of type 'long int', but argument 13 has type 'time_t' {aka 'long long int'} [-Wformat=] 241 | "{" | ^~~ ...... 263 | peer->last_sent_query, | ~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:252:47: note: format string is defined here 252 | "\"last_sent_query\":%li,\n" | ~~^ | | | long int | %lli /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:241:24: warning: format '%li' expects argument of type 'long int', but argument 14 has type 'time_t' {aka 'long long int'} [-Wformat=] 241 | "{" | ^~~ ...... 264 | peer->last_seen); | ~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:253:41: note: format string is defined here 253 | "\"last_seen\":%li}\n", | ~~^ | | | long int | %lli /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c: In function 'mgmt_timestamps': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:287:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 287 | "{" | ^~~ ...... 294 | req->eee->start_time, | ~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:290:42: note: format string is defined here 290 | "\"start_time\":%lu," | ~~^ | | | long unsigned int | %llu /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:287:24: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 287 | "{" | ^~~ ...... 295 | req->eee->last_sup, | ~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:291:42: note: format string is defined here 291 | "\"last_super\":%ld," | ~~^ | | | long int | %lld /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:287:24: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=] 287 | "{" | ^~~ ...... 296 | req->eee->last_p2p); | ~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:292:40: note: format string is defined here 292 | "\"last_p2p\":%ld}\n", | ~~^ | | | long int | %lld /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c: In function 'mgmt_packetstats': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:305:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 305 | "{" | ^~~ ...... 312 | req->eee->transop.tx_cnt, | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:309:38: note: format string is defined here 309 | "\"tx_pkt\":%lu," | ~~^ | | | long unsigned int | %u /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:305:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 305 | "{" | ^~~ ...... 313 | req->eee->transop.rx_cnt); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:310:38: note: format string is defined here 310 | "\"rx_pkt\":%lu}\n", | ~~^ | | | long unsigned int | %u /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c: In function 'readFromMgmtSocket': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:859:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 859 | "uptime %lu | ", | ~~^ | | | long unsigned int | %llu 860 | time(NULL) - eee->start_time); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:886:39: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 886 | "last_super %ld sec ago | ", | ~~^ | | | long int | %lld 887 | (now - eee->last_sup)); | ~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_management.c:890:37: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 890 | "last_p2p %ld sec ago\n", | ~~^ | | | long int | %lld 891 | (now - eee->last_p2p)); | ~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/n2n.c:358:5: warning: no previous declaration for 'resolve_create_thread' [-Wmissing-declarations] 358 | int resolve_create_thread (n2n_resolve_parameter_t **param, struct peer_info *sn_list) { | ^~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/n2n.c:403:6: warning: no previous declaration for 'resolve_cancel_thread' [-Wmissing-declarations] 403 | void resolve_cancel_thread (n2n_resolve_parameter_t *param) { | ^~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/n2n.c:412:9: warning: no previous declaration for 'resolve_check' [-Wmissing-declarations] 412 | uint8_t resolve_check (n2n_resolve_parameter_t *param, uint8_t requires_resolution, time_t now) { | ^~~~~~~~~~~~~ In file included from /usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include/xmmintrin.h:1322, from /usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include/immintrin.h:31, from /home/buildozer/aports/community/n2n/src/n2n-3.1.1/include/speck.h:78, from /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c:25: In function '_mm_unpackhi_epi64', inlined from 'speck_encrypt_xor.isra' at /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c:582:9: /usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include/emmintrin.h:1030:19: warning: 'X[2]' may be used uninitialized [-Wmaybe-uninitialized] 1030 | return (__m128i)__builtin_ia32_punpckhqdq128 ((__v2di)__A, (__v2di)__B); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c: In function 'speck_encrypt_xor.isra': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c:535:10: note: 'X[2]' was declared here 535 | u128 X[4], Y[4], Z[4]; \ | ^ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c:582:9: note: in expansion of macro 'Encrypt_Dispatcher' 582 | Encrypt_Dispatcher(128); | ^~~~~~~~~~~~~~~~~~ In function '_mm_unpackhi_epi64', inlined from 'speck_encrypt_xor.isra' at /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c:582:9: /usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include/emmintrin.h:1030:19: warning: 'Y[2]' may be used uninitialized [-Wmaybe-uninitialized] 1030 | return (__m128i)__builtin_ia32_punpckhqdq128 ((__v2di)__A, (__v2di)__B); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c: In function 'speck_encrypt_xor.isra': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c:535:16: note: 'Y[2]' was declared here 535 | u128 X[4], Y[4], Z[4]; \ | ^ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c:582:9: note: in expansion of macro 'Encrypt_Dispatcher' 582 | Encrypt_Dispatcher(128); | ^~~~~~~~~~~~~~~~~~ In function '_mm_unpackhi_epi64', inlined from 'speck_encrypt_xor.isra' at /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c:580:9: /usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include/emmintrin.h:1030:19: warning: 'X[2]' may be used uninitialized [-Wmaybe-uninitialized] 1030 | return (__m128i)__builtin_ia32_punpckhqdq128 ((__v2di)__A, (__v2di)__B); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c: In function 'speck_encrypt_xor.isra': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c:535:10: note: 'X[2]' was declared here 535 | u128 X[4], Y[4], Z[4]; \ | ^ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c:580:9: note: in expansion of macro 'Encrypt_Dispatcher' 580 | Encrypt_Dispatcher(256); | ^~~~~~~~~~~~~~~~~~ In function '_mm_unpackhi_epi64', inlined from 'speck_encrypt_xor.isra' at /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c:580:9: /usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include/emmintrin.h:1030:19: warning: 'Y[2]' may be used uninitialized [-Wmaybe-uninitialized] 1030 | return (__m128i)__builtin_ia32_punpckhqdq128 ((__v2di)__A, (__v2di)__B); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c: In function 'speck_encrypt_xor.isra': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c:535:16: note: 'Y[2]' was declared here 535 | u128 X[4], Y[4], Z[4]; \ | ^ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/speck.c:580:9: note: in expansion of macro 'Encrypt_Dispatcher' 580 | Encrypt_Dispatcher(256); | ^~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:145:10: warning: no previous declaration for 'polyMult' [-Wmissing-declarations] 145 | uint32_t polyMult(uint32_t a, uint32_t b) { | ^~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:161:10: warning: no previous declaration for 'gfMod' [-Wmissing-declarations] 161 | uint32_t gfMod(uint32_t t, uint32_t modulus) { | ^~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:183:10: warning: no previous declaration for 'RSMatrixMultiply' [-Wmissing-declarations] 183 | uint32_t RSMatrixMultiply(uint8_t sd[8]) { | ^~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:202:10: warning: no previous declaration for 'h' [-Wmissing-declarations] 202 | uint32_t h(uint32_t X, uint32_t L[4], int k) { | ^ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:241:6: warning: no previous declaration for 'fullKey' [-Wmissing-declarations] 241 | void fullKey(uint32_t L[4], int k, uint32_t QF[4][256]) { | ^~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:306:6: warning: no previous declaration for 'twofish_internal_encrypt' [-Wmissing-declarations] 306 | void twofish_internal_encrypt(uint8_t PT[16], tf_context_t *ctx) { | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:353:6: warning: no previous declaration for 'twofish_internal_decrypt' [-Wmissing-declarations] 353 | void twofish_internal_decrypt(uint8_t PT[16], const uint8_t CT[16], tf_context_t *ctx) { | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:393:6: warning: no previous declaration for 'keySched' [-Wmissing-declarations] 393 | void keySched(const uint8_t M[], int N, uint32_t **S, uint32_t K[40], int *k) { | ^~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c: In function 'tf_cbc_decrypt': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:491:18: warning: declaration of 'Q0' shadows a global declaration [-Wshadow] 491 | uint32_t Q0, Q1, Q2, Q3, R0, R1, R2, R3, S0, S1, S2, S3; | ^~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:58:15: note: shadowed declaration is here 58 | const uint8_t Q0[] = { 0xA9, 0x67, 0xB3, 0xE8, 0x04, 0xFD, 0xA3, 0x76, 0x9A, 0x92, 0x80, 0x78, 0xE4, 0xDD, 0xD1, 0x38, | ^~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:491:22: warning: declaration of 'Q1' shadows a global declaration [-Wshadow] 491 | uint32_t Q0, Q1, Q2, Q3, R0, R1, R2, R3, S0, S1, S2, S3; | ^~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:75:15: note: shadowed declaration is here 75 | const uint8_t Q1[] = { 0x75, 0xF3, 0xC6, 0xF4, 0xDB, 0x7B, 0xFB, 0xC8, 0x4A, 0xD3, 0xE6, 0x6B, 0x45, 0x7D, 0xE8, 0x4B, | ^~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:550:18: warning: declaration of 'Q0' shadows a global declaration [-Wshadow] 550 | uint32_t Q0, Q1, Q2, Q3; | ^~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:58:15: note: shadowed declaration is here 58 | const uint8_t Q0[] = { 0xA9, 0x67, 0xB3, 0xE8, 0x04, 0xFD, 0xA3, 0x76, 0x9A, 0x92, 0x80, 0x78, 0xE4, 0xDD, 0xD1, 0x38, | ^~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:550:22: warning: declaration of 'Q1' shadows a global declaration [-Wshadow] 550 | uint32_t Q0, Q1, Q2, Q3; | ^~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/tf.c:75:15: note: shadowed declaration is here 75 | const uint8_t Q1[] = { 0x75, 0xF3, 0xC6, 0xF4, 0xDB, 0x7B, 0xFB, 0xC8, 0x4A, 0xD3, 0xE6, 0x6B, 0x45, 0x7D, 0xE8, 0x4B, | ^~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c:197:6: warning: no previous declaration for 'reset_sup_attempts' [-Wmissing-declarations] 197 | void reset_sup_attempts (n2n_edge_t *eee) { | ^~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c:252:5: warning: no previous declaration for 'supernode_connect' [-Wmissing-declarations] 252 | int supernode_connect (n2n_edge_t *eee) { | ^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c:345:6: warning: no previous declaration for 'supernode_disconnect' [-Wmissing-declarations] 345 | void supernode_disconnect (n2n_edge_t *eee) { | ^~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c:1159:6: warning: no previous declaration for 'send_query_peer' [-Wmissing-declarations] 1159 | void send_query_peer (n2n_edge_t * eee, | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c:1240:6: warning: no previous declaration for 'send_register_super' [-Wmissing-declarations] 1240 | void send_register_super (n2n_edge_t *eee) { | ^~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c:2152:6: warning: no previous declaration for 'process_udp' [-Wmissing-declarations] 2152 | void process_udp (n2n_edge_t *eee, const struct sockaddr_in *sender_sock, const SOCKET in_sock, | ^~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c: In function 'process_udp': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c:2407:21: warning: declaration of 'skip_add' shadows a previous local [-Wshadow] 2407 | int skip_add; | ^~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c:2171:27: note: shadowed declaration is here 2171 | int skip_add = 0; | ^~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c:2580:21: warning: declaration of 'skip_add' shadows a previous local [-Wshadow] 2580 | int skip_add; | ^~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c:2171:27: note: shadowed declaration is here 2171 | int skip_add = 0; | ^~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c: At top level: /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c:2689:5: warning: no previous declaration for 'fetch_and_eventually_process_data' [-Wmissing-declarations] 2689 | int fetch_and_eventually_process_data (n2n_edge_t *eee, SOCKET sock, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c: In function 'edge_send_packet2net': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c:2048:21: warning: 'compression_len' may be used uninitialized [-Wmaybe-uninitialized] 2048 | enc_len = compression_len; | ~~~~~~~~^~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/edge_utils.c:2013:19: note: 'compression_len' was declared here 2013 | int32_t compression_len; | ^~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:76:6: warning: no previous declaration for 'close_tcp_connection' [-Wmissing-declarations] 76 | void close_tcp_connection (n2n_sn_t *sss, n2n_tcp_connection_t *conn) { | ^~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:110:6: warning: no previous declaration for 'calculate_shared_secrets' [-Wmissing-declarations] 110 | void calculate_shared_secrets (n2n_sn_t *sss) { | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:136:6: warning: no previous declaration for 'calculate_dynamic_keys' [-Wmissing-declarations] 136 | void calculate_dynamic_keys (n2n_sn_t *sss) { | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:163:6: warning: no previous declaration for 'send_re_register_super' [-Wmissing-declarations] 163 | void send_re_register_super (n2n_sn_t *sss) { | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:208:5: warning: no previous declaration for 'load_allowed_sn_community' [-Wmissing-declarations] 208 | int load_allowed_sn_community (n2n_sn_t *sss) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c: In function 'load_allowed_sn_community': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:305:35: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=] 305 | sprintf(format, "%c %%%ds %%%lds", N2N_USER_KEY_LINE_STARTER, N2N_DESC_SIZE - 1, sizeof(ascii_public_key)-1); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | long int unsigned int | %d /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c: At top level: /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:877:6: warning: no previous declaration for 'update_node_supernode_association' [-Wmissing-declarations] 877 | void update_node_supernode_association (struct sn_community *comm, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:1229:5: warning: no previous declaration for 'subnet_available' [-Wmissing-declarations] 1229 | int subnet_available (n2n_sn_t *sss, | ^~~~~~~~~~~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c: In function 'process_udp': /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:2185:54: warning: declaration of 'tmp' shadows a previous local [-Wshadow] 2185 | struct peer_info *scan, *tmp; | ^~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:1528:33: note: shadowed declaration is here 1528 | struct sn_community *comm, *tmp; | ^~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:2189:46: warning: declaration of 'sender' shadows a previous local [-Wshadow] 2189 | n2n_sock_t sender; | ^~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:1521:25: note: shadowed declaration is here 1521 | n2n_sock_t sender; | ^~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:2277:39: warning: declaration of 'sockbuf' shadows a previous local [-Wshadow] 2277 | n2n_sock_str_t sockbuf; | ^~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:1524:25: note: shadowed declaration is here 1524 | n2n_sock_str_t sockbuf; | ^~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:2278:39: warning: declaration of 'mac_buf' shadows a previous local [-Wshadow] 2278 | macstr_t mac_buf; | ^~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:1522:25: note: shadowed declaration is here 1522 | macstr_t mac_buf; | ^~~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:2279:39: warning: declaration of 'sender' shadows a previous local [-Wshadow] 2279 | n2n_sock_t sender; | ^~~~~~ /home/buildozer/aports/community/n2n/src/n2n-3.1.1/src/sn_utils.c:1521:25: note: shadowed declaration is here 1521 | n2n_sock_t sender; | ^~~~~~ [49/62] Linking C static library libn2n.a [50/62] Linking C executable tests-wire [51/62] Linking C executable tests-transform [52/62] Linking C executable tests-hashing [53/62] Linking C executable tests-elliptic [54/62] Linking C executable tests-compress [55/62] Linking C executable tests-auth [56/62] Linking C executable n2n-keygen [57/62] Linking C executable n2n-benchmark [58/62] Linking C executable example_sn_embed [59/62] Linking C executable example_edge_embed [60/62] Linking C executable example_edge_embed_quick_edge_init [61/62] Linking C executable supernode [62/62] Linking C executable edge >>> n2n: Entering fakeroot... -- Install configuration: "None" -- Installing: /home/buildozer/aports/community/n2n/pkg/n2n/usr/sbin/edge -- Installing: /home/buildozer/aports/community/n2n/pkg/n2n/usr/sbin/supernode -- Installing: /home/buildozer/aports/community/n2n/pkg/n2n/usr/bin/n2n-benchmark -- Installing: /home/buildozer/aports/community/n2n/pkg/n2n/usr/share/man/man8/edge.8.gz -- Installing: /home/buildozer/aports/community/n2n/pkg/n2n/usr/share/man/man1/supernode.1.gz -- Installing: /home/buildozer/aports/community/n2n/pkg/n2n/usr/share/man/man7/n2n.7.gz >>> n2n-openrc*: Running split function openrc... >>> n2n-openrc*: Preparing subpackage n2n-openrc... >>> n2n-openrc*: Running postcheck for n2n-openrc >>> n2n-doc*: Running split function doc... >>> n2n-doc*: Preparing subpackage n2n-doc... >>> n2n-doc*: Running postcheck for n2n-doc >>> n2n*: Running postcheck for n2n >>> n2n*: Preparing package n2n... >>> n2n*: Stripping binaries >>> n2n*: Script found. /bin/sh added as a dependency for n2n-3.1.1-r1.apk >>> n2n*: Adding .pre-install >>> n2n-doc*: Scanning shared objects >>> n2n-openrc*: Scanning shared objects >>> n2n*: Scanning shared objects >>> n2n-doc*: Tracing dependencies... >>> n2n-doc*: Package size: 44.0 KB >>> n2n-doc*: Compressing data... >>> n2n-doc*: Create checksum... >>> n2n-doc*: Create n2n-doc-3.1.1-r1.apk >>> n2n-openrc*: Tracing dependencies... >>> n2n-openrc*: Package size: 32.0 KB >>> n2n-openrc*: Compressing data... >>> n2n-openrc*: Create checksum... >>> n2n-openrc*: Create n2n-openrc-3.1.1-r1.apk >>> n2n*: Tracing dependencies... /bin/sh so:libc.musl-x86.so.1 >>> n2n*: Package size: 668.0 KB >>> n2n*: Compressing data... >>> n2n*: Create checksum... >>> n2n*: Create n2n-3.1.1-r1.apk >>> n2n: Build complete at Sun, 28 Apr 2024 04:38:12 +0000 elapsed time 0h 0m 22s >>> n2n: Cleaning up srcdir >>> n2n: Cleaning up pkgdir >>> n2n: Uninstalling dependencies... (1/11) Purging .makedepends-n2n (20240428.043803) (2/11) Purging cmake (3.29.2-r1) (3/11) Purging openssl-dev (3.3.0-r1) (4/11) Purging libcap-dev (2.69-r1) (5/11) Purging linux-headers (6.6-r0) (6/11) Purging samurai (1.2-r5) (7/11) Purging libarchive (3.7.3-r0) (8/11) Purging libbz2 (1.0.8-r6) (9/11) Purging libuv (1.48.0-r0) (10/11) Purging rhash-libs (1.4.4-r0) (11/11) Purging xz-libs (5.6.1-r3) Executing busybox-1.36.1-r26.trigger OK: 376 MiB in 102 packages >>> n2n: Updating the community/x86 repository index... >>> n2n: Signing the index...