Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rp-pppoe.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672269541.741938/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bi4lrhdf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bi4lrhdf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '976c8ed4068f4f308f91b3c3d8addde3', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672269541.741938/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bi4lrhdf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rp-pppoe.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/rp-pppoe-3.15-4.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rp-pppoe.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672269541.741938/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bi4lrhdf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bi4lrhdf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bc871e3425cc4922970cc88c67e0ebcb', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672269541.741938/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bi4lrhdf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rp-pppoe.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kjLNc3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rp-pppoe-3.15 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rp-pppoe-3.15.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rp-pppoe-3.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (rp-pppoe-3.14-man.patch): + echo 'Patch #0 (rp-pppoe-3.14-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .config --fuzz=0 patching file man/pppoe.conf.5 patching file man/pppoe-connect.8 patching file man/pppoe-setup.8 patching file man/pppoe-start.8 patching file man/pppoe-stop.8 Patch #1 (rp-pppoe-3.14-ip-allocation.patch): + echo 'Patch #1 (rp-pppoe-3.14-ip-allocation.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ip-allocation --fuzz=0 patching file man/pppoe-server.8 patching file src/pppoe-server.c Patch #2 (rp-pppoe-3.12-doc.patch): + echo 'Patch #2 (rp-pppoe-3.12-doc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/Makefile.in Hunk #1 succeeded at 167 (offset 2 lines). Patch #3 (rp-pppoe-3.12-plugin.patch): + echo 'Patch #3 (rp-pppoe-3.12-plugin.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/configure.in Patch #4 (rp-pppoe-3.12-pluginpath.patch): + echo 'Patch #4 (rp-pppoe-3.12-pluginpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pluginpath --fuzz=0 patching file src/pppoe-server.c Hunk #1 succeeded at 2049 (offset 35 lines). Patch #5 (rp-pppoe-manpages.patch): + echo 'Patch #5 (rp-pppoe-manpages.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .manpages --fuzz=0 patching file man/pppoe.8 patching file man/pppoe-server.8 patching file src/pppoe.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pEfu0H + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rp-pppoe-3.15 + cd src + autoconf configure.in:8: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.in:8: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:8: the top level configure.in:19: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:19: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:19: the top level configure.in:35: warning: The macro `AC_HEADER_TIME' is obsolete. configure.in:35: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.in:35: the top level configure.in:40: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:40: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:40: the top level configure.in:54: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:54: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.in:54: the top level configure.in:136: warning: The macro `AC_FUNC_SETVBUF_REVERSED' is obsolete. Remove it and all references to SETVBUF_REVERSED. ./lib/autoconf/functions.m4:1766: AC_FUNC_SETVBUF_REVERSED is expanded from... configure.in:136: the top level configure.in:137: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.in:137: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.in:137: the top level configure.in:160: warning: The macro `AC_TRY_RUN' is obsolete. configure.in:160: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... configure.in:160: the top level configure.in:298: warning: AC_OUTPUT should be used without arguments. configure.in:298: You should run autoupdate. + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-12-28 23:20:54.655307696 +0000 +++ ./configure 2022-12-28 23:20:54.671307908 +0000 @@ -1694,7 +1694,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --docdir=/usr/share/doc/rp-pppoe --enable-plugin configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-redhat-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for sys/dlpi.h... no checking for sys/ioctl.h... yes checking for sys/time.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for net/if_arp.h... yes checking for netinet/if_ether.h... yes checking for getopt.h... yes checking for sys/uio.h... yes checking for sys/param.h... yes checking for fcntl.h... (cached) yes checking for net/bpf.h... no checking for netpacket/packet.h... yes checking for net/ethernet.h... yes checking for asm/types.h... yes checking for linux/if_packet.h... yes checking for linux/if_ether.h... yes checking for sys/socket.h... yes checking for net/if.h... yes checking for net/if_dl.h... no checking for net/if_ether.h... 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 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 strlcpy... no checking for a BSD-compatible install... /usr/bin/install -c checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 8 checking for ip... NOTFOUND checking for pppd... /usr/sbin/pppd checking for setsid... /usr/bin/setsid checking for id... /usr/bin/id checking for Linux 2.4.X kernel-mode PPPoE support... no *** Your kernel does not appear to have built-in PPPoE support, *** but I will build the kernel-mode plugin anyway. configure: creating ./config.status config.status: creating Makefile 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-setup config.status: creating ../gui/Makefile config.status: creating ../gui/tkpppoe config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking 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. + make gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -c -o pppoe.o pppoe.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -c -o if.o if.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -c -o debug.o debug.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -c -o common.o common.c common.c: In function 'dropPrivs': common.c:230:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 230 | setegid(getgid()); | ^~~~~~~~~~~~~~~~~ common.c:231:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 231 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -c -o ppp.o ppp.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -c -o discovery.o discovery.c discovery.c: In function 'sendPADR': discovery.c:570:8: warning: array subscript 'struct PPPoETag[0]' is partly outside array bounds of 'struct PPPoEPacket[1]' [-Warray-bounds=] 570 | svc->type = TAG_SERVICE_NAME; | ^~ discovery.c:549:17: note: at offset 20 into object 'packet' of size 1528 549 | PPPoEPacket packet; | ^~~~~~ discovery.c:571:8: warning: array subscript 'struct PPPoETag[0]' is partly outside array bounds of 'struct PPPoEPacket[1]' [-Warray-bounds=] 571 | svc->length = htons(namelen); | ^~ discovery.c:549:17: note: at offset 20 into object 'packet' of size 1528 549 | PPPoEPacket packet; | ^~~~~~ discovery.c: In function 'sendPADI': discovery.c:354:12: warning: array subscript 'struct PPPoETag[0]' is partly outside array bounds of 'struct PPPoEPacket[1]' [-Warray-bounds=] 354 | svc->type = TAG_SERVICE_NAME; | ^~ discovery.c:327:17: note: at offset 20 into object 'packet' of size 1528 327 | PPPoEPacket packet; | ^~~~~~ discovery.c:355:12: warning: array subscript 'struct PPPoETag[0]' is partly outside array bounds of 'struct PPPoEPacket[1]' [-Warray-bounds=] 355 | svc->length = htons(namelen); | ^~ discovery.c:327:17: note: at offset 20 into object 'packet' of size 1528 327 | PPPoEPacket packet; | ^~~~~~ gcc -o pppoe pppoe.o if.o debug.o common.o ppp.o discovery.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -c -o pppoe-server.o pppoe-server.c pppoe-server.c: In function 'main': pppoe-server.c:1579:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1579 | fread(&x, 1, sizeof(x), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pppoe-server.c:1581:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1581 | fread(&CookieSeed, 1, SEED_LEN, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pppoe-server.c:1755:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1755 | chdir("/"); | ^~~~~~~~~~ pppoe-server.c:1795:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1795 | ftruncate(LockFD, 0); | ^~~~~~~~~~~~~~~~~~~~ pppoe-server.c:1797:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1797 | write(LockFD, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pppoe-server.c:1809:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1809 | write(KidPipe[1], "X", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -c -o md5.o md5.c cd libevent && make DEFINES="" make[1]: Entering directory '/builddir/build/BUILD/rp-pppoe-3.15/src/libevent' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event.o event.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event_tcp.o event_tcp.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o hash.o hash.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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:146:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | write(Pipe[1], &sig, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 '/builddir/build/BUILD/rp-pppoe-3.15/src/libevent' gcc -o pppoe-server pppoe-server.o if.o debug.o common.o md5.o libevent/libevent.a -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Llibevent -levent gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -c -o pppoe-sniff.o pppoe-sniff.c gcc -o pppoe-sniff pppoe-sniff.o if.o common.o debug.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -c -o relay.o relay.c relay.c: In function 'main': relay.c:343:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 343 | chdir("/"); | ^~~~~~~~~~ relay.c: In function 'relayLoop': relay.c:806:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 806 | read(CleanPipe[0], &dummy, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ relay.c: In function 'alarmHandler': relay.c:1532:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1532 | write(CleanPipe[1], "", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o pppoe-relay relay.o if.o debug.o common.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes gcc -DPLUGIN=1 '-DRP_VERSION="3.15"' -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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/usr/include -c -o plugin/plugin.o -fPIC plugin.c gcc -DPLUGIN=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -I/usr/include -c -o plugin/discovery.o -fPIC discovery.c discovery.c: In function 'sendPADR': discovery.c:570:8: warning: array subscript 'struct PPPoETag[0]' is partly outside array bounds of 'struct PPPoEPacket[1]' [-Warray-bounds=] 570 | svc->type = TAG_SERVICE_NAME; | ^~ discovery.c:549:17: note: at offset 20 into object 'packet' of size 1528 549 | PPPoEPacket packet; | ^~~~~~ discovery.c:571:8: warning: array subscript 'struct PPPoETag[0]' is partly outside array bounds of 'struct PPPoEPacket[1]' [-Warray-bounds=] 571 | svc->length = htons(namelen); | ^~ discovery.c:549:17: note: at offset 20 into object 'packet' of size 1528 549 | PPPoEPacket packet; | ^~~~~~ discovery.c: In function 'sendPADI': discovery.c:354:12: warning: array subscript 'struct PPPoETag[0]' is partly outside array bounds of 'struct PPPoEPacket[1]' [-Warray-bounds=] 354 | svc->type = TAG_SERVICE_NAME; | ^~ discovery.c:327:17: note: at offset 20 into object 'packet' of size 1528 327 | PPPoEPacket packet; | ^~~~~~ discovery.c:355:12: warning: array subscript 'struct PPPoETag[0]' is partly outside array bounds of 'struct PPPoEPacket[1]' [-Warray-bounds=] 355 | svc->length = htons(namelen); | ^~ discovery.c:327:17: note: at offset 20 into object 'packet' of size 1528 327 | PPPoEPacket packet; | ^~~~~~ gcc -DPLUGIN=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -I/usr/include -c -o plugin/if.o -fPIC if.c gcc -DPLUGIN=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -I/usr/include -c -o plugin/common.o -fPIC common.c common.c: In function 'dropPrivs': common.c:230:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 230 | setegid(getgid()); | ^~~~~~~~~~~~~~~~~ common.c:231:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 231 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ gcc -DPLUGIN=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fno-strict-aliasing -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 '-DRP_VERSION="3.15"' -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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes Type 'make install' as root to install the software. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GUzewW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rp-pppoe-3.15 + mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/lib/systemd/system + make -C src install DESTDIR=/builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64 make: Entering directory '/builddir/build/BUILD/rp-pppoe-3.15/src' Type 'make install' as root to install the software. mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin /usr/bin/install -c -m 755 pppoe /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin /usr/bin/install -c -m 755 pppoe-server /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin if test -x licensed-only/pppoe-server-control ; then /usr/bin/install -c -m 755 licensed-only/pppoe-server-control /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin; fi if test -x pppoe-relay ; then /usr/bin/install -c -m 755 pppoe-relay /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin; fi if test -x pppoe-sniff; then /usr/bin/install -c -m 755 pppoe-sniff /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin; fi /usr/bin/install -c -m 755 ../scripts/pppoe-connect /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-start /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-status /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-stop /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-setup /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/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 /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/man/man8 || exit 1; \ fi; \ done /usr/bin/install -c -m 644 ../man/pppoe-start.8 /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/man/man8 /usr/bin/install -c -m 644 ../man/pppoe-stop.8 /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/man/man8 /usr/bin/install -c -m 644 ../man/pppoe-status.8 /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/man/man8 /usr/bin/install -c -m 644 ../man/pppoe-connect.8 /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/man/man8 /usr/bin/install -c -m 644 ../man/pppoe-setup.8 /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/man/man8 mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/man/man5 /usr/bin/install -c -m 644 ../man/pppoe.conf.5 /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/man/man5 mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/etc/ppp mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/etc/ppp/plugins echo "# Directory created by rp-pppoe for kernel-mode plugin" > /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/etc/ppp/plugins/README if test -r rp-pppoe.so; then /usr/bin/install -c -m 755 rp-pppoe.so /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/etc/ppp/plugins; fi Looks like a Red Hat system; installing /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/etc/rc.d/init.d/pppoe Type 'pppoe-setup' to configure the software. make: Leaving directory '/builddir/build/BUILD/rp-pppoe-3.15/src' + install -m 0755 /builddir/build/SOURCES/pppoe-connect /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin + install -m 0755 /builddir/build/SOURCES/pppoe-setup /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin + install -m 0755 /builddir/build/SOURCES/pppoe-start /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin + install -m 0755 /builddir/build/SOURCES/pppoe-status /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin + install -m 0755 /builddir/build/SOURCES/pppoe-stop /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin + install -m 0644 /builddir/build/SOURCES/pppoe-server.service /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/lib/systemd/system/pppoe-server.service + ln -sf pppoe-stop /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin/adsl-stop + ln -sf pppoe-start /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin/adsl-start + ln -fs pppoe-start.8 /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/man/man8/adsl-start.8 + ln -fs pppoe-stop.8 /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/man/man8/adsl-stop.8 + rm -rf /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/etc/ppp/pppoe.conf /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/etc/rc.d/init.d/pppoe /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64//etc/ppp/plugins + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 3.15-4.fc38 --unique-debug-suffix -3.15-4.fc38.x86_64 --unique-debug-src-base rp-pppoe-3.15-4.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/rp-pppoe-3.15 extracting debug info from /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin/pppoe extracting debug info from /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin/pppoe-relay extracting debug info from /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin/pppoe-server extracting debug info from /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/sbin/pppoe-sniff original debug info size: 472kB, size after compression: 396kB /usr/bin/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 578 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/pppoe-stop from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/sbin/pppoe-status from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/sbin/pppoe-start from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/sbin/pppoe-setup from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/sbin/pppoe-connect from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rp-pppoe-3.15-4.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uDXF8g + umask 022 + cd /builddir/build/BUILD + cd rp-pppoe-3.15 + DOCDIR=/builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/doc/rp-pppoe + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/doc/rp-pppoe + cp -pr scripts/pppoe-connect /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/doc/rp-pppoe + cp -pr scripts/pppoe-setup /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/doc/rp-pppoe + cp -pr scripts/pppoe-init /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/doc/rp-pppoe + cp -pr scripts/pppoe-start /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/doc/rp-pppoe + cp -pr scripts/pppoe-status /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/doc/rp-pppoe + cp -pr scripts/pppoe-stop /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/doc/rp-pppoe + cp -pr SERVPOET /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/doc/rp-pppoe + cp -pr README /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/doc/rp-pppoe + cp -pr configs /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/doc/rp-pppoe + cp -pr doc /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64/usr/share/doc/rp-pppoe + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(rp-pppoe) = 3.15-4.fc38 rp-pppoe = 3.15-4.fc38 rp-pppoe(x86-64) = 3.15-4.fc38 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: rp-pppoe-debugsource-3.15-4.fc38.x86_64 Provides: rp-pppoe-debugsource = 3.15-4.fc38 rp-pppoe-debugsource(x86-64) = 3.15-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rp-pppoe-debuginfo-3.15-4.fc38.x86_64 Provides: debuginfo(build-id) = 60e59ab7e6578c72e886dffeedd6e202f1fcefdb debuginfo(build-id) = 920dd64fec6fb1aa37125212a155311f869c23c4 debuginfo(build-id) = ee4052901f723196f881b1e547db56ba62e0407c debuginfo(build-id) = f6c4ef83a8542b61149469c5d98745cade9801e8 rp-pppoe-debuginfo = 3.15-4.fc38 rp-pppoe-debuginfo(x86-64) = 3.15-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rp-pppoe-debugsource(x86-64) = 3.15-4.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64 Wrote: /builddir/build/RPMS/rp-pppoe-debuginfo-3.15-4.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/rp-pppoe-debugsource-3.15-4.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/rp-pppoe-3.15-4.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yKs3Ax + umask 022 + cd /builddir/build/BUILD + cd rp-pppoe-3.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rp-pppoe-3.15-4.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.WuTRPm + umask 022 + cd /builddir/build/BUILD + rm -rf rp-pppoe-3.15 rp-pppoe-3.15.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0