==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_bccbee5f-6ac8-45c0-97b6-5096309c1ec0]...done
==> Making package: netstat-nat 1.4.10-5.1 (Thu Apr 30 05:04:02 2026)
==> Retrieving sources...
  -> Downloading netstat-nat-1.4.10.tar.gz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0100  83865 100  83865   0      0 414.5k      0                              0100  83865 100  83865   0      0 414.3k      0                              0100  83865 100  83865   0      0 414.1k      0                              0
==> Validating source files with sha512sums...
    netstat-nat-1.4.10.tar.gz ... Passed
==> Making package: netstat-nat 1.4.10-5.1 (Thu Apr 30 03:04:04 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (8)                  New Version  Net Change

core/libmnl                  1.0.5-2        0.03 MiB
core/libnetfilter_conntrack  1.1.1-1        0.16 MiB
core/libnfnetlink            1.0.2-2        0.05 MiB
core/libnftnl                1.3.1-1        0.25 MiB
core/libnl                   3.12.0-1       2.12 MiB
core/libpcap                 1.10.6-1       0.65 MiB
extra/nftables               1:1.1.6-3      1.11 MiB
core/iptables                1:1.8.13-1     2.35 MiB

Total Installed Size:  6.72 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing libmnl...
installing libnfnetlink...
installing libnetfilter_conntrack...
installing libnftnl...
installing libnl...
installing libpcap...
installing nftables...
Optional dependencies for nftables
    python: Python bindings
    python-jsonschema: Python bindings
installing iptables...
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
  Skipped: Current root is not booted.
(2/2) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found netstat-nat-1.4.10.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting netstat-nat-1.4.10.tar.gz with bsdtar
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for unistd.h... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for strings.h... (cached) yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
make[1]: Entering directory '/startdir/src/netstat-nat-1.4.10'
if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"netstat-nat\" -DVERSION=\"1.4.10\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_NETDB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STRINGS_H=1 -DHAVE_NET_IF_H=1 -DHAVE_SYS_IOCTL_H=1 -I. -I.     -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/netstat-nat -flto=auto -falign-functions=32 -MT netstat-nat.o -MD -MP -MF ".deps/netstat-nat.Tpo" -c -o netstat-nat.o netstat-nat.c; \
then mv -f ".deps/netstat-nat.Tpo" ".deps/netstat-nat.Po"; else rm -f ".deps/netstat-nat.Tpo"; exit 1; fi
netstat-nat.c: In function ‘main’:
netstat-nat.c:283:42: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  283 |             if (optarg == NULL || optarg == '\0') {
      |                                          ^~
netstat-nat.c:283:35: note: did you mean to dereference the pointer?
  283 |             if (optarg == NULL || optarg == '\0') {
      |                                   ^
netstat-nat.c: In function ‘get_protocol’:
netstat-nat.c:530:9: error: implicit declaration of function ‘string_search’ [-Wimplicit-function-declaration]
  530 |     if (string_search(line, "tcp")) {
      |         ^~~~~~~~~~~~~
netstat-nat.c: In function ‘process_entry’:
netstat-nat.c:615:5: error: implicit declaration of function ‘search_first_hit’ [-Wimplicit-function-declaration]
  615 |     search_first_hit("src=", line, srcip_f);
      |     ^~~~~~~~~~~~~~~~
netstat-nat.c:617:5: error: implicit declaration of function ‘search_sec_hit’ [-Wimplicit-function-declaration]
  617 |     search_sec_hit("src=", line, srcip_s);
      |     ^~~~~~~~~~~~~~
netstat-nat.c: In function ‘xcalloc’:
netstat-nat.c:824:45: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
  824 |         printf("Could not allocate memory (%i bytes); %s.\n -- Exiting.\n", bufsize, strerror(errno));
      |                                            ~^                               ~~~~~~~
      |                                             |                               |
      |                                             int                             size_t {aka long unsigned int}
      |                                            %li
netstat-nat.c: In function ‘xrealloc’:
netstat-nat.c:837:45: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
  837 |         printf("Could not allocate memory (%i bytes); %s.\n -- Exiting.\n", newbufsize, strerror(errno));
      |                                            ~^                               ~~~~~~~~~~
      |                                             |                               |
      |                                             int                             size_t {aka long unsigned int}
      |                                            %li
make[1]: *** [Makefile:257: netstat-nat.o] Error 1
make[1]: Leaving directory '/startdir/src/netstat-nat-1.4.10'
make: *** [Makefile:340: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_bccbee5f-6ac8-45c0-97b6-5096309c1ec0/build
