* Package: net-dialup/rp-pppoe-3.13 * Repository: gentoo * Maintainer: polynomial-c@gentoo.org base-system@gentoo.org * USE: arm64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking rp-pppoe-3.13.tar.gz to /var/tmp/portage/net-dialup/rp-pppoe-3.13/work >>> Unpacking ppp-2.4.7.tar.gz to /var/tmp/portage/net-dialup/rp-pppoe-3.13/work >>> Source unpacked in /var/tmp/portage/net-dialup/rp-pppoe-3.13/work >>> Preparing source in /var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13 ... * Applying rp-pppoe-3.10-gentoo-netscripts.patch ... [ ok ] * Applying rp-pppoe-3.10-username-charset.patch ... [ ok ] * Applying rp-pppoe-3.10-plugin-options.patch ... [ ok ] * Applying rp-pppoe-3.13-autotools.patch ... [ ok ] * Applying rp-pppoe-3.10-posix-source-sigaction.patch ... [ ok ] * Applying rp-pppoe-3.11-gentoo.patch ... [ ok ] * Applying rp-pppoe-3.11-kmode.patch ... [ ok ] * Applying rp-pppoe-3.13-linux-headers.patch ... [ ok ] * Applying rp-pppoe-3.12-ifconfig-path.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13/src' ... * Running aclocal ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: rp-pppoe-3.13/src/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13 ... ./configure --prefix=/usr --build=aarch64-unknown-linux-gnu --host=aarch64-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/rp-pppoe-3.13 --htmldir=/usr/share/doc/rp-pppoe-3.13/html --libdir=/usr/lib64 PPPD_VER=2.4.8 --enable-plugin=../../ppp-2.4.8 checking for aarch64-unknown-linux-gnu-gcc... aarch64-unknown-linux-gnu-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 aarch64-unknown-linux-gnu-gcc accepts -g... yes checking for aarch64-unknown-linux-gnu-gcc option to accept ISO C89... none needed checking for aarch64-unknown-linux-gnu-ranlib... aarch64-unknown-linux-gnu-ranlib checking how to run the C preprocessor... aarch64-unknown-linux-gnu-cpp checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/dlpi.h usability... no checking sys/dlpi.h presence... no checking for sys/dlpi.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking net/if_arp.h usability... yes checking net/if_arp.h presence... yes checking for net/if_arp.h... yes checking netinet/if_ether.h usability... yes checking netinet/if_ether.h presence... yes checking for netinet/if_ether.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for fcntl.h... (cached) yes checking net/bpf.h usability... no checking net/bpf.h presence... no checking for net/bpf.h... no checking netpacket/packet.h usability... yes checking netpacket/packet.h presence... yes checking for netpacket/packet.h... yes checking net/ethernet.h usability... yes checking net/ethernet.h presence... yes checking for net/ethernet.h... yes checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking linux/if_packet.h usability... yes checking linux/if_packet.h presence... yes checking for linux/if_packet.h... yes checking linux/if_ether.h usability... yes checking linux/if_ether.h presence... yes checking for linux/if_ether.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking net/if_dl.h usability... no checking net/if_dl.h presence... no checking for net/if_dl.h... no checking net/if_ether.h usability... no checking net/if_ether.h presence... no checking for net/if_ether.h... no checking net/if_types.h usability... no checking net/if_types.h presence... no checking for net/if_types.h... no checking for netinet/if_ether.h... (cached) yes checking for net/if_types.h... (cached) no checking for net/if_dl.h... (cached) no checking for linux/if.h... yes checking for linux/if_pppox.h... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct sockaddr_ll... yes checking for N_HDLC line discipline... yes checking for working memcmp... yes checking return type of signal handlers... void checking for select... yes checking for socket... yes checking for strerror... yes checking for strtol... yes checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 8 checking for pppd... /usr/sbin/pppd checking for echo... /bin/echo checking for setsid... /usr/bin/setsid checking for id... /usr/bin/id checking for Linux 2.4.X kernel-mode PPPoE support... yes checking packing order of bit fields... reversed configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating libevent/Makefile config.status: creating ../scripts/pppoe-connect config.status: creating ../scripts/pppoe-start config.status: creating ../scripts/pppoe-stop config.status: creating ../scripts/pppoe-init config.status: creating ../scripts/pppoe-init-suse config.status: creating ../scripts/pppoe-init-turbolinux config.status: creating ../scripts/pppoe-setup config.status: creating ../gui/Makefile config.status: WARNING: '../gui/Makefile.in' seems to ignore the --datarootdir setting config.status: creating ../gui/tkpppoe 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. >>> Source configured. >>> Compiling source in /var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13 ... make -j96 aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o pppoe.o pppoe.c aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o if.o if.c aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o debug.o debug.c aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o common.o common.c aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o ppp.o ppp.c aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o discovery.o discovery.c aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o pppoe-server.o pppoe-server.c aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o md5.o md5.c cd libevent && make DEFINES="" aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o pppoe-sniff.o pppoe-sniff.c aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o relay.o relay.c aarch64-unknown-linux-gnu-gcc -DPLUGIN=1 '-DRP_VERSION="3.13"' -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent -I../../ppp-2.4.8 -c -o plugin/plugin.o -fPIC plugin.c aarch64-unknown-linux-gnu-gcc -DPLUGIN=1 -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o plugin/discovery.o -fPIC discovery.c aarch64-unknown-linux-gnu-gcc -DPLUGIN=1 -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o plugin/if.o -fPIC if.c aarch64-unknown-linux-gnu-gcc -DPLUGIN=1 -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o plugin/common.o -fPIC common.c aarch64-unknown-linux-gnu-gcc -DPLUGIN=1 -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o plugin/debug.o -fPIC debug.c make[1]: Entering directory '/var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13/src/libevent' aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event.o event.c aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event_tcp.o event_tcp.c aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o hash.o hash.c aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event_sig.o event_sig.c event_sig.c: In function ‘sig_handler’: event_sig.c:145:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 145 | write(Pipe[1], &sig, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ common.c: In function ‘dropPrivs’: common.c:231:2: warning: ignoring return value of ‘setegid’, declared with attribute warn_unused_result [-Wunused-result] 231 | setegid(getgid()); | ^~~~~~~~~~~~~~~~~ common.c:232:2: warning: ignoring return value of ‘seteuid’, declared with attribute warn_unused_result [-Wunused-result] 232 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from if.c:53: In function ‘strncpy’, inlined from ‘openInterface’ at if.c:461:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘openInterface’ at if.c:483:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘openInterface’ at if.c:500:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common.c: In function ‘dropPrivs’: common.c:231:2: warning: ignoring return value of ‘setegid’, declared with attribute warn_unused_result [-Wunused-result] 231 | setegid(getgid()); | ^~~~~~~~~~~~~~~~~ common.c:232:2: warning: ignoring return value of ‘seteuid’, declared with attribute warn_unused_result [-Wunused-result] 232 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ relay.c: In function ‘main’: relay.c:340:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 340 | chdir("/"); | ^~~~~~~~~~ plugin.c: In function ‘PPPOEConnectDevice’: plugin.c:254:17: warning: converting a packed ‘struct sockaddr_pppox’ pointer (alignment 1) to a ‘const struct sockaddr’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 254 | sizeof(struct sockaddr_pppox)) < 0) { | ^~~~~~~~~~~~~~ In file included from plugin.c:56: /usr/include/linux/if_pppox.h:65:8: note: defined here 65 | struct sockaddr_pppox { | ^~~~~~~~~~~~~~ plugin.c: In function ‘PPPOEDisconnectDevice’: plugin.c:322:17: warning: converting a packed ‘struct sockaddr_pppox’ pointer (alignment 1) to a ‘const struct sockaddr’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 322 | sizeof(struct sockaddr_pppox)) < 0) { | ^~~~~~~~~~~~~~ In file included from plugin.c:56: /usr/include/linux/if_pppox.h:65:8: note: defined here 65 | struct sockaddr_pppox { | ^~~~~~~~~~~~~~ relay.c: In function ‘relayLoop’: relay.c:803:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 803 | read(CleanPipe[0], &dummy, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from if.c:53: In function ‘strncpy’, inlined from ‘openInterface’ at if.c:461:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘openInterface’ at if.c:483:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘openInterface’ at if.c:500:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c: In function ‘alarmHandler’: relay.c:1530:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 1530 | write(CleanPipe[1], "", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ pppoe-server.c: In function ‘main’: pppoe-server.c:1517:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 1517 | fread(&x, 1, sizeof(x), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pppoe-server.c:1519:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 1519 | fread(&CookieSeed, 1, SEED_LEN, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pppoe-server.c:1693:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 1693 | chdir("/"); | ^~~~~~~~~~ pppoe-server.c:1733:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 1733 | ftruncate(LockFD, 0); | ^~~~~~~~~~~~~~~~~~~~ pppoe-server.c:1735:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 1735 | write(LockFD, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pppoe-server.c:1747:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 1747 | write(KidPipe[1], "X", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ plugin.c: In function ‘PPPOEDeviceOptions’: plugin.c:61:20: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 239 [-Wformat-truncation=] 61 | #define _ROOT_PATH "" | ^~ plugin.c:64:30: note: in expansion of macro ‘_ROOT_PATH’ 64 | #define _PATH_ETHOPT _ROOT_PATH "/etc/ppp/options." | ^~~~~~~~~~ plugin.c:336:24: note: in expansion of macro ‘_PATH_ETHOPT’ 336 | snprintf(buf, 256, _PATH_ETHOPT "%s",devnam); | ^~~~~~~~~~~~ plugin.c:336:38: note: format string is defined here 336 | snprintf(buf, 256, _PATH_ETHOPT "%s",devnam); | ^~ In file included from /usr/include/stdio.h:867, from pppoe.h:22, from plugin.c:27: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 18 and 4113 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from plugin.c:47: In function ‘strncpy’, inlined from ‘PPPOEConnectDevice’ at plugin.c:167:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘PPPoEDevnameHook’ at plugin.c:398:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 16 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘PPPoEDevnameHook’ at plugin.c:418:6: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libevent.a ar -cq libevent.a event.o event_tcp.o hash.o event_sig.o make[1]: ar: No such file or directory make[1]: *** [Makefile:22: libevent.a] Error 127 make[1]: Leaving directory '/var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13/src/libevent' make: *** [Makefile:114: libevent/libevent.a] Error 2 make: *** Waiting for unfinished jobs.... pppoe-server.c: In function ‘startPPPDUserMode’: pppoe-server.c:1905:80: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 206 and 226 [-Wformat-truncation=] 1905 | (buffer, SMALLBUF, "%s -n -I %s -e %u:%02x:%02x:%02x:%02x:%02x:%02x%s -S '%s'", | ^~ ...... 1910 | ptions, session->serviceName); | ~~~~~~ In file included from /usr/include/stdio.h:867, from pppoe.h:22, from pppoe-server.h:18, from pppoe-server.c:31: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 37 or more bytes (assuming 312) into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * ERROR: net-dialup/rp-pppoe-3.13::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-dialup/rp-pppoe-3.13::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-dialup/rp-pppoe-3.13::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/net-dialup/rp-pppoe-3.13:20200505-044846.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-dialup/rp-pppoe-3.13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dialup/rp-pppoe-3.13/temp/environment'. * Working directory: '/var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13/src' * S: '/var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13' emerge --info: Portage 2.3.99 (python 3.6.10-final-0, default/linux/arm64/17.0, gcc-9.3.0, glibc-2.31-r2, 4.9.0-4-arm64 aarch64) ================================================================= System uname: Linux-4.9.0-4-arm64-aarch64-with-gentoo-2.7 KiB Mem: 131544964 total, 44859164 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 05 May 2020 05:10:44 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p1) 2.34.0 ccache version 3.7.9 [disabled] app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2::gentoo dev-lang/python: 2.7.18::gentoo, 3.6.10-r2::gentoo, 3.8.2-r2::gentoo dev-util/ccache: 3.7.9::gentoo dev-util/cmake: 3.17.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34::gentoo sys-devel/gcc: 9.3.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="arm64 ~arm64" ACCEPT_LICENSE="*" CBUILD="aarch64-unknown-linux-gnu" CC="aarch64-unknown-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="aarch64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="aarch64-unknown-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j96" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl arm64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS