Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rp-pppoe.spec'], chrootPath='/var/lib/mock/f29-build-32021-16900/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/rp-pppoe-3.12-12.fc29.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/f29-build-32021-16900/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.e1sbTa + 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):' Patch #0 (rp-pppoe-3.12-man.patch): + /usr/bin/patch --no-backup-if-mismatch -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 + echo 'Patch #1 (rp-pppoe-3.12-ip-allocation.patch):' Patch #1 (rp-pppoe-3.12-ip-allocation.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ip-allocation --fuzz=0 patching file man/pppoe-server.8 patching file src/pppoe-server.c + echo 'Patch #2 (rp-pppoe-3.12-doc.patch):' Patch #2 (rp-pppoe-3.12-doc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Makefile.in + echo 'Patch #3 (rp-pppoe-3.12-plugin.patch):' Patch #3 (rp-pppoe-3.12-plugin.patch): patching file src/configure.in + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #4 (rp-pppoe-3.12-pluginpath.patch): + echo 'Patch #4 (rp-pppoe-3.12-pluginpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pluginpath --fuzz=0 patching file src/pppoe-server.c + echo 'Patch #5 (rp-pppoe-manpages.patch):' Patch #5 (rp-pppoe-manpages.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .manpages --fuzz=0 patching file man/pppoe.8 patching file man/pppoe-server.8 patching file src/pppoe.c + echo 'Patch #6 (rp-pppoe-3.12-bz#1469960-new-kernel-header.patch):' 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 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tK0D4j + 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,-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-redhat-linux-gnu --host=riscv64-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 --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-redhat-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-redhat-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 checking for 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 BUILDSTDERR: config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating libevent/Makefile config.status: creating ../scripts/pppoe-connect config.status: creating ../scripts/pppoe-start config.status: creating ../scripts/pppoe-stop config.status: creating ../scripts/pppoe-init config.status: creating ../scripts/pppoe-init-suse config.status: creating ../scripts/pppoe-init-turbolinux config.status: creating ../scripts/pppoe-setup config.status: creating ../gui/Makefile BUILDSTDERR: config.status: WARNING: '../gui/Makefile.in' seems to ignore the --datarootdir setting config.status: creating ../gui/tkpppoe config.status: creating config.h BUILDSTDERR: 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 -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 BUILDSTDERR: pppoe.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static char const RCSID[] = 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 -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 BUILDSTDERR: if.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static char const RCSID[] = 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 -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 BUILDSTDERR: debug.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static char const RCSID[] = 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 -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: 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:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # 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: setegid(getgid()); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: common.c:236:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: seteuid(getuid()); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: common.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static char const RCSID[] = 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 -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 ppp.o ppp.c BUILDSTDERR: ppp.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static char const RCSID[] = 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 -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 BUILDSTDERR: discovery.c:13:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static char const RCSID[] = BUILDSTDERR: ^~~~~ gcc -o pppoe pppoe.o if.o debug.o common.o ppp.o discovery.o -Wl,-z,relro -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 BUILDSTDERR: In file included from /usr/include/sys/socket.h:22, BUILDSTDERR: from pppoe-server.c:29: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # 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: 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: 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: chdir("/"); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: pppoe-server.c:1755:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 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: 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: 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: 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: snprintf(buffer, SMALLBUF, "%s -n -I %s -e %u:%02x:%02x:%02x:%02x:%02x:%02x%s -S '%s'", BUILDSTDERR: ^~ BUILDSTDERR: pppoe-server.c:1932:7: BUILDSTDERR: PppoeOptions, session->serviceName); BUILDSTDERR: ~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); 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 -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 BUILDSTDERR: event.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static char const RCSID[] = 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 -fno-strict-aliasing -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event_tcp.o event_tcp.c BUILDSTDERR: event_tcp.c:14:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static char const RCSID[] = 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 -fno-strict-aliasing -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o hash.o hash.c BUILDSTDERR: hash.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static char const RCSID[] = 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 -fno-strict-aliasing -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event_sig.o event_sig.c BUILDSTDERR: In file included from /usr/include/signal.h:25, BUILDSTDERR: from event_sig.c:23: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # 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: 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: static char const RCSID[] = BUILDSTDERR: ^~~~~ 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.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,-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 BUILDSTDERR: pppoe-sniff.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static char const RCSID[] = BUILDSTDERR: ^~~~~ gcc -o pppoe-sniff pppoe-sniff.o if.o common.o debug.o -Wl,-z,relro -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 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: 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: 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: write(CleanPipe[1], "", 1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: relay.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static char const RCSID[] = BUILDSTDERR: ^~~~~ gcc -o pppoe-relay relay.o if.o debug.o common.o -Wl,-z,relro -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 BUILDSTDERR: In file included from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/linux/in.h:29:3: error: redeclaration of enumerator 'IPPROTO_IP' BUILDSTDERR: IPPROTO_IP = 0, /* Dummy protocol for TCP */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:42:5: note: previous definition of 'IPPROTO_IP' was here BUILDSTDERR: IPPROTO_IP = 0, /* Dummy protocol for TCP. */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:31:3: error: redeclaration of enumerator 'IPPROTO_ICMP' BUILDSTDERR: IPPROTO_ICMP = 1, /* Internet Control Message Protocol */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:44:5: note: previous definition of 'IPPROTO_ICMP' was here BUILDSTDERR: IPPROTO_ICMP = 1, /* Internet Control Message Protocol. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:33:3: error: redeclaration of enumerator 'IPPROTO_IGMP' BUILDSTDERR: IPPROTO_IGMP = 2, /* Internet Group Management Protocol */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:46:5: note: previous definition of 'IPPROTO_IGMP' was here BUILDSTDERR: IPPROTO_IGMP = 2, /* Internet Group Management Protocol. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:35:3: error: redeclaration of enumerator 'IPPROTO_IPIP' BUILDSTDERR: IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94) */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:48:5: note: previous definition of 'IPPROTO_IPIP' was here BUILDSTDERR: IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94). */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:37:3: error: redeclaration of enumerator 'IPPROTO_TCP' BUILDSTDERR: IPPROTO_TCP = 6, /* Transmission Control Protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:50:5: note: previous definition of 'IPPROTO_TCP' was here BUILDSTDERR: IPPROTO_TCP = 6, /* Transmission Control Protocol. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:39:3: error: redeclaration of enumerator 'IPPROTO_EGP' BUILDSTDERR: IPPROTO_EGP = 8, /* Exterior Gateway Protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:52:5: note: previous definition of 'IPPROTO_EGP' was here BUILDSTDERR: IPPROTO_EGP = 8, /* Exterior Gateway Protocol. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:41:3: error: redeclaration of enumerator 'IPPROTO_PUP' BUILDSTDERR: IPPROTO_PUP = 12, /* PUP protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:54:5: note: previous definition of 'IPPROTO_PUP' was here BUILDSTDERR: IPPROTO_PUP = 12, /* PUP protocol. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:43:3: error: redeclaration of enumerator 'IPPROTO_UDP' BUILDSTDERR: IPPROTO_UDP = 17, /* User Datagram Protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:56:5: note: previous definition of 'IPPROTO_UDP' was here BUILDSTDERR: IPPROTO_UDP = 17, /* User Datagram Protocol. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:45:3: error: redeclaration of enumerator 'IPPROTO_IDP' BUILDSTDERR: IPPROTO_IDP = 22, /* XNS IDP protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:58:5: note: previous definition of 'IPPROTO_IDP' was here BUILDSTDERR: IPPROTO_IDP = 22, /* XNS IDP protocol. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:47:3: error: redeclaration of enumerator 'IPPROTO_TP' BUILDSTDERR: IPPROTO_TP = 29, /* SO Transport Protocol Class 4 */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:60:5: note: previous definition of 'IPPROTO_TP' was here BUILDSTDERR: IPPROTO_TP = 29, /* SO Transport Protocol Class 4. */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:49:3: error: redeclaration of enumerator 'IPPROTO_DCCP' BUILDSTDERR: IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:62:5: note: previous definition of 'IPPROTO_DCCP' was here BUILDSTDERR: IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:51:3: error: redeclaration of enumerator 'IPPROTO_IPV6' BUILDSTDERR: IPPROTO_IPV6 = 41, /* IPv6-in-IPv4 tunnelling */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:64:5: note: previous definition of 'IPPROTO_IPV6' was here BUILDSTDERR: IPPROTO_IPV6 = 41, /* IPv6 header. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:53:3: error: redeclaration of enumerator 'IPPROTO_RSVP' BUILDSTDERR: IPPROTO_RSVP = 46, /* RSVP Protocol */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:66:5: note: previous definition of 'IPPROTO_RSVP' was here BUILDSTDERR: IPPROTO_RSVP = 46, /* Reservation Protocol. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:55:3: error: redeclaration of enumerator 'IPPROTO_GRE' BUILDSTDERR: IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:68:5: note: previous definition of 'IPPROTO_GRE' was here BUILDSTDERR: IPPROTO_GRE = 47, /* General Routing Encapsulation. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:57:3: error: redeclaration of enumerator 'IPPROTO_ESP' BUILDSTDERR: IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:70:5: note: previous definition of 'IPPROTO_ESP' was here BUILDSTDERR: IPPROTO_ESP = 50, /* encapsulating security payload. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:59:3: error: redeclaration of enumerator 'IPPROTO_AH' BUILDSTDERR: IPPROTO_AH = 51, /* Authentication Header protocol */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:72:5: note: previous definition of 'IPPROTO_AH' was here BUILDSTDERR: IPPROTO_AH = 51, /* authentication header. */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:61:3: error: redeclaration of enumerator 'IPPROTO_MTP' BUILDSTDERR: IPPROTO_MTP = 92, /* Multicast Transport Protocol */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:74:5: note: previous definition of 'IPPROTO_MTP' was here BUILDSTDERR: IPPROTO_MTP = 92, /* Multicast Transport Protocol. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:63:3: error: redeclaration of enumerator 'IPPROTO_BEETPH' BUILDSTDERR: IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET */ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:76:5: note: previous definition of 'IPPROTO_BEETPH' was here BUILDSTDERR: IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET. */ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:65:3: error: redeclaration of enumerator 'IPPROTO_ENCAP' BUILDSTDERR: IPPROTO_ENCAP = 98, /* Encapsulation Header */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:78:5: note: previous definition of 'IPPROTO_ENCAP' was here BUILDSTDERR: IPPROTO_ENCAP = 98, /* Encapsulation Header. */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:67:3: error: redeclaration of enumerator 'IPPROTO_PIM' BUILDSTDERR: IPPROTO_PIM = 103, /* Protocol Independent Multicast */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:80:5: note: previous definition of 'IPPROTO_PIM' was here BUILDSTDERR: IPPROTO_PIM = 103, /* Protocol Independent Multicast. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:69:3: error: redeclaration of enumerator 'IPPROTO_COMP' BUILDSTDERR: IPPROTO_COMP = 108, /* Compression Header Protocol */ BUILDSTDERR: ^~~~~~~~~~~~ RPM build errors: BUILDSTDERR: /usr/include/netinet/in.h:82:5: note: previous definition of 'IPPROTO_COMP' was here BUILDSTDERR: IPPROTO_COMP = 108, /* Compression Header Protocol. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:71:3: error: redeclaration of enumerator 'IPPROTO_SCTP' BUILDSTDERR: IPPROTO_SCTP = 132, /* Stream Control Transport Protocol */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:84:5: note: previous definition of 'IPPROTO_SCTP' was here BUILDSTDERR: IPPROTO_SCTP = 132, /* Stream Control Transmission Protocol. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:73:3: error: redeclaration of enumerator 'IPPROTO_UDPLITE' BUILDSTDERR: IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828) */ BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:86:5: note: previous definition of 'IPPROTO_UDPLITE' was here BUILDSTDERR: IPPROTO_UDPLITE = 136, /* UDP-Lite protocol. */ BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:75:3: error: redeclaration of enumerator 'IPPROTO_MPLS' BUILDSTDERR: IPPROTO_MPLS = 137, /* MPLS in IP (RFC 4023) */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:88:5: note: previous definition of 'IPPROTO_MPLS' was here BUILDSTDERR: IPPROTO_MPLS = 137, /* MPLS in IP. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/in.h:77:3: error: redeclaration of enumerator 'IPPROTO_RAW' BUILDSTDERR: IPPROTO_RAW = 255, /* Raw IP packets */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/netinet/in.h:90:5: note: previous definition of 'IPPROTO_RAW' was here BUILDSTDERR: IPPROTO_RAW = 255, /* Raw IP packets. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:20, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in.h:79:3: error: redeclaration of enumerator 'IPPROTO_MAX' BUILDSTDERR: IPPROTO_MAX BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/netinet/in.h:92:5: note: previous definition of 'IPPROTO_MAX' was here BUILDSTDERR: IPPROTO_MAX BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:20, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in.h:85:8: error: redefinition of 'struct in_addr' BUILDSTDERR: struct in_addr { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/netinet/in.h:31:8: note: originally defined here BUILDSTDERR: struct in_addr BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:20, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in.h:168:8: error: redefinition of 'struct ip_mreq' BUILDSTDERR: struct ip_mreq { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/netinet/in.h:264:8: note: originally defined here BUILDSTDERR: struct ip_mreq BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:20, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in.h:173:8: error: redefinition of 'struct ip_mreqn' BUILDSTDERR: struct ip_mreqn { BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/netinet/in.h:37, BUILDSTDERR: from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/bits/in.h:149:8: note: originally defined here BUILDSTDERR: struct ip_mreqn BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:20, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in.h:179:8: error: redefinition of 'struct ip_mreq_source' BUILDSTDERR: struct ip_mreq_source { BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/netinet/in.h:273:8: note: originally defined here BUILDSTDERR: struct ip_mreq_source BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:20, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in.h:185:8: error: redefinition of 'struct ip_msfilter' BUILDSTDERR: struct ip_msfilter { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/netinet/in.h:323:8: note: originally defined here BUILDSTDERR: struct ip_msfilter BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:20, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in.h:197:8: error: redefinition of 'struct group_req' BUILDSTDERR: struct group_req { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/netinet/in.h:300:8: note: originally defined here BUILDSTDERR: struct group_req BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:20, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in.h:202:8: error: redefinition of 'struct group_source_req' BUILDSTDERR: struct group_source_req { BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/netinet/in.h:309:8: note: originally defined here BUILDSTDERR: struct group_source_req BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:20, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in.h:208:8: error: redefinition of 'struct group_filter' BUILDSTDERR: struct group_filter { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/netinet/in.h:344:8: note: originally defined here BUILDSTDERR: struct group_filter BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:20, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in.h:222:8: error: redefinition of 'struct in_pktinfo' BUILDSTDERR: struct in_pktinfo { BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/netinet/in.h:37, BUILDSTDERR: from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/bits/in.h:157:8: note: originally defined here BUILDSTDERR: struct in_pktinfo BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:20, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in.h:232:8: error: redefinition of 'struct sockaddr_in' BUILDSTDERR: struct sockaddr_in { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/netinet/in.h:237:8: note: originally defined here BUILDSTDERR: struct sockaddr_in BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:21, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in6.h:33:8: error: redefinition of 'struct in6_addr' BUILDSTDERR: struct in6_addr { BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/netinet/in.h:211:8: note: originally defined here BUILDSTDERR: struct in6_addr BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:21, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in6.h:50:8: error: redefinition of 'struct sockaddr_in6' BUILDSTDERR: struct sockaddr_in6 { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/netinet/in.h:252:8: note: originally defined here BUILDSTDERR: struct sockaddr_in6 BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/if_pppol2tp.h:21, BUILDSTDERR: from /usr/include/linux/if_pppox.h:27, BUILDSTDERR: from plugin.c:60: BUILDSTDERR: /usr/include/linux/in6.h:60:8: error: redefinition of 'struct ipv6_mreq' BUILDSTDERR: struct ipv6_mreq { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from pppoe.h:127, BUILDSTDERR: from plugin.c:31: BUILDSTDERR: /usr/include/netinet/in.h:288:8: note: originally defined here BUILDSTDERR: struct ipv6_mreq BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: plugin.c:27:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static char const RCSID[] = BUILDSTDERR: ^~~~~ BUILDSTDERR: make: *** [Makefile:139: plugin/plugin.o] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.tK0D4j (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.tK0D4j (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rp-pppoe.spec