==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: rp-pppoe 4.0-6 (Fri Jul 17 06:43:47 2026)
==> Retrieving sources...
  -> Updating rp-pppoe git repo...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    rp-pppoe ... Passed
==> Making package: rp-pppoe 4.0-6 (Fri Jul 17 12:43:51 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
:: There are 2 providers available for libxtables.so=12-64:
:: Repository core
   1) iptables  2) iptables-legacy

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

Packages (11) iptables-1:1.8.13-1  libbpf-1.7.0-1  libmnl-1.0.5-2  libnetfilter_conntrack-1.1.1-1  libnfnetlink-1.0.2-2  libnftnl-1.3.1-1  libnl-3.12.0-1  libpcap-1.10.6-1  nftables-1:1.1.6-3  iproute2-7.1.0-1  ppp-2.5.3-1

Total Installed Size:  23.68 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 libnl...
installing libpcap...
installing ppp...
installing libmnl...
installing libnfnetlink...
installing libnetfilter_conntrack...
installing libnftnl...
installing nftables...
Optional dependencies for nftables
    python: Python bindings [installed]
    python-jsonschema: Python bindings
installing iptables...
installing libbpf...
installing iproute2...
Optional dependencies for iproute2
    db: userspace arp daemon
    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...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (5) perl-error-0.17030-3  perl-mailtools-2.22-3  perl-timedate-2.35-1  zlib-ng-2.3.3-1  git-2.55.0-1

Total Installed Size:  46.63 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 zlib-ng...
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-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]
    less: the default pager for git
:: Running post-transaction hooks...
(1/3) Creating system user accounts...
Creating group 'git' with GID 967.
Creating user 'git' (git daemon user) with UID 967 and GID 967.
(2/3) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/3) Arming ConditionNeedsUpdate...
==> 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...
  -> 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 "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-6 (Fri Jul 17 12:44:10 2026)
==> Cleaning up...
[?12l[?25h