==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: rp-pppoe 4.0-5 (Sat Mar 22 08:54:19 2025)
==> Retrieving sources...
  -> Cloning rp-pppoe git repo...
Cloning into bare repository '/home/leming/work/rp-pppoe/rp-pppoe'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    rp-pppoe ... Skipped
==> Making package: rp-pppoe 4.0-5 (Sat Mar 22 08:54:26 2025)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
:: There are 2 providers available for libxtables.so=12-64:
:: Repository core
   1) iptables  2) iptables-nft

Enter a number (default=1): 
looking for conflicting packages...

Packages (10) iptables-1:1.8.11-1  libbpf-1.5.0-1  libmnl-1.0.5-2
              libnetfilter_conntrack-1.0.9-2  libnfnetlink-1.0.2-2
              libnftnl-1.2.8-1  libnl-3.11.0-1  libpcap-1.10.5-2
              iproute2-6.13.0-1  ppp-2.5.2-1

Total Download Size:    2.35 MiB
Total Installed Size:  21.74 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 iproute2-6.13.0-1-aarch64 downloading...
 iptables-1:1.8.11-1-aarch64 downloading...
 ppp-2.5.2-1-aarch64 downloading...
 libpcap-1.10.5-2-aarch64 downloading...
 libbpf-1.5.0-1-aarch64 downloading...
 libnftnl-1.2.8-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 libnl...
installing libpcap...
installing ppp...
installing libmnl...
installing libnftnl...
installing libnfnetlink...
installing libnetfilter_conntrack...
installing iptables...
installing libbpf...
installing iproute2...
Optional dependencies for iproute2
    db5.3: userspace arp daemon [installed]
    linux-atm: ATM support
    python: for routel [installed]
:: 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 Installed Size:  44.55 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 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...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of rp-pppoe git repo...
Cloning into 'rp-pppoe'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
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 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 ranlib... ranlib
checking for ar... ar
checking for sys/wait.h that is POSIX.1 compatible... yes
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 net/if_arp.h usability... yes
checking net/if_arp.h presence... yes
checking for net/if_arp.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking linux/if_packet.h usability... yes
checking linux/if_packet.h presence... yes
checking for linux/if_packet.h... yes
checking for linux/if.h... yes
checking for linux/if_pppox.h... yes
checking for struct sockaddr_ll... yes
checking for N_HDLC line discipline... yes
checking for working memcmp... yes
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for strtol... yes
checking for strlcpy... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ip... /usr/bin/ip
checking for pppd... /usr/bin/pppd
checking for setsid... /usr/bin/setsid
checking for id... /usr/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libevent/Makefile
config.status: creating config.h
On this platform, the following targets will be built:
pppoe pppoe-server pppoe-sniff pppoe-relay rp-pppoe.so
Type 'make' to compile the software.
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -c -o pppoe.o pppoe.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -c -o if.o if.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -c -o debug.o debug.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -c -o common.o common.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -c -o ppp.o ppp.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -c -o discovery.o discovery.c
gcc -o pppoe pppoe.o if.o debug.o common.o ppp.o discovery.o -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now 
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -c -o pppoe-server.o pppoe-server.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -c -o md5.o md5.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -c -o control_socket.o control_socket.c
cd libevent && make DEFINES=""
make[1]: Entering directory '/build/rp-pppoe/src/rp-pppoe/src/libevent'
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes -I..  -c -o event.o event.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes -I..  -c -o event_tcp.o event_tcp.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes -I..  -c -o hash.o hash.c
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes -I..  -c -o event_sig.o event_sig.c
rm -f libevent.a
ar -cq libevent.a event.o event_tcp.o hash.o event_sig.o
ranlib libevent.a
make[1]: Leaving directory '/build/rp-pppoe/src/rp-pppoe/src/libevent'
gcc -o pppoe-server  pppoe-server.o if.o debug.o common.o md5.o control_socket.o libevent/libevent.a -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Llibevent -levent 
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -c -o pppoe-sniff.o pppoe-sniff.c
gcc -o pppoe-sniff pppoe-sniff.o if.o common.o debug.o -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now 
gcc -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -c -o relay.o relay.c
gcc -o pppoe-relay relay.o if.o debug.o common.o -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now 
gcc -DPLUGIN=1 '-DRP_VERSION="4.0"' -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent -I/usr/include -c -o plugin/plugin.o -fPIC plugin.c
gcc -DPLUGIN=1 -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -I/usr/include -c -o plugin/discovery.o -fPIC discovery.c
gcc -DPLUGIN=1 -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -I/usr/include -c -o plugin/if.o -fPIC if.c
gcc -DPLUGIN=1 -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -I/usr/include -c -o plugin/common.o -fPIC common.c
gcc -DPLUGIN=1 -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fno-strict-aliasing -Wall -Wstrict-prototypes  '-DPPPOE_PATH="/usr/bin/pppoe"' '-DPPPD_PATH="/usr/bin/pppd"' '-DPLUGIN_PATH="/usr/lib/rp-pppoe/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DRP_VERSION="4.0"' -I/usr/include -c -o plugin/debug.o -fPIC debug.c
ar -rc plugin/libplugin.a plugin/discovery.o plugin/if.o plugin/common.o plugin/debug.o
gcc -o rp-pppoe.so -shared plugin/plugin.o plugin/libplugin.a -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now

