==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: udp2raw 20230206.0-3 (Wed Apr 23 09:54:19 2025)
==> Retrieving sources...
  -> Cloning udp2raw git repo...
Cloning into bare repository '/home/leming/work/udp2raw/udp2raw'...
  -> Found udp2raw@.service
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    udp2raw ... Skipped
    udp2raw@.service ... Passed
==> Making package: udp2raw 20230206.0-3 (Wed 23 Apr 2025 09:54:27 AM MDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (7) libmnl-1.0.5-2  libnetfilter_conntrack-1.0.9-2
             libnfnetlink-1.0.2-2  libnftnl-1.2.9-1  libnl-3.11.0-1
             libpcap-1.10.5-2  iptables-1:1.8.11-2

Total Download Size:    1.16 MiB
Total Installed Size:  14.95 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 iptables-1:1.8.11-2-aarch64 downloading...
 libnl-3.11.0-1-aarch64 downloading...
 libpcap-1.10.5-2-aarch64 downloading...
 libnftnl-1.2.9-1-aarch64 downloading...
 libnetfilter_conntrack-1.0.9-2-aarch64 downloading...
 libnfnetlink-1.0.2-2-aarch64 downloading...
 libmnl-1.0.5-2-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libmnl...
installing libnftnl...
installing libnl...
installing libpcap...
installing libnfnetlink...
installing libnetfilter_conntrack...
installing iptables...
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
  Skipped: Current root is not booted.
(2/2) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (4) perl-error-0.17030-1  perl-mailtools-2.22-1  perl-timedate-2.33-7
             git-2.49.0-1

Total Download Size:    7.65 MiB
Total Installed Size:  44.55 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 git-2.49.0-1-aarch64 downloading...
 perl-mailtools-2.22-1-any downloading...
 perl-timedate-2.33-7-any downloading...
 perl-error-0.17030-1-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4 [installed]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'git' with GID 971.
Creating user 'git' (git daemon user) with UID 971 and GID 971.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Checking for old perl modules...
[?25h==> Retrieving sources...
  -> Found udp2raw@.service
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of udp2raw git repo...
Cloning into 'udp2raw'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
echo "const char *gitversion = \"e5ecd33ec4c25d499a14213a5d1dbd5d21e0dd63\";" > git_version.h
g++   -o udp2raw_dynamic          -I. main.cpp lib/md5.cpp lib/pbkdf2-sha1.cpp lib/pbkdf2-sha256.cpp encrypt.cpp log.cpp network.cpp common.cpp  connection.cpp misc.cpp fd_manager.cpp client.cpp server.cpp -lpthread lib/aes_faster_c/aes.cpp lib/aes_faster_c/wrapper.cpp my_ev.cpp -isystem libev -std=c++11   -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -Wno-missing-field-initializers -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -lrt -O2
network.cpp: In function ‘void init_filter(int)’:
network.cpp:707:25: warning: dummy’ may be used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;]
  707 |     int ret = setsockopt(raw_recv_fd, SOL_SOCKET, SO_DETACH_FILTER, &dummy, sizeof(dummy));  // in case i forgot to remove
      |               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/net/if_arp.h:25,
                 from /usr/include/netinet/if_ether.h:61,
                 from common.h:55,
                 from network.cpp:7:
/usr/include/sys/socket.h:277:12: note: by argument 4 of type ‘const void*’ to ‘int setsockopt(int, int, int, const void*, socklen_t)’ declared here
  277 | extern int setsockopt (int __fd, int __level, int __optname,
      |            ^~~~~~~~~~
network.cpp:705:9: note: dummy’ declared here
  705 |     int dummy;
      |         ^~~~~
network.cpp: In function ‘void remove_filter()’:
network.cpp:845:25: warning: dummy’ may be used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;]
  845 |     int ret = setsockopt(raw_recv_fd, SOL_SOCKET, SO_DETACH_FILTER, &dummy, sizeof(dummy));
      |               ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/socket.h:277:12: note: by argument 4 of type ‘const void*’ to ‘int setsockopt(int, int, int, const void*, socklen_t)’ declared here
  277 | extern int setsockopt (int __fd, int __level, int __optname,
      |            ^~~~~~~~~~
network.cpp:844:9: note: dummy’ declared here
  844 |     int dummy;
      |         ^~~~~
==> Entering fakeroot environment...
==> Starting package()...
==> 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 "udp2raw"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: udp2raw 20230206.0-3 (Wed 23 Apr 2025 09:55:25 AM MDT)
==> Cleaning up...