Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rp-pppoe.spec'], nspawn_args=[]shell=Falseuid=1004env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-x86_64/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rp-pppoe.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rp-pppoe-3.11-7.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rp-pppoe.spec'], nspawn_args=[]shell=Falseuid=1004env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-x86_64/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rp-pppoe.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.h7ypAY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rp-pppoe-3.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/rp-pppoe-3.11.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rp-pppoe-3.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (rp-pppoe-3.8-redhat.patch): + echo 'Patch #0 (rp-pppoe-3.8-redhat.patch):' + /usr/bin/cat /builddir/build/SOURCES/rp-pppoe-3.8-redhat.patch + /usr/bin/patch -p1 -b --suffix .config --fuzz=0 patching file man/pppoe.conf.5 Hunk #1 succeeded at 2 (offset -2 lines). Hunk #2 succeeded at 54 (offset -2 lines). patching file man/pppoe-setup.8 Hunk #1 succeeded at 8 (offset -1 lines). patching file man/pppoe-connect.8 Hunk #1 succeeded at 13 (offset -1 lines). patching file man/pppoe-start.8 Hunk #1 succeeded at 11 (offset -1 lines). patching file man/pppoe-stop.8 Hunk #1 succeeded at 9 (offset -1 lines). patching file man/pppoe-status.8 Hunk #1 succeeded at 10 (offset -1 lines). Patch #1 (rp-pppoe-3.11-ip-allocation.patch): + echo 'Patch #1 (rp-pppoe-3.11-ip-allocation.patch):' + /usr/bin/cat /builddir/build/SOURCES/rp-pppoe-3.11-ip-allocation.patch + /usr/bin/patch -p1 -b --suffix .ip-allocation --fuzz=0 patching file man/pppoe-server.8 patching file src/pppoe-server.c Patch #2 (rp-pppoe-manpages.patch): + echo 'Patch #2 (rp-pppoe-manpages.patch):' + /usr/bin/cat /builddir/build/SOURCES/rp-pppoe-manpages.patch + /usr/bin/patch -p1 --fuzz=0 patching file man/pppoe.8 patching file man/pppoe-server.8 Hunk #1 succeeded at 77 (offset 19 lines). Hunk #2 succeeded at 155 (offset 24 lines). patching file src/pppoe.c Hunk #1 succeeded at 378 (offset -1 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mCGk0m + umask 022 + cd /builddir/build/BUILD + cd rp-pppoe-3.11 + cd src + autoconf + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fno-strict-aliasing' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fno-strict-aliasing' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-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 x86_64-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... no 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... no 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 checking packing order of bit fields... reversed configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating libevent/Makefile config.status: creating ../scripts/pppoe-connect config.status: creating ../scripts/pppoe-start config.status: creating ../scripts/pppoe-stop config.status: creating ../scripts/pppoe-init config.status: creating ../scripts/pppoe-init-suse config.status: creating ../scripts/pppoe-init-turbolinux config.status: creating ../scripts/pppoe-setup config.status: creating ../gui/Makefile config.status: WARNING: '../gui/Makefile.in' seems to ignore the --datarootdir setting config.status: creating ../gui/tkpppoe config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking On this platform, the following targets will be built: pppoe pppoe-server pppoe-sniff pppoe-relay Type 'make' to compile the software. + make gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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.11"' -c -o pppoe.o pppoe.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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.11"' -c -o if.o if.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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.11"' -c -o debug.o debug.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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.11"' -c -o common.o common.c common.c: In function 'dropPrivs': common.c:235:9: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(getgid()); ^ common.c:236:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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.11"' -c -o ppp.o ppp.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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.11"' -c -o discovery.o discovery.c gcc -o pppoe pppoe.o if.o debug.o common.o ppp.o discovery.o -Wl,-z,relro gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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.11"' -c -o pppoe-server.o pppoe-server.c pppoe-server.c: In function 'main': pppoe-server.c:1533:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&x, 1, sizeof(x), fp); ^ pppoe-server.c:1535:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&CookieSeed, 1, SEED_LEN, fp); ^ pppoe-server.c:1709:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ pppoe-server.c:1749:11: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(LockFD, 0); ^ pppoe-server.c:1751:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(LockFD, buf, strlen(buf)); ^ pppoe-server.c:1763:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(KidPipe[1], "X", 1); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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.11"' -c -o md5.o md5.c md5.c: In function 'MD5Final': md5.c:144:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ cd libevent && make DEFINES="" make[1]: Entering directory `/builddir/build/BUILD/rp-pppoe-3.11/src/libevent' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fno-strict-aliasing -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event.o event.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fno-strict-aliasing -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o hash.o hash.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fno-strict-aliasing -fno-strict-aliasing -Wall -Wstrict-prototypes -I.. -c -o event_sig.o event_sig.c event_sig.c: In function 'sig_handler': event_sig.c:149:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(Pipe[1], &sig, 1); ^ rm -f libevent.a ar -cq libevent.a event.o event_tcp.o hash.o event_sig.o ranlib libevent.a make[1]: Leaving directory `/builddir/build/BUILD/rp-pppoe-3.11/src/libevent' gcc -o pppoe-server pppoe-server.o if.o debug.o common.o md5.o libevent/libevent.a -Wl,-z,relro -Llibevent -levent gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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.11"' -c -o pppoe-sniff.o pppoe-sniff.c gcc -o pppoe-sniff pppoe-sniff.o if.o common.o debug.o -Wl,-z,relro gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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.11"' -c -o relay.o relay.c relay.c: In function 'relayHandlePADS': relay.c:1323:9: warning: variable 'acIndex' set but not used [-Wunused-but-set-variable] int acIndex; ^ relay.c: In function 'main': relay.c:338:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ relay.c: In function 'relayLoop': relay.c:801:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(CleanPipe[0], &dummy, 1); ^ relay.c: In function 'alarmHandler': relay.c:1530:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(CleanPipe[1], "", 1); ^ gcc -o pppoe-relay relay.o if.o debug.o common.o -Wl,-z,relro Type 'make install' as root to install the software. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nTCftY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64 + cd rp-pppoe-3.11 + rm -rf /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/lib/systemd/system + make -C src install DESTDIR=/builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64 make: Entering directory `/builddir/build/BUILD/rp-pppoe-3.11/src' Type 'make install' as root to install the software. mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin /usr/bin/install -c -m 755 pppoe /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin /usr/bin/install -c -m 755 pppoe-server /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin if test -x licensed-only/pppoe-server-control ; then /usr/bin/install -c -m 755 licensed-only/pppoe-server-control /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin; fi if test -x pppoe-relay ; then /usr/bin/install -c -m 755 pppoe-relay /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin; fi if test -x pppoe-sniff; then /usr/bin/install -c -m 755 pppoe-sniff /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin; fi /usr/bin/install -c -m 755 ../scripts/pppoe-connect /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-start /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-status /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-stop /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-setup /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 /usr/bin/install -c -m 644 ../doc/CHANGES /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 /usr/bin/install -c -m 644 ../doc/KERNEL-MODE-PPPOE /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 /usr/bin/install -c -m 644 ../doc/HOW-TO-CONNECT /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 /usr/bin/install -c -m 644 ../doc/LICENSE /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 /usr/bin/install -c -m 644 ../README /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 /usr/bin/install -c -m 644 ../SERVPOET /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 /usr/bin/install -c -m 644 ../configs/pap-secrets /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/man/man8 for i in pppoe pppoe-server pppoe-sniff pppoe-relay ; do \ if test -f ../man/$i.8 ; then \ /usr/bin/install -c -m 644 ../man/$i.8 /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/man/man8 || exit 1; \ fi; \ done /usr/bin/install -c -m 644 ../man/pppoe-start.8 /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/man/man8 /usr/bin/install -c -m 644 ../man/pppoe-stop.8 /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/man/man8 /usr/bin/install -c -m 644 ../man/pppoe-status.8 /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/man/man8 /usr/bin/install -c -m 644 ../man/pppoe-connect.8 /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/man/man8 /usr/bin/install -c -m 644 ../man/pppoe-setup.8 /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/man/man8 mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/man/man5 /usr/bin/install -c -m 644 ../man/pppoe.conf.5 /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/man/man5 mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/etc/ppp mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/etc/ppp/plugins echo "# Directory created by rp-pppoe for kernel-mode plugin" > /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/etc/ppp/plugins/README Looks like a Red Hat system; installing /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/etc/rc.d/init.d/pppoe Type 'pppoe-setup' to configure the software. make: Leaving directory `/builddir/build/BUILD/rp-pppoe-3.11/src' + install -m 0755 /builddir/build/SOURCES/pppoe-connect /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin + install -m 0755 /builddir/build/SOURCES/pppoe-setup /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin + install -m 0755 /builddir/build/SOURCES/pppoe-start /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin + install -m 0755 /builddir/build/SOURCES/pppoe-status /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin + install -m 0755 /builddir/build/SOURCES/pppoe-stop /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin + install -m 0644 /builddir/build/SOURCES/pppoe-server.service /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/lib/systemd/system/pppoe-server.service + ln -sf pppoe-stop /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin/adsl-stop + ln -sf pppoe-start /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin/adsl-start + ln -fs pppoe-start.8 /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/man/man8/adsl-start.8 + ln -fs pppoe-stop.8 /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/man/man8/adsl-stop.8 + rm -rf /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/etc/ppp/pppoe.conf /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/etc/rc.d/init.d/pppoe /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/doc /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/etc/ppp/plugins + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/rp-pppoe-3.11 extracting debug info from /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin/pppoe extracting debug info from /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin/pppoe-server extracting debug info from /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin/pppoe-relay extracting debug info from /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/sbin/pppoe-sniff /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 568 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: rp-pppoe-3.11-7.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YpXD0B + umask 022 + cd /builddir/build/BUILD + cd rp-pppoe-3.11 + DOCDIR=/builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 + cp -pr doc/LICENSE /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 + cp -pr scripts/pppoe-connect /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 + cp -pr scripts/pppoe-setup /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 + cp -pr scripts/pppoe-init /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 + cp -pr scripts/pppoe-start /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 + cp -pr scripts/pppoe-status /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 + cp -pr scripts/pppoe-stop /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 + cp -pr configs /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64/usr/share/doc/rp-pppoe-3.11 + exit 0 Provides: config(rp-pppoe) = 3.11-7.el7 rp-pppoe = 3.11-7.el7 rp-pppoe(x86-64) = 3.11-7.el7 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): fileutils initscripts systemd-sysv systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh chkconfig fileutils initscripts systemd-units Requires: /bin/bash /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Conflicts: filesystem < 3 Processing files: rp-pppoe-debuginfo-3.11-7.el7.x86_64 Provides: rp-pppoe-debuginfo = 3.11-7.el7 rp-pppoe-debuginfo(x86-64) = 3.11-7.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64 Wrote: /builddir/build/RPMS/rp-pppoe-3.11-7.el7.x86_64.rpm Wrote: /builddir/build/RPMS/rp-pppoe-debuginfo-3.11-7.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FlvqVx + umask 022 + cd /builddir/build/BUILD + cd rp-pppoe-3.11 + rm -rf /builddir/build/BUILDROOT/rp-pppoe-3.11-7.el7.x86_64 + exit 0 Child return code was: 0