Type 'make install' as root to install the software.
make: 'rp-pppoe.so' is up to date.
==> Entering fakeroot environment...
==> Starting package()...

Type 'make install' as root to install the software.
mkdir -p /build/rp-pppoe/pkg/rp-pppoe/usr/bin
/usr/bin/install -c -m 755 pppoe /build/rp-pppoe/pkg/rp-pppoe/usr/bin
/usr/bin/install -c -m 755 pppoe-server /build/rp-pppoe/pkg/rp-pppoe/usr/bin
if test -x pppoe-relay ; then /usr/bin/install -c -m 755 pppoe-relay /build/rp-pppoe/pkg/rp-pppoe/usr/bin; fi
if test -x pppoe-sniff; then /usr/bin/install -c -m 755 pppoe-sniff /build/rp-pppoe/pkg/rp-pppoe/usr/bin; fi
mkdir -p /build/rp-pppoe/pkg/rp-pppoe/usr/share/doc/rp-pppoe-4.0
/usr/bin/install -c -m 644 ../doc/CHANGES /build/rp-pppoe/pkg/rp-pppoe/usr/share/doc/rp-pppoe-4.0
/usr/bin/install -c -m 644 ../doc/KERNEL-MODE-PPPOE /build/rp-pppoe/pkg/rp-pppoe/usr/share/doc/rp-pppoe-4.0
/usr/bin/install -c -m 644 ../doc/HOW-TO-CONNECT /build/rp-pppoe/pkg/rp-pppoe/usr/share/doc/rp-pppoe-4.0
/usr/bin/install -c -m 644 ../doc/LICENSE /build/rp-pppoe/pkg/rp-pppoe/usr/share/doc/rp-pppoe-4.0
/usr/bin/install -c -m 644 ../README.md /build/rp-pppoe/pkg/rp-pppoe/usr/share/doc/rp-pppoe-4.0
mkdir -p /build/rp-pppoe/pkg/rp-pppoe/usr/share/man/man8
for i in pppoe pppoe-server pppoe-sniff pppoe-relay rp-pppoe.so ; do \
	if test -f ../man/$i.8 ; then \
		/usr/bin/install -c -m 644 ../man/$i.8 /build/rp-pppoe/pkg/rp-pppoe/usr/share/man/man8 || exit 1; \
	fi; \
done
mkdir -p /build/rp-pppoe/pkg/rp-pppoe/etc/ppp
mkdir -p /build/rp-pppoe/pkg/rp-pppoe/usr/lib/rp-pppoe
echo "# Directory created by rp-pppoe for kernel-mode plugin" > /build/rp-pppoe/pkg/rp-pppoe/usr/lib/rp-pppoe/README
if test -r rp-pppoe.so; then /usr/bin/install -c -m 755 rp-pppoe.so /build/rp-pppoe/pkg/rp-pppoe/usr/lib/rp-pppoe; fi
==> 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 "rp-pppoe"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: rp-pppoe 4.0-5 (Sat Mar 22 08:54:41 2025)
==> Cleaning up...