==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: ipguard 1.04-10 (Thu Apr 9 13:58:27 2026)
==> Retrieving sources...
-> Found ipguard-1.04.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
ipguard-1.04.tar.gz ... Passed
==> Validating source files with sha256sums...
ipguard-1.04.tar.gz ... Passed
==> Making package: ipguard 1.04-10 (Thu Apr 9 19:58:34 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (3) libnl-3.12.0-1 libnet-2:1.3-1 libpcap-1.10.6-1
Total Download Size: 0.28 MiB
Total Installed Size: 7.54 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
libnet-2:1.3-1-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...
installing libnet...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found ipguard-1.04.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting ipguard-1.04.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
Compiling ipguard.c
Compiling ethers.c
Compiling packet.c
Compiling system.c
Making ipguard
INCLUDES=-I/usr/include
LIBS=-L/usr/lib -lnet -lpcap -L/usr/lib
DEFINES=-D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H
CFLAGS=-march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcommon -DLIBNET_LIL_ENDIAN -g -Wall -DETHERS='/etc/ethers'
ethers.c: In function 'ethers_init':
ethers.c:79:26: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 121 [-Wformat-truncation=]
In file included from /usr/include/stdio.h:974,
from ipguard.h:34,
from ethers.c:30:
In function 'snprintf',
inlined from 'ethers_init' at ethers.c:79:9:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 10 and 4105 bytes into a destination of size 128
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~
ethers.c: In function 'ethers_init':
ethers.c:71:77: warning: '__builtin_strncpy' output may be truncated copying 64 bytes from a string of length 127 [-Wstringop-truncation]
ethers.c:42:26: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 122 [-Wformat-truncation=]
In function 'snprintf',
inlined from 'ethers_init' at ethers.c:42:9:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 128
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~
ipguard.c: In function 'main':
ipguard.c:128:20: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
ipguard.c:122:26: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
ipguard.c:102:23: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
ipguard.c:99:23: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
ipguard.c:100:23: warning: '__builtin_strncpy' specified bound 18 equals destination size [-Wstringop-truncation]
ipguard.c:98:23: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
ipguard.c:97:23: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
ipguard.c:101:23: warning: '__builtin_strncpy' specified bound 128 equals destination size [-Wstringop-truncation]
system.c: In function 'pid_check':
system.c:147:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
In function 'pid_unlink',
inlined from 'pid_unlink' at system.c:178:6:
system.c:180:26: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 121 [-Wformat-truncation=]
In file included from /usr/include/stdio.h:974,
from ipguard.h:34,
from system.c:41:
In function 'snprintf',
inlined from 'pid_unlink' at system.c:180:9,
inlined from 'pid_unlink' at system.c:178:6:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 10 and 4105 bytes into a destination of size 128
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~
system.c: In function 'pid_check':
system.c:144:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 122 [-Wformat-truncation=]
In function 'snprintf',
inlined from 'pid_check' at system.c:144:13:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 128
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~
system.c: In function 'pid_check':
system.c:160:29: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 42 [-Wformat-truncation=]
In function 'snprintf',
inlined from 'pid_check' at system.c:160:13:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 23 and 4118 bytes into a destination of size 64
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~
system.c: In function 'pid_check':
system.c:138:30: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 123 [-Wformat-truncation=]
In function 'snprintf',
inlined from 'pid_check' at system.c:138:13:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 128
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~
system.c: In function 'pid_creat':
system.c:170:26: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 122 [-Wformat-truncation=]
In function 'snprintf',
inlined from 'pid_creat' at system.c:170:9:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 128
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~
system.c: In function 'ethers_stat':
system.c:297:26: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 123 [-Wformat-truncation=]
In function 'snprintf',
inlined from 'ethers_stat' at system.c:297:9:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 128
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~
packet.c: In function 'pair_dump':
packet.c:225:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
packet.c: In function 'packet_init':
packet.c:248:5: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
packet.c:261:26: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 115 [-Wformat-truncation=]
In file included from /usr/include/stdio.h:974,
from /usr/include/pcap/pcap.h:136,
from /usr/include/pcap.h:43,
from packet.c:46:
In function 'snprintf',
inlined from 'packet_init' at packet.c:261:9:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 16 and 143 bytes into a destination of size 128
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~
packet.c: In function 'packet_check':
packet.c:341:13: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
packet.c:349:13: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
packet.c:357:13: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
packet.c:457:13: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
packet.c:466:13: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
packet.c:447:13: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
packet.c:476:13: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
packet.c:486:13: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
packet.c:496:5: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
Linking ipguard
==> Entering fakeroot environment...
==> Starting package()...
Making ipguard
INCLUDES=-I/usr/include
LIBS=-L/usr/lib -lnet -lpcap -L/usr/lib
DEFINES=-D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H
CFLAGS=-march=armv8-a -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -g -Wall -DETHERS='/etc/ethers'
mkdir -p -m 755 /build/ipguard/pkg/ipguard/usr/bin
install -s -m 755 ipguard /build/ipguard/pkg/ipguard/usr/bin/ipguard
mkdir -p -m 755 /build/ipguard/pkg/ipguard/usr/man/man8
install -m 644 doc/ipguard.8 /build/ipguard/pkg/ipguard/usr/man/man8/ipguard.8
==> Tidying install...
-> Removing libtool files...
-> Removing static library files...
-> Purging unwanted files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "ipguard"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ipguard 1.04-10 (Thu Apr 9 19:58:38 2026)
==> Cleaning up...
[?12l[?25h