==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: n2n 3.1.1-5 (Sun Jun 15 09:11:47 2025)
==> Retrieving sources...
  -> Found n2n-3.1.1.tar.gz
  -> Found miniupnpc-2.2.8.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    n2n-3.1.1.tar.gz ... Passed
    miniupnpc-2.2.8.patch ... Passed
==> Making package: n2n 3.1.1-5 (Sun 15 Jun 2025 09:11:54 AM MDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (1) miniupnpc-2.3.3-1

Total Installed Size:  0.25 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing miniupnpc...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (2) libnl-3.11.0-1  libpcap-1.10.5-3

Total Download Size:   0.64 MiB
Total Installed Size:  5.98 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 libnl-3.11.0-1-aarch64 downloading...
 libpcap-1.10.5-3-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libnl...
installing libpcap...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[?25h==> Retrieving sources...
  -> Found n2n-3.1.1.tar.gz
  -> Found miniupnpc-2.2.8.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting n2n-3.1.1.tar.gz with bsdtar
==> Starting prepare()...
patching file src/n2n_port_mapping.c
==> Starting build()...
Wait please...
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for ZSTD_compress in -lzstd... yes
checking for EVP_CIPHER_CTX_reset in -lcrypto... yes
checking for upnpDiscover in -lminiupnpc... yes
checking for pcap_open_live in -lpcap... yes
checking for pcap_set_immediate_mode in -lpcap... yes
checking for cap_get_proc in -lcap... yes
checking for pthread_mutex_trylock in -lpthread... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tools/Makefile
config.status: creating include/config.h
Build for version: gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/edge.o src/edge.c
3.1.1
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/aes.o src/aes.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/auth.o src/auth.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/cc20.o src/cc20.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/curve25519.o src/curve25519.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/edge_management.o src/edge_management.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/edge_utils.o src/edge_utils.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/edge_utils_win32.o src/edge_utils_win32.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/example_edge_embed.o src/example_edge_embed.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/example_edge_embed_quick_edge_init.o src/example_edge_embed_quick_edge_init.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/example_sn_embed.o src/example_sn_embed.c
src/aes.c: In function 'aes_ecb_decrypt':
src/aes.c:115:5: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
In file included from ./include/aes.h:42,
                 from ./include/n2n.h:152,
                 from src/aes.c:20:
/usr/include/openssl/aes.h:63:6: note: declared here
   63 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~~~~~
src/aes.c: In function 'aes_init':
src/aes.c:161:5: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
/usr/include/openssl/aes.h:54:5: note: declared here
   54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/header_encryption.o src/header_encryption.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/hexdump.o src/hexdump.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/minilzo.o src/minilzo.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/n2n.o src/n2n.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/n2n_port_mapping.o src/n2n_port_mapping.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/n2n_regex.o src/n2n_regex.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/network_traffic_filter.o src/network_traffic_filter.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/pearson.o src/pearson.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/random_numbers.o src/random_numbers.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/sn_management.o src/sn_management.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/sn_selection.o src/sn_selection.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/sn_utils.o src/sn_utils.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/speck.o src/speck.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/supernode.o src/supernode.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/tf.o src/tf.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/transform_aes.o src/transform_aes.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/transform_cc20.o src/transform_cc20.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/transform_lzo.o src/transform_lzo.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/transform_null.o src/transform_null.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/transform_speck.o src/transform_speck.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/transform_tf.o src/transform_tf.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/transform_zstd.o src/transform_zstd.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/tuntap_freebsd.o src/tuntap_freebsd.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/tuntap_linux.o src/tuntap_linux.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/tuntap_netbsd.o src/tuntap_netbsd.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/tuntap_osx.o src/tuntap_osx.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall     -c -o src/wire.o src/wire.c
gzip -c edge.8 > edge.8.gz
gzip -c supernode.1 > supernode.1.gz
gzip -c n2n.7 > n2n.7.gz
In file included from /usr/include/string.h:548,
                 from ./include/n2n.h:118,
                 from src/sn_utils.c:19:
In function 'memcpy',
    inlined from 'update_node_supernode_association' at src/sn_utils.c:894:13:
/usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' offset [0, 15] is out of the bounds [0, 0] [-Warray-bounds=]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~               
ar rcs libn2n.a  src/aes.o  src/auth.o  src/cc20.o  src/curve25519.o  src/edge.o  src/edge_management.o  src/edge_utils.o  src/edge_utils_win32.o  src/example_edge_embed.o  src/example_edge_embed_quick_edge_init.o  src/example_sn_embed.o  src/header_encryption.o  src/hexdump.o  src/minilzo.o  src/n2n.o  src/n2n_port_mapping.o  src/n2n_regex.o  src/network_traffic_filter.o  src/pearson.o  src/random_numbers.o  src/sn_management.o  src/sn_selection.o  src/sn_utils.o  src/speck.o  src/supernode.o  src/tf.o  src/transform_aes.o  src/transform_cc20.o  src/transform_lzo.o  src/transform_null.o  src/transform_speck.o  src/transform_tf.o  src/transform_zstd.o  src/tuntap_freebsd.o  src/tuntap_linux.o  src/tuntap_netbsd.o  src/tuntap_osx.o  src/wire.o
gcc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L .  src/edge.o libn2n.a  -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -o src/edge
gcc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L .  src/supernode.o libn2n.a  -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -o src/supernode
gcc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L .  src/example_edge_embed_quick_edge_init.o libn2n.a  -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -o src/example_edge_embed_quick_edge_init
gcc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L .  src/example_edge_embed.o libn2n.a  -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -o src/example_edge_embed
gcc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L .  src/example_sn_embed.o libn2n.a  -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -o src/example_sn_embed
make -C tools
make[1]: Entering directory '/build/n2n/src/n2n-3.1.1/tools'
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall   -I../include -g3   -c -o n2n-benchmark.o n2n-benchmark.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall   -I../include -g3   -c -o n2n-keygen.o n2n-keygen.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall   -I../include -g3 n2n-decode.c -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L . -L.. -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -lpcap -o n2n-decode
cp src/supernode supernode
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall   -I../include -g3  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L . -L..  tests-compress.c  -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -o tests-compress
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall   -I../include -g3  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L . -L..  tests-elliptic.c  -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -o tests-elliptic
cp src/edge edge
cp src/example_edge_embed example_edge_embed
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall   -I../include -g3  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L . -L..  tests-hashing.c  -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -o tests-hashing
cp src/example_edge_embed_quick_edge_init example_edge_embed_quick_edge_init
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall   -I../include -g3  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L . -L..  tests-transform.c  -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -o tests-transform
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall   -I../include -g3  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L . -L..  tests-wire.c  -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -o tests-wire
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -I ./include    -Wall   -I../include -g3  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L . -L..  tests-auth.c  -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -o tests-auth
gcc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L . -L..  n2n-benchmark.o  -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -o n2n-benchmark
gcc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread -L . -L..  n2n-keygen.o  -ln2n -lpcap -lminiupnpc -lcrypto -lzstd  -lcap -o n2n-keygen
cp src/example_sn_embed example_sn_embed
make[1]: Leaving directory '/build/n2n/src/n2n-3.1.1/tools'
==> Entering fakeroot environment...
==> Starting package()...
echo "MANDIR=/build/n2n/pkg/n2n/usr/share/man"
MANDIR=/build/n2n/pkg/n2n/usr/share/man
mkdir -p /build/n2n/pkg/n2n/usr/bin /build/n2n/pkg/n2n/usr/share/man/man1 /build/n2n/pkg/n2n/usr/share/man/man7 /build/n2n/pkg/n2n/usr/share/man/man8
install -m755 supernode /build/n2n/pkg/n2n/usr/bin/
install -m755 edge /build/n2n/pkg/n2n/usr/bin/
install -m644 edge.8.gz /build/n2n/pkg/n2n/usr/share/man/man8/
install -m644 supernode.1.gz /build/n2n/pkg/n2n/usr/share/man/man1/
install -m644 n2n.7.gz /build/n2n/pkg/n2n/usr/share/man/man7/
make -C tools install SBINDIR=/build/n2n/pkg/n2n/usr/bin
make[1]: Entering directory '/build/n2n/src/n2n-3.1.1/tools'
install -m755 n2n-benchmark n2n-keygen n2n-decode /build/n2n/pkg/n2n/usr/bin/
make[1]: Leaving directory '/build/n2n/src/n2n-3.1.1/tools'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "n2n"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: n2n 3.1.1-5 (Sun 15 Jun 2025 09:12:12 AM MDT)
==> Cleaning up...