Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rp-pppoe.spec'], chrootPath='/var/lib/mock/f31-build-87301-31646/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/rp-pppoe-3.12-14.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rp-pppoe.spec'], chrootPath='/var/lib/mock/f31-build-87301-31646/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3tKNyi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rp-pppoe-3.12 + /usr/bin/gzip -dc /builddir/build/SOURCES/rp-pppoe-3.12.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rp-pppoe-3.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rp-pppoe-3.12-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .config --fuzz=0 + echo 'Patch #1 (rp-pppoe-3.12-ip-allocation.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ip-allocation --fuzz=0 + echo 'Patch #2 (rp-pppoe-3.12-doc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (rp-pppoe-3.12-plugin.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #4 (rp-pppoe-3.12-pluginpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pluginpath --fuzz=0 + echo 'Patch #5 (rp-pppoe-manpages.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .manpages --fuzz=0 + echo 'Patch #6 (rp-pppoe-3.12-bz#1469960-new-kernel-header.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bz#1469960-new-kernel-header --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (rp-pppoe-3.12-man.patch): 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.12-ip-allocation.patch): patching file man/pppoe-server.8 patching file src/pppoe-server.c Patch #2 (rp-pppoe-3.12-doc.patch): patching file src/Makefile.in Patch #3 (rp-pppoe-3.12-plugin.patch): patching file src/configure.in Patch #4 (rp-pppoe-3.12-pluginpath.patch): patching file src/pppoe-server.c Patch #5 (rp-pppoe-manpages.patch): patching file man/pppoe.8 patching file man/pppoe-server.8 patching file src/pppoe.c Patch #6 (rp-pppoe-3.12-bz#1469960-new-kernel-header.patch): patching file src/if.c patching file src/plugin.c patching file src/pppoe.h patching file src/pppoe-server.c patching file src/relay.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Q6T0Dj + umask 022 + cd /builddir/build/BUILD + cd rp-pppoe-3.12 + cd src + autoconf + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fno-strict-aliasing' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fno-strict-aliasing' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --docdir=/usr/share/doc/rp-pppoe --enable-plugin BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-koji-linux-gnu-gcc... no 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 riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib 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/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 BUILDSTDERR: checking forconfig.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: config.status: WARNING: '../gui/Makefile.in' seems to ignore the --datarootdir setting BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make BUILDSTDERR: pppoe.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 16 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: if.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 18 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from if.c:57: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'openInterface' at if.c:465:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'openInterface' at if.c:487:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'openInterface' at if.c:504:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: debug.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 18 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from pppoe.h:26, BUILDSTDERR: from common.c:26: BUILDSTDERR: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: common.c: In function 'dropPrivs': BUILDSTDERR: common.c:235:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 235 | setegid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: common.c:236:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 236 | seteuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: common.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 18 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ select... yes checking for socket... yes checking for strerror... yes checking for strtol... yes 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 pppd... /usr/sbin/pppd checking for echo... /usr/bin/echo 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. checking packing order of bit fields... reversed 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-init-turbolinux config.status: creating ../scripts/pppoe-setup config.status: creating ../gui/Makefile 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. gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 '-DVERSION="3.12"' -c -o pppoe.o pppoe.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 '-DVERSION="3.12"' -c -o if.o if.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 '-DVERSION="3.12"' -c -o debug.o debug.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 '-DVERSION="3.12"' -c -o common.o common.c BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fnppp.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 18 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: discovery.c:13:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 13 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/sys/socket.h:22, BUILDSTDERR: from pppoe-server.c:29: BUILDSTDERR: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: pppoe-server.c: In function 'main': BUILDSTDERR: pppoe-server.c:1539:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1539 | fread(&x, 1, sizeof(x), fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pppoe-server.c:1541:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1541 | fread(&CookieSeed, 1, SEED_LEN, fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pppoe-server.c:1715:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1715 | chdir("/"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: pppoe-server.c:1755:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1755 | ftruncate(LockFD, 0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pppoe-server.c:1757:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1757 | write(LockFD, buf, strlen(buf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pppoe-server.c:1769:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1769 | write(KidPipe[1], "X", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: pppoe-server.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 18 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: pppoe-server.c: In function 'startPPPDUserMode': BUILDSTDERR: pppoe-server.c:1927:80: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 206 and 226 [-Wformat-truncation=] BUILDSTDERR: 1927 | snprintf(buffer, SMALLBUF, "%s -n -I %s -e %u:%02x:%02x:%02x:%02x:%02x:%02x%s -S '%s'", BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 1932 | PppoeOptions, session->serviceName); BUILDSTDERR: | ~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from pppoe.h:26, BUILDSTDERR: from pppoe-server.h:18, BUILDSTDERR: from pppoe-server.c:36: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 37 or more bytes (assuming 312) into a destination of size 256 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: event.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 17 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: event_tcp.c:14:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 14 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: hash.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 17 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/signal.h:25, BUILDSTDERR: from event_sig.c:23: BUILDSTDERR: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: event_sig.c: In function 'sig_handler': BUILDSTDERR: event_sig.c:149:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 149 | write(Pipe[1], &sig, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: event_sig.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 17 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ o-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 '-DVERSION="3.12"' -c -o ppp.o ppp.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 '-DVERSION="3.12"' -c -o discovery.o discovery.c 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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 '-DVERSION="3.12"' -c -o pppoe-server.o pppoe-server.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 '-DVERSION="3.12"' -c -o md5.o md5.c cd libevent && make DEFINES="" make[1]: Entering directory '/builddir/build/BUILD/rp-pppoe-3.12/src/libevent' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fno-strict-aliasing -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event.o event.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fno-strict-aliasing -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event_tcp.o event_tcp.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fno-strict-aliasing -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o hash.o hash.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fno-strict-aliasing -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event_sig.o event_sig.c rm -f libevent.a BUILDSTDERR: ar -cq libevent.a evenpppoe-sniff.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 17 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: relay.c: In function 'main': BUILDSTDERR: relay.c:346:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 346 | chdir("/"); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: relay.c: In function 'relayLoop': BUILDSTDERR: relay.c:809:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 809 | read(CleanPipe[0], &dummy, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: relay.c: In function 'alarmHandler': BUILDSTDERR: relay.c:1536:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1536 | write(CleanPipe[1], "", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: relay.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 17 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: plugin.c:27:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 27 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: plugin.c: In function 'PPPOEDeviceOptions': BUILDSTDERR: plugin.c:63:20: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 239 [-Wformat-truncation=] BUILDSTDERR: 63 | #define _ROOT_PATH "" BUILDSTDERR: | ^~ BUILDSTDERR: plugin.c:66:30: note: in expansion of macro '_ROOT_PATH' BUILDSTDERR: 66 | #define _PATH_ETHOPT _ROOT_PATH "/etc/ppp/options." BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: plugin.c:340:24: note: in expansion of macro '_PATH_ETHOPT' BUILDSTDERR: 340 | snprintf(buf, 256, _PATH_ETHOPT "%s",devnam); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: plugin.c:340:38: note: format string is defined here BUILDSTDERR: 340 | snprintf(buf, 256, _PATH_ETHOPT "%s",devnam); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from pppoe.h:26, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 256 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from plugin.c:46: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'PPPOEConnectDevice' at plugin.c:169:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'PPPoEDevnameHook' at plugin.c:402:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'PPPoEDevnameHook' at plugin.c:422:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: discovery.c:13:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 13 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: if.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 18 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from if.c:57: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'openInterface' at if.c:465:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'openInterface' at if.c:487:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'openInterface' at if.c:504:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ t.o event_tcp.o hash.o event_sig.o ranlib libevent.a make[1]: Leaving directory '/builddir/build/BUILD/rp-pppoe-3.12/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 -Llibevent -levent gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 '-DVERSION="3.12"' -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 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 '-DVERSION="3.12"' -c -o relay.o relay.c 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 gcc -DPLUGIN=1 '-DRP_VERSION="3.12"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 '-DVERSION="3.12"' -c -o plugin/discovery.o -fPIC discovery.c gcc -DPLUGIN=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 '-DVERSION="3.12"' -c -o plugin/if.o -fPIC if.c BUILDSTDERR: gcc -DPLUGIN=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fno-strict-aliIn file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from pppoe.h:26, BUILDSTDERR: from common.c:26: BUILDSTDERR: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: common.c: In function 'dropPrivs': BUILDSTDERR: common.c:235:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 235 | setegid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: common.c:236:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 236 | seteuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: common.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 18 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ BUILDSTDERR: debug.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 18 | static char const RCSID[] = BUILDSTDERR: | ^~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 asing -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.12"' -c -o plugin/common.o -fPIC common.c gcc -DPLUGIN=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 '-DVERSION="3.12"' -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 Type 'make install' as root to install the software. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7j11Lj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64 + cd rp-pppoe-3.12 + mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/lib/systemd/system + make -C src install DESTDIR=/builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64 + install -m 0755 /builddir/build/SOURCES/pppoe-connect /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin + install -m 0755 /builddir/build/SOURCES/pppoe-setup /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin + install -m 0755 /builddir/build/SOURCES/pppoe-start /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin + install -m 0755 /builddir/build/SOURCES/pppoe-status /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin + install -m 0755 /builddir/build/SOURCES/pppoe-stop /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin + install -m 0644 /builddir/build/SOURCES/pppoe-server.service /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/lib/systemd/system/pppoe-server.service + ln -sf pppoe-stop /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin/adsl-stop + ln -sf pppoe-start /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin/adsl-start + ln -fs pppoe-start.8 /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/man/man8/adsl-start.8 + ln -fs pppoe-stop.8 /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/man/man8/adsl-stop.8 + rm -rf /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/etc/ppp/pppoe.conf /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/etc/rc.d/init.d/pppoe /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64//etc/ppp/plugins + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.12-14.fc31 --unique-debug-suffix -3.12-14.fc31.riscv64 --unique-debug-src-base rp-pppoe-3.12-14.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rp-pppoe-3.12 make: Entering directory '/builddir/build/BUILD/rp-pppoe-3.12/src' Type 'make install' as root to install the software. mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin /usr/bin/install -c -m 755 pppoe /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin /usr/bin/install -c -m 755 pppoe-server /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/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.12-14.fc31.riscv64/usr/sbin; fi if test -x pppoe-relay ; then /usr/bin/install -c -m 755 pppoe-relay /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin; fi if test -x pppoe-sniff; then /usr/bin/install -c -m 755 pppoe-sniff /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin; fi /usr/bin/install -c -m 755 ../scripts/pppoe-connect /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-start /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-status /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-stop /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-setup /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/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.12-14.fc31.riscv64/usr/share/man/man8 || exit 1; \ fi; \ done /usr/bin/install -c -m 644 ../man/pppoe-start.8 /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/man/man8 /usr/bin/install -c -m 644 ../man/pppoe-stop.8 /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/man/man8 /usr/bin/install -c -m 644 ../man/pppoe-status.8 /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/man/man8 /usr/bin/install -c -m 644 ../man/pppoe-connect.8 /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/man/man8 /usr/bin/install -c -m 644 ../man/pppoe-setup.8 /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/man/man8 mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/man/man5 /usr/bin/install -c -m 644 ../man/pppoe.conf.5 /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/man/man5 mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/etc/ppp mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/etc/ppp/plugins echo "# Directory created by rp-pppoe for kernel-mode plugin" > /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/etc/ppp/plugins/README Looks like a Red Hat system; installing /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/etc/rc.d/init.d/pppoe Type 'pppoe-setup' to configure the software. make: Leaving directory '/builddir/build/BUILD/rp-pppoe-3.12/src' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin/pppoe explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin/pppoe-relay explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin/pppoe-sniff explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin/pppoe-server extracting debug info from /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin/pppoe extracting debug info from /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin/pppoe-relay extracting debug info from /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin/pppoe-server extracting debug info from /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/sbin/pppoe-sniff BUILDSTDERR: original debug info size: 636kB,574 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs size after compression: 576kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 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 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-stop from /bin/bash to #!/usr/bin/bash Processing files: rp-pppoe-3.12-14.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gUss8j + umask 022 + cd /builddir/build/BUILD + cd rp-pppoe-3.12 + DOCDIR=/builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/doc/rp-pppoe + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/doc/rp-pppoe + cp -pr scripts/pppoe-connect /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/doc/rp-pppoe + cp -pr scripts/pppoe-setup /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/doc/rp-pppoe + cp -pr scripts/pppoe-init /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/doc/rp-pppoe + cp -pr scripts/pppoe-start /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/doc/rp-pppoe + cp -pr scripts/pppoe-status /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/doc/rp-pppoe + cp -pr scripts/pppoe-stop /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/doc/rp-pppoe + cp -pr SERVPOET /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/doc/rp-pppoe + cp -pr README /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/doc/rp-pppoe + cp -pr configs /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/doc/rp-pppoe + cp -pr doc /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64/usr/share/doc/rp-pppoe + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(rp-pppoe) = 3.12-14.fc31 rp-pppoe = 3.12-14.fc31 rp-pppoe(riscv-64) = 3.12-14.fc31 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 ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: rp-pppoe-debugsource-3.12-14.fc31.riscv64 Provides: rp-pppoe-debugsource = 3.12-14.fc31 rp-pppoe-debugsource(riscv-64) = 3.12-14.fc31 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.12-14.fc31.riscv64 Provides: debuginfo(build-id) = 59cfdc6094af47dfc72f070ee4882730f3ef230e debuginfo(build-id) = 9f5fb48e7941bc5b05628252175a9aa74011ac81 debuginfo(build-id) = c0f85d1319269138eec360b10db7fd37ea21b893 debuginfo(build-id) = f96f3f72769c13b21e2955dca26310dff1274781 rp-pppoe-debuginfo = 3.12-14.fc31 rp-pppoe-debuginfo(riscv-64) = 3.12-14.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rp-pppoe-debugsource(riscv-64) = 3.12-14.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64 Wrote: /builddir/build/RPMS/rp-pppoe-3.12-14.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rp-pppoe-debugsource-3.12-14.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rp-pppoe-debuginfo-3.12-14.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mZ0o1k + umask 022 + cd /builddir/build/BUILD + cd rp-pppoe-3.12 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rp-pppoe-3.12-14.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0