==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: ipguard 1.04-8 (Sat Nov  4 12:20:49 2023)
==> Retrieving sources...
  -> Found ipguard-1.04.tar.gz
  -> Found build-fix-le.patch
  -> Found pass-ldflags.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with md5sums...
    ipguard-1.04.tar.gz ... Passed
    build-fix-le.patch ... Passed
    pass-ldflags.patch ... Passed
==> Validating source files with sha256sums...
    ipguard-1.04.tar.gz ... Passed
    build-fix-le.patch ... Passed
    pass-ldflags.patch ... Passed
==> Making package: ipguard 1.04-8 (Sat Nov  4 12:21:10 2023)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (4) dbus-1.14.10-1  libnl-3.8.0-1  libnet-1:1.1.6-1  libpcap-1.10.4-1

Total Download Size:   0.84 MiB
Total Installed Size:  3.28 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 libnl-3.8.0-1-armv7h downloading...
 dbus-1.14.10-1-armv7h downloading...
 libpcap-1.10.4-1-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libnl...
installing dbus...
installing libpcap...
installing libnet...
[?25h==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found ipguard-1.04.tar.gz
  -> Found build-fix-le.patch
  -> Found pass-ldflags.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting ipguard-1.04.tar.gz with bsdtar
==> Starting prepare()...
patching file Makefile
Hunk #1 succeeded at 10 (offset 1 line).
patching file Makefile
==> Starting build()...
Compiling ethers.c
Compiling ipguard.c
Compiling packet.c
Compiling system.c
Making ipguard
INCLUDES=
LIBS=-lnet -lpcap -L/usr/lib
DEFINES=-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H
CFLAGS=-march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcommon -DLIBNET_LIL_ENDIAN -g -Wall -DETHERS='/etc/ethers'
In file included from /usr/include/sys/types.h:25,
                 from packet.c:30:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/pwd.h:25,
                 from system.c:30:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from ipguard.h:33,
                 from ethers.c:30:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from ipguard.h:33,
                 from ipguard.c:30:
/usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
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:894,
                 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:71:10: note: '__builtin___snprintf_chk' output between 10 and 4105 bytes into a destination of size 128
   71 | 
      |          ^
   72 | #endif
      | ~~~~~~    
   73 | 
      |                                 
ethers.c: In function 'ethers_init':
ethers.c:71:78: 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:71:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 128
   71 | 
      |          ^
   72 | #endif
      | ~~~~~~    
   73 | 
      |                                 
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:894,
                 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:71:10: note: '__builtin___snprintf_chk' output between 10 and 4105 bytes into a destination of size 128
   71 | 
      |          ^
   72 | #endif
      | ~~~~~~    
   73 | 
      |                                 
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:71:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 128
   71 | 
      |          ^
   72 | #endif
      | ~~~~~~    
   73 | 
      |                                 
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:71:10: note: '__builtin___snprintf_chk' output between 23 and 4118 bytes into a destination of size 64
   71 | 
      |          ^
   72 | #endif
      | ~~~~~~    
   73 | 
      |                                 
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:71:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 128
   71 | 
      |          ^
   72 | #endif
      | ~~~~~~    
   73 | 
      |                                 
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:71:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 128
   71 | 
      |          ^
   72 | #endif
      | ~~~~~~    
   73 | 
      |                                 
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:71:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 128
   71 | 
      |          ^
   72 | #endif
      | ~~~~~~    
   73 | 
      |                                 
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:894,
                 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:71:10: note: '__builtin___snprintf_chk' output between 16 and 143 bytes into a destination of size 128
   71 | 
      |          ^
   72 | #endif
      | ~~~~~~    
   73 | 
      |                                 
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:447: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: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=
LIBS=-lnet -lpcap -L/usr/lib
DEFINES=-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H
CFLAGS=-march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -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...
  -> 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 "ipguard"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ipguard 1.04-8 (Sat Nov  4 12:21:17 2023)
==> Cleaning up...