Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ppp.spec'], chrootPath='/var/lib/mock/ppp-2.4.5-34.el7_7-20200227164537-3412/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ppp.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/ppp-2.4.5-34.el7_7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ppp.spec'], chrootPath='/var/lib/mock/ppp-2.4.5-34.el7_7-20200227164537-3412/root'shell=Falseuid=1005env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ppp.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HyacUv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ppp-2.4.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/ppp-2.4.5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ppp-2.4.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ppp-2.4.3-make.patch):' Patch #0 (ppp-2.4.3-make.patch): + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.3-make.patch + /usr/bin/patch -p1 -b --suffix .make --fuzz=0 patching file pppd/Makefile.linux patching file pppd/plugins/Makefile.linux patching file pppd/plugins/radius/Makefile.linux patching file pppd/plugins/rp-pppoe/Makefile.linux patching file pppdump/Makefile.linux patching file pppstats/Makefile.linux patching file chat/Makefile.linux Patch #1 (ppp-2.3.6-sample.patch): + echo 'Patch #1 (ppp-2.3.6-sample.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.3.6-sample.patch + /usr/bin/patch -p1 -b --suffix .sample --fuzz=0 patching file sample/auth-down patching file sample/auth-up patching file sample/ip-down patching file sample/ip-up patching file sample/options patching file sample/options.ttyXX patching file sample/pap-secrets + echo 'Patch #2 (ppp-2.4.2-libutil.patch):' Patch #2 (ppp-2.4.2-libutil.patch): + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.2-libutil.patch + /usr/bin/patch -p1 -b --suffix .libutil --fuzz=0 patching file pppd/sys-linux.c Hunk #1 succeeded at 2150 (offset -1 lines). Patch #3 (ppp-2.4.1-varargs.patch): + echo 'Patch #3 (ppp-2.4.1-varargs.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.1-varargs.patch + /usr/bin/patch -p1 -b --suffix .varargs --fuzz=0 patching file pppd/utils.c Patch #4 (ppp-2.4.4-lib64.patch): + echo 'Patch #4 (ppp-2.4.4-lib64.patch):' + /usr/bin/patch -p1 -b --suffix .lib64 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.4-lib64.patch patching file pppd/plugins/rp-pppoe/Makefile.linux Hunk #1 succeeded at 16 (offset 1 line). patching file pppd/plugins/radius/Makefile.linux patching file pppd/plugins/pppoatm/Makefile.linux patching file pppd/plugins/Makefile.linux patching file pppd/Makefile.linux patching file pppd/pathnames.h patching file pppd/plugins/pppol2tp/Makefile.linux Patch #7 (ppp-2.4.2-pie.patch): + echo 'Patch #7 (ppp-2.4.2-pie.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.2-pie.patch + /usr/bin/patch -p1 -b --suffix .pie --fuzz=0 patching file chat/Makefile.linux patching file pppd/Makefile.linux + echo 'Patch #8 (ppp-2.4.3-fix.patch):' Patch #8 (ppp-2.4.3-fix.patch): + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.3-fix.patch + /usr/bin/patch -p1 -b --suffix .fix --fuzz=0 patching file pppd/plugins/rp-pppoe/discovery.c Hunk #1 succeeded at 15 (offset 2 lines). patching file pppd/ipv6cp.c patching file pppdump/deflate.c patching file pppdump/bsd-comp.c patching file pppdump/pppdump.c Patch #9 (ppp-2.4.3-fix64.patch): + echo 'Patch #9 (ppp-2.4.3-fix64.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.3-fix64.patch + /usr/bin/patch -p1 -b --suffix .fix64 --fuzz=0 patching file pppd/sha1.c Patch #11 (ppp-2.4.2-change_resolv_conf.patch): + echo 'Patch #11 (ppp-2.4.2-change_resolv_conf.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.2-change_resolv_conf.patch + /usr/bin/patch -p1 -b --suffix .change_resolv_conf --fuzz=0 patching file pppd/pppd.8 Hunk #1 succeeded at 1067 (offset 32 lines). patching file scripts/ip-down.local.add patching file scripts/ip-up.local.add Patch #13 (ppp-2.4.4-no_strip.patch): + echo 'Patch #13 (ppp-2.4.4-no_strip.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.4-no_strip.patch + /usr/bin/patch -p1 -b --suffix .no_strip --fuzz=0 patching file pppd/Makefile.linux.make patching file pppd/Makefile.linux patching file pppd/plugins/radius/Makefile.linux.make patching file pppd/plugins/radius/Makefile.linux patching file pppd/plugins/rp-pppoe/Makefile.linux patching file pppd/Makefile.linux.lib64 patching file pppd/Makefile.linux.pie patching file pppdump/Makefile.linux.make patching file pppdump/Makefile.linux patching file pppstats/Makefile.linux.make patching file pppstats/Makefile.linux patching file chat/Makefile.linux.make patching file chat/Makefile.linux Patch #17 (ppp-2.4.2-pppoatm-make.patch): + echo 'Patch #17 (ppp-2.4.2-pppoatm-make.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.2-pppoatm-make.patch + /usr/bin/patch -p1 -b --suffix .atm-make --fuzz=0 patching file pppd/plugins/pppoatm/Makefile.linux Patch #19 (ppp-2.4.3-local.patch): + echo 'Patch #19 (ppp-2.4.3-local.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.3-local.patch + /usr/bin/patch -p1 -b --suffix .local --fuzz=0 patching file configure patching file pppd/Makefile.linux patching file scripts/ppp-on-rsh patching file scripts/ppp-on-ssh patching file scripts/secure-card + echo 'Patch #20 (ppp-2.4.3-ipv6-accept-remote.patch):' Patch #20 (ppp-2.4.3-ipv6-accept-remote.patch): + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.3-ipv6-accept-remote.patch + /usr/bin/patch -p1 -b --suffix .ipv6cp --fuzz=0 patching file pppd/ipv6cp.c patching file pppd/ipv6cp.h + echo 'Patch #22 (ppp-2.4.4-cbcp.patch):' Patch #22 (ppp-2.4.4-cbcp.patch): + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.4-cbcp.patch + /usr/bin/patch -p1 -b --suffix .cbcp --fuzz=0 patching file pppd/Makefile.linux Patch #23 (ppp-2.4.2-dontwriteetc.patch): + echo 'Patch #23 (ppp-2.4.2-dontwriteetc.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.2-dontwriteetc.patch + /usr/bin/patch -p1 -b --suffix .dontwriteetc --fuzz=0 patching file chat/chat.8 patching file pppd/pathnames.h patching file linux/Makefile.top Patch #24 (ppp-2.4.4-fd_leak.patch): + echo 'Patch #24 (ppp-2.4.4-fd_leak.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.4-fd_leak.patch + /usr/bin/patch -p1 -b --suffix .fd_leak --fuzz=0 patching file pppd/auth.c patching file pppd/eap.c patching file pppd/main.c Hunk #2 succeeded at 248 (offset 1 line). Hunk #3 succeeded at 423 (offset 1 line). Hunk #4 succeeded at 869 (offset 1 line). Hunk #5 succeeded at 1734 (offset 15 lines). patching file pppd/options.c patching file pppd/pppd.h Hunk #1 succeeded at 495 (offset 1 line). patching file pppd/sys-linux.c Hunk #7 succeeded at 1715 (offset 2 lines). patching file pppd/tdb.c patching file pppd/tty.c patching file pppd/utils.c patching file pppd/plugins/pppoatm/pppoatm.c patching file pppd/plugins/pppol2tp/openl2tp.c patching file pppd/plugins/pppol2tp/pppol2tp.c patching file pppd/plugins/rp-pppoe/if.c patching file pppd/plugins/rp-pppoe/plugin.c patching file pppd/plugins/rp-pppoe/pppoe-discovery.c + echo 'Patch #25 (ppp-2.4.5-var_run_ppp.patch):' Patch #25 (ppp-2.4.5-var_run_ppp.patch): + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.5-var_run_ppp.patch + /usr/bin/patch -p1 -b --suffix .var_run_ppp --fuzz=0 patching file pppd/pathnames.h Patch #26 (ppp-2.4.5-manpg.patch): + echo 'Patch #26 (ppp-2.4.5-manpg.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.5-manpg.patch + /usr/bin/patch -p1 -b --suffix .manpg --fuzz=0 patching file pppd/plugins/rp-pppoe/Makefile.linux patching file pppd/plugins/rp-pppoe/pppoe-discovery.8 Patch #27 (ppp-2.4.5-eaptls-mppe-0.99.patch): + echo 'Patch #27 (ppp-2.4.5-eaptls-mppe-0.99.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.5-eaptls-mppe-0.99.patch + /usr/bin/patch -p1 -b --suffix .eaptls --fuzz=0 patching file README.eap-tls patching file etc.ppp/eaptls-client patching file etc.ppp/eaptls-server patching file etc.ppp/openssl.cnf patching file linux/Makefile.top Hunk #1 succeeded at 28 (offset 2 lines). Hunk #2 succeeded at 39 (offset 2 lines). patching file pppd/Makefile.linux Hunk #1 succeeded at 74 (offset 1 line). Hunk #2 succeeded at 116 (offset 1 line). patching file pppd/auth.c patching file pppd/ccp.c patching file pppd/chap-md5.c patching file pppd/eap-tls.c patching file pppd/eap-tls.h patching file pppd/eap.c patching file pppd/eap.h patching file pppd/md5.c patching file pppd/md5.h patching file pppd/options.c patching file pppd/pathnames.h Hunk #1 succeeded at 22 (offset 1 line). patching file pppd/plugins/Makefile.linux patching file pppd/plugins/passprompt.c patching file pppd/plugins/passwordfd.c patching file pppd/pppd.h Hunk #2 succeeded at 725 (offset 4 lines). Patch #28 (ppp-2.4.5-ppp_resolv.patch): + echo 'Patch #28 (ppp-2.4.5-ppp_resolv.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.5-ppp_resolv.patch + /usr/bin/patch -p1 -b --suffix .ppp_resolv --fuzz=0 patching file scripts/ip-up.local.add Patch #29 (ppp-2.4.5-man.patch): + echo 'Patch #29 (ppp-2.4.5-man.patch):' + /usr/bin/patch -p1 -b --suffix .man --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.5-man.patch patching file chat/chat.8 patching file pppd/pppd.8 Hunk #3 succeeded at 525 (offset 10 lines). Hunk #4 succeeded at 929 (offset 22 lines). Hunk #5 succeeded at 1037 (offset 22 lines). Hunk #6 succeeded at 1907 (offset 22 lines). Patch #30 (ppp-2.4.5-eth.patch): + echo 'Patch #30 (ppp-2.4.5-eth.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.5-eth.patch + /usr/bin/patch -p1 -b --suffix .eth --fuzz=0 patching file pppd/ether.c.inc patching file pppd/plugins/rp-pppoe/pppoe-discovery.c patching file pppd/sys-linux.c + echo 'Patch #31 (ppp-2.4.5-lock.patch):' Patch #31 (ppp-2.4.5-lock.patch): + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.5-lock.patch + /usr/bin/patch -p1 -b --suffix .lock --fuzz=0 patching file pppd/utils.c Patch #32 (ppp-2.4.5-l2tp-multilink.patch): + echo 'Patch #32 (ppp-2.4.5-l2tp-multilink.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.5-l2tp-multilink.patch + /usr/bin/patch -p1 -b --suffix .l2tp-multilink --fuzz=0 patching file pppd/plugins/pppol2tp/Makefile.linux Patch #33 (ppp-2.4.5-radius-config.patch): + echo 'Patch #33 (ppp-2.4.5-radius-config.patch):' + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.5-radius-config.patch + /usr/bin/patch -p1 -b --suffix .radius --fuzz=0 patching file pppd/plugins/radius/config.c + echo 'Patch #34 (ppp-2.4.5-crypt.patch):' Patch #34 (ppp-2.4.5-crypt.patch): + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.5-crypt.patch + /usr/bin/patch -p1 -b --suffix .crypt --fuzz=0 patching file pppd/auth.c patching file pppd/session.c + echo 'Patch #35 (ppp-2.4.5-hardened.patch):' Patch #35 (ppp-2.4.5-hardened.patch): + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.5-hardened.patch + /usr/bin/patch -p1 -b --suffix .hardened --fuzz=0 patching file chat/Makefile.linux patching file pppd/plugins/rp-pppoe/Makefile.linux patching file pppdump/Makefile.linux patching file pppstats/Makefile.linux + echo 'Patch #36 (ppp-2.4.5-CVE-2020-8597.patch):' Patch #36 (ppp-2.4.5-CVE-2020-8597.patch): + /usr/bin/cat /builddir/build/SOURCES/ppp-2.4.5-CVE-2020-8597.patch + /usr/bin/patch -p1 -b --suffix .CVE-2020-8597 --fuzz=0 patching file pppd/eap.c + rm -f scripts/ppp-on-rsh.local scripts/ppp-on-ssh.local scripts/secure-card.local + rm -f scripts/ip-down.local.add.change_resolv_conf scripts/ip-up.local.add.change_resolv_conf + rm -f 'scripts/*.usepeerdns-var_run_ppp_resolv' + rm -f scripts/ip-up.local.add.ppp_resolv + find . -type f -name '*.sample' + xargs rm -f + rm -f include/linux/if_pppol2tp.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.47qWSa + umask 022 + cd /builddir/build/BUILD + cd ppp-2.4.5 + RPM_OPT_FLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info Configuring for Linux Creating Makefiles. Makefile <= linux/Makefile.top pppd/Makefile <= pppd/Makefile.linux pppstats/Makefile <= pppstats/Makefile.linux chat/Makefile <= chat/Makefile.linux pppdump/Makefile <= pppdump/Makefile.linux pppd/plugins/Makefile <= pppd/plugins/Makefile.linux pppd/plugins/rp-pppoe/Makefile <= pppd/plugins/rp-pppoe/Makefile.linux pppd/plugins/radius/Makefile <= pppd/plugins/radius/Makefile.linux pppd/plugins/pppoatm/Makefile <= pppd/plugins/pppoatm/Makefile.linux pppd/plugins/pppol2tp/Makefile <= pppd/plugins/pppol2tp/Makefile.linux + make cd chat; make all make[1]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/chat' cc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -fPIE -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat.o chat.c chat.c: In function 'main': chat.c:151:59: warning: value computed is not used [-Wunused-value] #define OPTION(c,v) (_O&2&&**v?*(*v)++:!c||_O&4?0:(!(_O&1)&& \ ^ chat.c:297:22: note: in expansion of macro 'OPTION' while ((option = OPTION(argc, argv)) != 0) { ^ chat.c:151:59: warning: value computed is not used [-Wunused-value] #define OPTION(c,v) (_O&2&&**v?*(*v)++:!c||_O&4?0:(!(_O&1)&& \ ^ chat.c:297:22: note: in expansion of macro 'OPTION' while ((option = OPTION(argc, argv)) != 0) { ^ chat.c: In function 'chat_send': chat.c:1045:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, s, strlen(s)); ^ chat.c: In function 'echo_stderr': chat.c:1367:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, "\n", 1); ^ chat.c:1372:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, s, strlen(s)); ^ cc -z now -pie -o chat chat.o make[1]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/chat' cd pppd/plugins; make all make[1]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins' cc -o minconn.so -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I.. -I../../include -fPIC -DUSE_EAPTLS=1 minconn.c cc -o passprompt.so -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I.. -I../../include -fPIC -DUSE_EAPTLS=1 passprompt.c passprompt.c: In function 'promptpass': passprompt.c:57:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ^ passprompt.c:58:9: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(getgid()); ^ cc -o passwordfd.so -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I.. -I../../include -fPIC -DUSE_EAPTLS=1 passwordfd.c cc -o winbind.so -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I.. -I../../include -fPIC -DUSE_EAPTLS=1 winbind.c winbind.c: In function 'run_ntlm_auth': winbind.c:414:5: warning: pointer targets in passing argument 1 of 'strhex_to_str' differ in signedness [-Wpointer-sign] if (strhex_to_str(nt_key, 32, parameter) == 16) { ^ winbind.c:168:8: note: expected 'char *' but argument is of type 'u_char *' size_t strhex_to_str(char *p, size_t len, const char *strhex) ^ winbind.c: In function 'winbind_chap_verify': winbind.c:585:4: warning: implicit declaration of function 'mppe_set_keys' [-Wimplicit-function-declaration] mppe_set_keys(challenge, session_key); ^ winbind.c:629:5: warning: pointer targets in passing argument 6 of 'GenerateAuthenticatorResponse' differ in signedness [-Wpointer-sign] challenge, user, saresponse); ^ In file included from winbind.c:39:0: ../chap_ms.h:101:6: note: expected 'u_char *' but argument is of type 'char *' void GenerateAuthenticatorResponse(u_char PasswordHashHash[MD4_SIGNATURE_SIZE], ^ winbind.c:630:4: warning: implicit declaration of function 'mppe_set_keys2' [-Wimplicit-function-declaration] mppe_set_keys2(session_key, &response[MS_CHAP2_NTRESP], ^ winbind.c: In function 'run_ntlm_auth': winbind.c:305:9: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^ for d in rp-pppoe pppoatm pppol2tp radius; do make -w -C $d all; done make[2]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/rp-pppoe' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I../../../include '-DRP_VERSION="3.8p"' -fPIE -I../../.. -c -o plugin.o -fPIC plugin.c In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/linux/in.h:28:3: error: redeclaration of enumerator 'IPPROTO_IP' IPPROTO_IP = 0, /* Dummy protocol for TCP */ ^ /usr/include/netinet/in.h:43:5: note: previous definition of 'IPPROTO_IP' was here IPPROTO_IP = 0, /* Dummy protocol for TCP. */ ^ /usr/include/linux/in.h:30:3: error: redeclaration of enumerator 'IPPROTO_ICMP' IPPROTO_ICMP = 1, /* Internet Control Message Protocol */ ^ /usr/include/netinet/in.h:45:5: note: previous definition of 'IPPROTO_ICMP' was here IPPROTO_ICMP = 1, /* Internet Control Message Protocol. */ ^ /usr/include/linux/in.h:32:3: error: redeclaration of enumerator 'IPPROTO_IGMP' IPPROTO_IGMP = 2, /* Internet Group Management Protocol */ ^ /usr/include/netinet/in.h:47:5: note: previous definition of 'IPPROTO_IGMP' was here IPPROTO_IGMP = 2, /* Internet Group Management Protocol. */ ^ /usr/include/linux/in.h:34:3: error: redeclaration of enumerator 'IPPROTO_IPIP' IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94) */ ^ /usr/include/netinet/in.h:49:5: note: previous definition of 'IPPROTO_IPIP' was here IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94). */ ^ /usr/include/linux/in.h:36:3: error: redeclaration of enumerator 'IPPROTO_TCP' IPPROTO_TCP = 6, /* Transmission Control Protocol */ ^ /usr/include/netinet/in.h:51:5: note: previous definition of 'IPPROTO_TCP' was here IPPROTO_TCP = 6, /* Transmission Control Protocol. */ ^ /usr/include/linux/in.h:38:3: error: redeclaration of enumerator 'IPPROTO_EGP' IPPROTO_EGP = 8, /* Exterior Gateway Protocol */ ^ /usr/include/netinet/in.h:53:5: note: previous definition of 'IPPROTO_EGP' was here IPPROTO_EGP = 8, /* Exterior Gateway Protocol. */ ^ /usr/include/linux/in.h:40:3: error: redeclaration of enumerator 'IPPROTO_PUP' IPPROTO_PUP = 12, /* PUP protocol */ ^ /usr/include/netinet/in.h:55:5: note: previous definition of 'IPPROTO_PUP' was here IPPROTO_PUP = 12, /* PUP protocol. */ ^ /usr/include/linux/in.h:42:3: error: redeclaration of enumerator 'IPPROTO_UDP' IPPROTO_UDP = 17, /* User Datagram Protocol */ ^ /usr/include/netinet/in.h:57:5: note: previous definition of 'IPPROTO_UDP' was here IPPROTO_UDP = 17, /* User Datagram Protocol. */ ^ /usr/include/linux/in.h:44:3: error: redeclaration of enumerator 'IPPROTO_IDP' IPPROTO_IDP = 22, /* XNS IDP protocol */ ^ /usr/include/netinet/in.h:59:5: note: previous definition of 'IPPROTO_IDP' was here IPPROTO_IDP = 22, /* XNS IDP protocol. */ ^ /usr/include/linux/in.h:46:3: error: redeclaration of enumerator 'IPPROTO_TP' IPPROTO_TP = 29, /* SO Transport Protocol Class 4 */ ^ /usr/include/netinet/in.h:61:5: note: previous definition of 'IPPROTO_TP' was here IPPROTO_TP = 29, /* SO Transport Protocol Class 4. */ ^ /usr/include/linux/in.h:48:3: error: redeclaration of enumerator 'IPPROTO_DCCP' IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol */ ^ /usr/include/netinet/in.h:63:5: note: previous definition of 'IPPROTO_DCCP' was here IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol. */ ^ /usr/include/linux/in.h:50:3: error: redeclaration of enumerator 'IPPROTO_IPV6' IPPROTO_IPV6 = 41, /* IPv6-in-IPv4 tunnelling */ ^ /usr/include/netinet/in.h:65:5: note: previous definition of 'IPPROTO_IPV6' was here IPPROTO_IPV6 = 41, /* IPv6 header. */ ^ /usr/include/linux/in.h:52:3: error: redeclaration of enumerator 'IPPROTO_RSVP' IPPROTO_RSVP = 46, /* RSVP Protocol */ ^ /usr/include/netinet/in.h:67:5: note: previous definition of 'IPPROTO_RSVP' was here IPPROTO_RSVP = 46, /* Reservation Protocol. */ ^ /usr/include/linux/in.h:54:3: error: redeclaration of enumerator 'IPPROTO_GRE' IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ ^ /usr/include/netinet/in.h:69:5: note: previous definition of 'IPPROTO_GRE' was here IPPROTO_GRE = 47, /* General Routing Encapsulation. */ ^ /usr/include/linux/in.h:56:3: error: redeclaration of enumerator 'IPPROTO_ESP' IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ ^ /usr/include/netinet/in.h:71:5: note: previous definition of 'IPPROTO_ESP' was here IPPROTO_ESP = 50, /* encapsulating security payload. */ ^ /usr/include/linux/in.h:58:3: error: redeclaration of enumerator 'IPPROTO_AH' IPPROTO_AH = 51, /* Authentication Header protocol */ ^ /usr/include/netinet/in.h:73:5: note: previous definition of 'IPPROTO_AH' was here IPPROTO_AH = 51, /* authentication header. */ ^ /usr/include/linux/in.h:60:3: error: redeclaration of enumerator 'IPPROTO_MTP' IPPROTO_MTP = 92, /* Multicast Transport Protocol */ ^ /usr/include/netinet/in.h:75:5: note: previous definition of 'IPPROTO_MTP' was here IPPROTO_MTP = 92, /* Multicast Transport Protocol. */ ^ /usr/include/linux/in.h:62:3: error: redeclaration of enumerator 'IPPROTO_BEETPH' IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET */ ^ /usr/include/netinet/in.h:77:5: note: previous definition of 'IPPROTO_BEETPH' was here IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET. */ ^ /usr/include/linux/in.h:64:3: error: redeclaration of enumerator 'IPPROTO_ENCAP' IPPROTO_ENCAP = 98, /* Encapsulation Header */ ^ /usr/include/netinet/in.h:79:5: note: previous definition of 'IPPROTO_ENCAP' was here IPPROTO_ENCAP = 98, /* Encapsulation Header. */ ^ /usr/include/linux/in.h:66:3: error: redeclaration of enumerator 'IPPROTO_PIM' IPPROTO_PIM = 103, /* Protocol Independent Multicast */ ^ /usr/include/netinet/in.h:81:5: note: previous definition of 'IPPROTO_PIM' was here IPPROTO_PIM = 103, /* Protocol Independent Multicast. */ ^ /usr/include/linux/in.h:68:3: error: redeclaration of enumerator 'IPPROTO_COMP' IPPROTO_COMP = 108, /* Compression Header Protocol */ ^ /usr/include/netinet/in.h:83:5: note: previous definition of 'IPPROTO_COMP' was here IPPROTO_COMP = 108, /* Compression Header Protocol. */ ^ /usr/include/linux/in.h:70:3: error: redeclaration of enumerator 'IPPROTO_SCTP' IPPROTO_SCTP = 132, /* Stream Control Transport Protocol */ ^ /usr/include/netinet/in.h:85:5: note: previous definition of 'IPPROTO_SCTP' was here IPPROTO_SCTP = 132, /* Stream Control Transmission Protocol. */ ^ /usr/include/linux/in.h:72:3: error: redeclaration of enumerator 'IPPROTO_UDPLITE' IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828) */ ^ /usr/include/netinet/in.h:87:5: note: previous definition of 'IPPROTO_UDPLITE' was here IPPROTO_UDPLITE = 136, /* UDP-Lite protocol. */ ^ /usr/include/linux/in.h:76:3: error: redeclaration of enumerator 'IPPROTO_RAW' IPPROTO_RAW = 255, /* Raw IP packets */ ^ /usr/include/netinet/in.h:89:5: note: previous definition of 'IPPROTO_RAW' was here IPPROTO_RAW = 255, /* Raw IP packets. */ ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:78:3: error: redeclaration of enumerator 'IPPROTO_MAX' IPPROTO_MAX ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:91:5: note: previous definition of 'IPPROTO_MAX' was here IPPROTO_MAX ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:84:8: error: redefinition of 'struct in_addr' struct in_addr { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:32:8: note: originally defined here struct in_addr ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:166:8: error: redefinition of 'struct ip_mreq' struct ip_mreq { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:265:8: note: originally defined here struct ip_mreq ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:171:8: error: redefinition of 'struct ip_mreqn' struct ip_mreqn { ^ In file included from /usr/include/netinet/in.h:38:0, from pppoe.h:87, from plugin.c:29: /usr/include/bits/in.h:153:8: note: originally defined here struct ip_mreqn ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:177:8: error: redefinition of 'struct ip_mreq_source' struct ip_mreq_source { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:274:8: note: originally defined here struct ip_mreq_source ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:183:8: error: redefinition of 'struct ip_msfilter' struct ip_msfilter { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:324:8: note: originally defined here struct ip_msfilter ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:195:8: error: redefinition of 'struct group_req' struct group_req { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:301:8: note: originally defined here struct group_req ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:200:8: error: redefinition of 'struct group_source_req' struct group_source_req { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:310:8: note: originally defined here struct group_source_req ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:206:8: error: redefinition of 'struct group_filter' struct group_filter { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:345:8: note: originally defined here struct group_filter ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:220:8: error: redefinition of 'struct in_pktinfo' struct in_pktinfo { ^ In file included from /usr/include/netinet/in.h:38:0, from pppoe.h:87, from plugin.c:29: /usr/include/bits/in.h:161:8: note: originally defined here struct in_pktinfo ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:230:8: error: redefinition of 'struct sockaddr_in' struct sockaddr_in { ^ In file included from pppoe.h:47:0, from plugin.c:29: /usr/include/sys/socket.h:91:17: note: originally defined here typedef union { __SOCKADDR_ALLTYPES ^ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in6.h:32:8: error: redefinition of 'struct in6_addr' struct in6_addr { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:210:8: note: originally defined here struct in6_addr ^ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in6.h:49:8: error: redefinition of 'struct sockaddr_in6' struct sockaddr_in6 { ^ In file included from pppoe.h:47:0, from plugin.c:29: /usr/include/sys/socket.h:91:17: note: originally defined here typedef union { __SOCKADDR_ALLTYPES ^ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in6.h:59:8: error: redefinition of 'struct ipv6_mreq' struct ipv6_mreq { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:289:8: note: originally defined here struct ipv6_mreq ^ make[2]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/rp-pppoe' make[2]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/pppoatm' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I../.. -I../../../include -fPIC -I. -c -o pppoatm.o pppoatm.c make[2]: *** [plugin.o] Error 1 pppoatm.c: In function 'connect_pppoatm': pppoatm.c:136:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system ("/sbin/modprobe -q pppoatm"); ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I../.. -I../../../include -fPIC -I. -c -o text2qos.o text2qos.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I../.. -I../../../include -fPIC -I. -c -o text2atm.o text2atm.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I../.. -I../../../include -fPIC -I. -c -o misc.o misc.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I../.. -I../../../include -fPIC -I. -c -o ans.o ans.c ans.c: In function 'ans': ans.c:65:5: warning: pointer targets in passing argument 4 of '__dn_expand' differ in signedness [-Wpointer-sign] if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) < 0) ^ In file included from ans.c:25:0: /usr/include/resolv.h:362:6: note: expected 'char *' but argument is of type 'unsigned char *' int dn_expand (const unsigned char *, const unsigned char *, ^ ans.c:80:2: warning: pointer targets in passing argument 4 of '__dn_expand' differ in signedness [-Wpointer-sign] if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) ^ In file included from ans.c:25:0: /usr/include/resolv.h:362:6: note: expected 'char *' but argument is of type 'unsigned char *' int dn_expand (const unsigned char *, const unsigned char *, ^ cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I../.. -I../../../include -fPIC -I. -o pppoatm.so -shared pppoatm.o text2qos.o text2atm.o misc.o ans.o -lresolv make[2]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/pppoatm' make[2]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/pppol2tp' cc -DHAVE_MULTILINK -O2 -g -I. -I../.. -I../../../include -fPIC -c -o pppol2tp.o pppol2tp.c cc -DHAVE_MULTILINK -O2 -g -I. -I../.. -I../../../include -fPIC -o pppol2tp.so -shared pppol2tp.o cc -DHAVE_MULTILINK -O2 -g -I. -I../.. -I../../../include -fPIC -c -o openl2tp.o openl2tp.c cc -DHAVE_MULTILINK -O2 -g -I. -I../.. -I../../../include -fPIC -o openl2tp.so -shared openl2tp.o rm openl2tp.o pppol2tp.o make[2]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/pppol2tp' make[2]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/radius' cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o radius.o radius.c radius.c:203:34: warning: "/*" within comment [-Wcomment] * worry about looking in /etc/ppp/*-secrets ^ radius.c: In function 'radius_setparams': radius.c:636:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((vp->lvalue != 43) || strncmp(vp->strvalue + 1, "S=", 2)) { ^ In file included from radius.c:43:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ radius.c:636:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((vp->lvalue != 43) || strncmp(vp->strvalue + 1, "S=", 2)) { ^ In file included from radius.c:43:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ radius.c:636:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ((vp->lvalue != 43) || strncmp(vp->strvalue + 1, "S=", 2)) { ^ radius.c:636:3: note: expected 'const char *' but argument is of type 'u_char *' radius.c:636:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from radius.c:43:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ radius.c:636:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if ((vp->lvalue != 43) || strncmp(vp->strvalue + 1, "S=", 2)) { ^ radius.c:636:3: note: expected 'const char *' but argument is of type 'u_char *' radius.c:636:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] radius.c:636:3: note: expected 'const char *' but argument is of type 'u_char *' radius.c:636:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] radius.c:636:3: note: expected 'const char *' but argument is of type 'u_char *' radius.c:636:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from radius.c:43:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'u_char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ radius.c:641:7: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] strlcpy(message, vp->strvalue + 1, message_space); ^ In file included from radius.c:29:0: ../../pppd.h:519:8: note: expected 'const char *' but argument is of type 'u_char *' size_t strlcpy __P((char *, const char *, size_t)); /* safe strcpy */ ^ radius.c: In function 'radius_setmppekeys': radius.c:739:5: warning: pointer targets in passing argument 2 of 'MD5_Update' differ in signedness [-Wpointer-sign] MD5_Update(&Context, req_info->secret, strlen(req_info->secret)); ^ In file included from radius.c:34:0: ../../md5.h:62:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5_Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen); ^ radius.c:747:5: warning: pointer targets in passing argument 2 of 'MD5_Update' differ in signedness [-Wpointer-sign] MD5_Update(&Context, req_info->secret, strlen(req_info->secret)); ^ In file included from radius.c:34:0: ../../md5.h:62:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5_Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen); ^ radius.c: In function 'radius_setmppekeys2': radius.c:803:5: warning: pointer targets in passing argument 2 of 'MD5_Update' differ in signedness [-Wpointer-sign] MD5_Update(&Context, req_info->secret, strlen(req_info->secret)); ^ In file included from radius.c:34:0: ../../md5.h:62:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5_Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen); ^ radius.c:818:5: warning: pointer targets in passing argument 2 of 'MD5_Update' differ in signedness [-Wpointer-sign] MD5_Update(&Context, req_info->secret, strlen(req_info->secret)); ^ In file included from radius.c:34:0: ../../md5.h:62:6: note: expected 'unsigned char *' but argument is of type 'char *' void MD5_Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen); ^ cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o avpair.o avpair.c avpair.c: In function 'rc_avpair_assign': avpair.c:79:4: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (vp->strvalue, (char *) pval, AUTH_STRING_LEN); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ avpair.c: In function 'rc_avpair_gen': avpair.c:199:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (hex, "%2.2X", *x_ptr); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ avpair.c:200:5: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat (buffer, hex); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ avpair.c: In function 'rc_avpair_parse': avpair.c:600:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (pair->strvalue, valstr); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'u_char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ avpair.c: In function 'rc_avpair_tostr': avpair.c:724:5: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness [-Wpointer-sign] strncat(value, ptr, 1); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string3.h:147:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncat (char *__restrict __dest, const char *__restrict __src, ^ avpair.c:740:4: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'UINT4' [-Wformat=] sprintf (buffer, "%ld", pair->lvalue); ^ cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o buildreq.o buildreq.c buildreq.c: In function 'rc_get_seqnbr': buildreq.c:138:11: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(sf),0); ^ cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o config.o config.c config.c: In function 'rc_find_server': config.c:538:32: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset (secret, '\0', sizeof (secret)); ^ cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o dict.o dict.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o ip_util.o ip_util.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o clientid.o clientid.c In file included from /usr/include/string.h:638:0, from ./includes.h:26, from clientid.c:12: In function 'strncat', inlined from 'rc_map2id' at clientid.c:113:9: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o sendserver.o sendserver.c sendserver.c: In function 'rc_pack_list': sendserver.c:107:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] vector = (char *)auth->vector; ^ sendserver.c: In function 'rc_send_server': sendserver.c:250:35: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] getsockname (sockfd, (struct sockaddr *) sin, &length) < 0) ^ In file included from /usr/include/netinet/in.h:24:0, from /usr/include/netdb.h:27, from ./includes.h:22, from sendserver.c:17: /usr/include/sys/socket.h:128:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ sendserver.c:275:3: warning: pointer targets in passing argument 2 of 'rc_md5_calc' differ in signedness [-Wpointer-sign] rc_md5_calc (vector, (char *) auth, total_length + secretlen); ^ In file included from sendserver.c:18:0: ./radiusclient.h:453:6: note: expected 'unsigned char *' but argument is of type 'char *' void rc_md5_calc __P((unsigned char *, unsigned char *, unsigned int)); ^ sendserver.c:331:7: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] (int) 0, &saremote, &salen); ^ In file included from /usr/include/sys/socket.h:281:0, from /usr/include/netinet/in.h:24, from /usr/include/netdb.h:27, from ./includes.h:22, from sendserver.c:17: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^ sendserver.c:365:4: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(msg, vp->strvalue); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from sendserver.c:17: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'u_char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ sendserver.c: In function 'rc_check_reply': sendserver.c:431:2: warning: pointer targets in passing argument 2 of 'rc_md5_calc' differ in signedness [-Wpointer-sign] rc_md5_calc (calc_digest, (char *) auth, totallen + secretlen); ^ In file included from sendserver.c:18:0: ./radiusclient.h:453:6: note: expected 'unsigned char *' but argument is of type 'char *' void rc_md5_calc __P((unsigned char *, unsigned char *, unsigned int)); ^ cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o lock.o lock.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o util.o util.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o md5.o md5.c ar rv libradiusclient.a avpair.o buildreq.o config.o dict.o ip_util.o clientid.o sendserver.o lock.o util.o md5.o ar: creating libradiusclient.a a - avpair.o a - buildreq.o a - config.o a - dict.o a - ip_util.o a - clientid.o a - sendserver.o a - lock.o a - util.o a - md5.o cc -o radius.so -shared radius.o libradiusclient.a cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o radattr.o radattr.c cc -o radattr.so -shared radattr.o cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o radrealms.o radrealms.c cc -o radrealms.so -shared radrealms.o make[2]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/radius' make[1]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins' cd pppd; make all make[1]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd' gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o main.o main.c main.c: In function 'detach': main.c:781:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ main.c: In function 'device_script': main.c:1768:11: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^ main.c:1769:11: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); ^ main.c: In function 'run_program': main.c:1840:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir ("/"); /* no current directory. */ ^ main.c:1841:11: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(0); /* set real UID = root */ ^ main.c:1842:11: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getegid()); ^ gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o magic.o magic.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o fsm.o fsm.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o lcp.o lcp.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o ipcp.o ipcp.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o upap.o upap.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o chap-new.o chap-new.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o md5.o md5.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o ccp.o ccp.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o ecp.o ecp.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o auth.o auth.c auth.c: In function 'start_link': auth.c:593:11: warning: variable 'msg' set but not used [-Wunused-but-set-variable] char *msg; ^ gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o options.o options.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o demand.o demand.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o utils.o utils.c utils.c: In function 'logit': utils.c:656:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n; ^ utils.c: In function 'lock': utils.c:987:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, lock_buffer, 11); ^ utils.c: In function 'relock': utils.c:1029:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, lock_buffer, 11); ^ gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o sys-linux.o sys-linux.c sys-linux.c: In function 'ppp_available': sys-linux.c:2013:20: warning: variable 'err' set but not used [-Wunused-but-set-variable] int s, ok, fd, err; ^ sys-linux.c: In function 'ether_to_eui64': sys-linux.c:2801:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = ifr.ifr_hwaddr.sa_data; ^ sys-linux.c: In function 'get_pty': sys-linux.c:2516:13: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] fchown(sfd, uid, -1); ^ gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o ipxcp.o ipxcp.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o tty.o tty.c tty.c: In function 'start_charshunt': tty.c:940:8: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^ tty.c:941:8: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); ^ gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o eap.o eap.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o chap-md5.o chap-md5.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o session.o session.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o md4.o md4.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o chap_ms.o chap_ms.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o sha1.o sha1.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o eap-tls.o eap-tls.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o pppcrypt.o pppcrypt.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o multilink.o multilink.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o tdb.o tdb.c tdb.c: In function 'tdb_open_ex': tdb.c:1727:2: warning: implicit declaration of function 'open_fd_mode' [-Wimplicit-function-declaration] if ((tdb->fd = open_fd_mode(name, open_flags, mode)) == -1) { ^ gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o spinlock.o spinlock.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o ipv6cp.o ipv6cp.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o eui64.o eui64.c gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o cbcp.o cbcp.c cbcp.c: In function 'cbcp_printpkt': cbcp.c:279:14: warning: variable 'addrt' set but not used [-Wunused-but-set-variable] int addrt; ^ cbcp.c: In function 'cbcp_recvreq': cbcp.c:310:34: warning: variable 'addr_type' set but not used [-Wunused-but-set-variable] u_char type, opt_len, delay, addr_type; ^ cbcp.c:310:27: warning: variable 'delay' set but not used [-Wunused-but-set-variable] u_char type, opt_len, delay, addr_type; ^ cbcp.c: In function 'cbcp_recvack': cbcp.c:451:25: warning: variable 'addr_type' set but not used [-Wunused-but-set-variable] u_char type, delay, addr_type; ^ cbcp.c:451:18: warning: variable 'delay' set but not used [-Wunused-but-set-variable] u_char type, delay, addr_type; ^ gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -DLIBDIR=\""/usr/lib/."\" -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -pie -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-E -o pppd main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o md5.o ccp.o ecp.o auth.o options.o demand.o utils.o sys-linux.o ipxcp.o tty.o eap.o chap-md5.o session.o md4.o chap_ms.o sha1.o eap-tls.o pppcrypt.o multilink.o tdb.o spinlock.o ipv6cp.o eui64.o cbcp.o -lutil -lssl -lcrypto -lcrypt -lpam -ldl -ldl -lpcap make[1]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppd' cd pppstats; make all make[1]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppstats' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I../include -fPIE -z now -pie -o pppstats pppstats.c make[1]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppstats' cd pppdump; make all make[1]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppdump' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I../include/net -fPIE -c -o pppdump.o pppdump.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I../include/net -fPIE -c -o bsd-comp.o bsd-comp.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I../include/net -fPIE -c -o deflate.o deflate.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wall -I../include/net -fPIE -c -o zlib.o zlib.c zlib.c:470:12: warning: 'zlib_copyright' defined but not used [-Wunused-variable] local char zlib_copyright[] = " deflate Copyright 1995 Jean-loup Gailly "; ^ cc -z now -pie -o pppdump pppdump.o bsd-comp.o deflate.o zlib.o make[1]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppdump' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IYJecO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm ++ dirname /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm + cd ppp-2.4.5 + '[' /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm + export INSTROOT=/builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm + INSTROOT=/builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm + make install install-etcppp install -d -m 755 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin install -d -m 755 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/var/run/ppp install -d -m 755 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/var/log/ppp install -d -m 755 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/man/man8 cd chat; make install make[1]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/chat' mkdir -p /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/man/man8 install -c chat /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin install -c -m 644 chat.8 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/man/man8 make[1]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/chat' cd pppd/plugins; make install make[1]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins' install -d /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/./pppd/2.4.5 install minconn.so passprompt.so passwordfd.so winbind.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/./pppd/2.4.5 for d in rp-pppoe pppoatm pppol2tp radius; do make -w -C $d install; done make[2]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/rp-pppoe' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I../../../include '-DRP_VERSION="3.8p"' -fPIE -I../../.. -c -o plugin.o -fPIC plugin.c In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/linux/in.h:28:3: error: redeclaration of enumerator 'IPPROTO_IP' IPPROTO_IP = 0, /* Dummy protocol for TCP */ ^ /usr/include/netinet/in.h:43:5: note: previous definition of 'IPPROTO_IP' was here IPPROTO_IP = 0, /* Dummy protocol for TCP. */ ^ /usr/include/linux/in.h:30:3: error: redeclaration of enumerator 'IPPROTO_ICMP' IPPROTO_ICMP = 1, /* Internet Control Message Protocol */ ^ /usr/include/netinet/in.h:45:5: note: previous definition of 'IPPROTO_ICMP' was here IPPROTO_ICMP = 1, /* Internet Control Message Protocol. */ ^ /usr/include/linux/in.h:32:3: error: redeclaration of enumerator 'IPPROTO_IGMP' IPPROTO_IGMP = 2, /* Internet Group Management Protocol */ ^ /usr/include/netinet/in.h:47:5: note: previous definition of 'IPPROTO_IGMP' was here IPPROTO_IGMP = 2, /* Internet Group Management Protocol. */ ^ /usr/include/linux/in.h:34:3: error: redeclaration of enumerator 'IPPROTO_IPIP' IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94) */ ^ /usr/include/netinet/in.h:49:5: note: previous definition of 'IPPROTO_IPIP' was here IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94). */ ^ /usr/include/linux/in.h:36:3: error: redeclaration of enumerator 'IPPROTO_TCP' IPPROTO_TCP = 6, /* Transmission Control Protocol */ ^ /usr/include/netinet/in.h:51:5: note: previous definition of 'IPPROTO_TCP' was here IPPROTO_TCP = 6, /* Transmission Control Protocol. */ ^ /usr/include/linux/in.h:38:3: error: redeclaration of enumerator 'IPPROTO_EGP' IPPROTO_EGP = 8, /* Exterior Gateway Protocol */ ^ /usr/include/netinet/in.h:53:5: note: previous definition of 'IPPROTO_EGP' was here IPPROTO_EGP = 8, /* Exterior Gateway Protocol. */ ^ /usr/include/linux/in.h:40:3: error: redeclaration of enumerator 'IPPROTO_PUP' IPPROTO_PUP = 12, /* PUP protocol */ ^ /usr/include/netinet/in.h:55:5: note: previous definition of 'IPPROTO_PUP' was here IPPROTO_PUP = 12, /* PUP protocol. */ ^ /usr/include/linux/in.h:42:3: error: redeclaration of enumerator 'IPPROTO_UDP' IPPROTO_UDP = 17, /* User Datagram Protocol */ ^ /usr/include/netinet/in.h:57:5: note: previous definition of 'IPPROTO_UDP' was here IPPROTO_UDP = 17, /* User Datagram Protocol. */ ^ /usr/include/linux/in.h:44:3: error: redeclaration of enumerator 'IPPROTO_IDP' IPPROTO_IDP = 22, /* XNS IDP protocol */ ^ /usr/include/netinet/in.h:59:5: note: previous definition of 'IPPROTO_IDP' was here IPPROTO_IDP = 22, /* XNS IDP protocol. */ ^ /usr/include/linux/in.h:46:3: error: redeclaration of enumerator 'IPPROTO_TP' IPPROTO_TP = 29, /* SO Transport Protocol Class 4 */ ^ /usr/include/netinet/in.h:61:5: note: previous definition of 'IPPROTO_TP' was here IPPROTO_TP = 29, /* SO Transport Protocol Class 4. */ ^ /usr/include/linux/in.h:48:3: error: redeclaration of enumerator 'IPPROTO_DCCP' IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol */ ^ /usr/include/netinet/in.h:63:5: note: previous definition of 'IPPROTO_DCCP' was here IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol. */ ^ /usr/include/linux/in.h:50:3: error: redeclaration of enumerator 'IPPROTO_IPV6' IPPROTO_IPV6 = 41, /* IPv6-in-IPv4 tunnelling */ ^ /usr/include/netinet/in.h:65:5: note: previous definition of 'IPPROTO_IPV6' was here IPPROTO_IPV6 = 41, /* IPv6 header. */ ^ /usr/include/linux/in.h:52:3: error: redeclaration of enumerator 'IPPROTO_RSVP' IPPROTO_RSVP = 46, /* RSVP Protocol */ ^ /usr/include/netinet/in.h:67:5: note: previous definition of 'IPPROTO_RSVP' was here IPPROTO_RSVP = 46, /* Reservation Protocol. */ ^ /usr/include/linux/in.h:54:3: error: redeclaration of enumerator 'IPPROTO_GRE' IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ ^ /usr/include/netinet/in.h:69:5: note: previous definition of 'IPPROTO_GRE' was here IPPROTO_GRE = 47, /* General Routing Encapsulation. */ ^ /usr/include/linux/in.h:56:3: error: redeclaration of enumerator 'IPPROTO_ESP' IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ ^ /usr/include/netinet/in.h:71:5: note: previous definition of 'IPPROTO_ESP' was here IPPROTO_ESP = 50, /* encapsulating security payload. */ ^ /usr/include/linux/in.h:58:3: error: redeclaration of enumerator 'IPPROTO_AH' IPPROTO_AH = 51, /* Authentication Header protocol */ ^ /usr/include/netinet/in.h:73:5: note: previous definition of 'IPPROTO_AH' was here IPPROTO_AH = 51, /* authentication header. */ ^ /usr/include/linux/in.h:60:3: error: redeclaration of enumerator 'IPPROTO_MTP' IPPROTO_MTP = 92, /* Multicast Transport Protocol */ ^ /usr/include/netinet/in.h:75:5: note: previous definition of 'IPPROTO_MTP' was here IPPROTO_MTP = 92, /* Multicast Transport Protocol. */ ^ /usr/include/linux/in.h:62:3: error: redeclaration of enumerator 'IPPROTO_BEETPH' IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET */ ^ /usr/include/netinet/in.h:77:5: note: previous definition of 'IPPROTO_BEETPH' was here IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET. */ ^ /usr/include/linux/in.h:64:3: error: redeclaration of enumerator 'IPPROTO_ENCAP' IPPROTO_ENCAP = 98, /* Encapsulation Header */ ^ /usr/include/netinet/in.h:79:5: note: previous definition of 'IPPROTO_ENCAP' was here IPPROTO_ENCAP = 98, /* Encapsulation Header. */ ^ /usr/include/linux/in.h:66:3: error: redeclaration of enumerator 'IPPROTO_PIM' IPPROTO_PIM = 103, /* Protocol Independent Multicast */ ^ /usr/include/netinet/in.h:81:5: note: previous definition of 'IPPROTO_PIM' was here IPPROTO_PIM = 103, /* Protocol Independent Multicast. */ ^ /usr/include/linux/in.h:68:3: error: redeclaration of enumerator 'IPPROTO_COMP' IPPROTO_COMP = 108, /* Compression Header Protocol */ ^ /usr/include/netinet/in.h:83:5: note: previous definition of 'IPPROTO_COMP' was here IPPROTO_COMP = 108, /* Compression Header Protocol. */ ^ /usr/include/linux/in.h:70:3: error: redeclaration of enumerator 'IPPROTO_SCTP' IPPROTO_SCTP = 132, /* Stream Control Transport Protocol */ ^ /usr/include/netinet/in.h:85:5: note: previous definition of 'IPPROTO_SCTP' was here IPPROTO_SCTP = 132, /* Stream Control Transmission Protocol. */ ^ /usr/include/linux/in.h:72:3: error: redeclaration of enumerator 'IPPROTO_UDPLITE' IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828) */ ^ /usr/include/netinet/in.h:87:5: note: previous definition of 'IPPROTO_UDPLITE' was here IPPROTO_UDPLITE = 136, /* UDP-Lite protocol. */ ^ /usr/include/linux/in.h:76:3: error: redeclaration of enumerator 'IPPROTO_RAW' IPPROTO_RAW = 255, /* Raw IP packets */ ^ /usr/include/netinet/in.h:89:5: note: previous definition of 'IPPROTO_RAW' was here IPPROTO_RAW = 255, /* Raw IP packets. */ ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:78:3: error: redeclaration of enumerator 'IPPROTO_MAX' IPPROTO_MAX ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:91:5: note: previous definition of 'IPPROTO_MAX' was here IPPROTO_MAX ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:84:8: error: redefinition of 'struct in_addr' struct in_addr { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:32:8: note: originally defined here struct in_addr ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:166:8: error: redefinition of 'struct ip_mreq' struct ip_mreq { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:265:8: note: originally defined here struct ip_mreq ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:171:8: error: redefinition of 'struct ip_mreqn' struct ip_mreqn { ^ In file included from /usr/include/netinet/in.h:38:0, from pppoe.h:87, from plugin.c:29: /usr/include/bits/in.h:153:8: note: originally defined here struct ip_mreqn ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:177:8: error: redefinition of 'struct ip_mreq_source' struct ip_mreq_source { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:274:8: note: originally defined here struct ip_mreq_source ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:183:8: error: redefinition of 'struct ip_msfilter' struct ip_msfilter { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:324:8: note: originally defined here struct ip_msfilter ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:195:8: error: redefinition of 'struct group_req' struct group_req { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:301:8: note: originally defined here struct group_req ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:200:8: error: redefinition of 'struct group_source_req' struct group_source_req { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:310:8: note: originally defined here struct group_source_req ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:206:8: error: redefinition of 'struct group_filter' struct group_filter { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:345:8: note: originally defined here struct group_filter ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:220:8: error: redefinition of 'struct in_pktinfo' struct in_pktinfo { ^ In file included from /usr/include/netinet/in.h:38:0, from pppoe.h:87, from plugin.c:29: /usr/include/bits/in.h:161:8: note: originally defined here struct in_pktinfo ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in.h:230:8: error: redefinition of 'struct sockaddr_in' struct sockaddr_in { ^ In file included from pppoe.h:47:0, from plugin.c:29: /usr/include/sys/socket.h:91:17: note: originally defined here typedef union { __SOCKADDR_ALLTYPES ^ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in6.h:32:8: error: redefinition of 'struct in6_addr' struct in6_addr { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:210:8: note: originally defined here struct in6_addr ^ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in6.h:49:8: error: redefinition of 'struct sockaddr_in6' struct sockaddr_in6 { ^ In file included from pppoe.h:47:0, from plugin.c:29: /usr/include/sys/socket.h:91:17: note: originally defined here typedef union { __SOCKADDR_ALLTYPES ^ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:26, from plugin.c:53: /usr/include/linux/in6.h:59:8: error: redefinition of 'struct ipv6_mreq' struct ipv6_mreq { ^ In file included from pppoe.h:87:0, from plugin.c:29: /usr/include/netinet/in.h:289:8: note: originally defined here struct ipv6_mreq ^ make[2]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/rp-pppoe' make[2]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/pppoatm' install -d -m 755 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/./pppd/2.4.5 install -c -m 4550 pppoatm.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/./pppd/2.4.5 make[2]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/pppoatm' make[2]: *** [plugin.o] Error 1 make[2]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/pppol2tp' install -d -m 755 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/./pppd/2.4.5 install -c -m 4550 pppol2tp.so openl2tp.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/./pppd/2.4.5 make[2]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/pppol2tp' make[2]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/radius' install -d -m 755 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/./pppd/2.4.5 install -c -m 755 radius.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/./pppd/2.4.5 install -c -m 755 radattr.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/./pppd/2.4.5 install -c -m 755 radrealms.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/./pppd/2.4.5 install -c -m 444 pppd-radius.8 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/man/man8 install -c -m 444 pppd-radattr.8 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/man/man8 make[2]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins/radius' make[1]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppd/plugins' cd pppd; make install make[1]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd' mkdir -p /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/man/man8 install -c -m 555 pppd /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin/pppd if chgrp pppusers /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin/pppd 2>/dev/null; then \ chmod o-rx,u+s /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin/pppd; fi install -c -m 444 pppd.8 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/man/man8 make[1]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppd' cd pppstats; make install make[1]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppstats' mkdir -p /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/man/man8 install -c pppstats /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin install -c -m 444 pppstats.8 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/man/man8 make[1]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppstats' cd pppdump; make install make[1]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppdump' mkdir -p /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/man/man8 install -c pppdump /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin install -c -m 444 pppdump.8 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/man/man8 make[1]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppdump' cd pppd; make install-devel make[1]: Entering directory `/builddir/build/BUILD/ppp-2.4.5/pppd' mkdir -p /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/include/pppd install -c -m 644 ccp.h session.h chap-new.h ecp.h fsm.h ipcp.h ipxcp.h lcp.h magic.h md5.h patchlevel.h pathnames.h pppd.h upap.h eap.h md4.h chap_ms.h sha1.h eap-tls.h pppcrypt.h tdb.h spinlock.h ipv6cp.h eui64.h cbcp.h /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/include/pppd make[1]: Leaving directory `/builddir/build/BUILD/ppp-2.4.5/pppd' install -d -m 755 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/etc/ppp install -c -m 644 etc.ppp/options /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/etc/ppp/options install -c -m 600 etc.ppp/pap-secrets /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/etc/ppp/pap-secrets install -c -m 600 etc.ppp/chap-secrets /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/etc/ppp/chap-secrets install -c -m 600 etc.ppp/eaptls-server /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/etc/ppp/eaptls-server install -c -m 600 etc.ppp/eaptls-client /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/etc/ppp/eaptls-client + chmod -R a+rX scripts + xargs chmod a-x + find scripts -type f + chmod 0755 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm//usr/lib/pppd/2.4.5/minconn.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm//usr/lib/pppd/2.4.5/openl2tp.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm//usr/lib/pppd/2.4.5/passprompt.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm//usr/lib/pppd/2.4.5/passwordfd.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm//usr/lib/pppd/2.4.5/pppoatm.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm//usr/lib/pppd/2.4.5/pppol2tp.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm//usr/lib/pppd/2.4.5/radattr.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm//usr/lib/pppd/2.4.5/radius.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm//usr/lib/pppd/2.4.5/radrealms.so /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm//usr/lib/pppd/2.4.5/winbind.so + mkdir -p /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/etc/pam.d + install -m 644 /builddir/build/SOURCES/ppp-2.3.5-pamd.conf /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/etc/pam.d/ppp + mkdir -p /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/var/log/ppp + mkdir -p /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/var/run/ppp + mkdir -p /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/var/lock/ppp + install -d -m 755 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/tmpfiles.d + install -p -m 644 /builddir/build/SOURCES/ppp-tmpfs.conf /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/tmpfiles.d/ppp.conf + mkdir -p /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/etc/logrotate.d + install -m 644 /builddir/build/SOURCES/ppp.logrotate /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/etc/logrotate.d/ppp + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/ppp-2.4.5 extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin/pppdump extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin/pppstats extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin/chat extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin/pppd objcopy: unable to copy file '/builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin/pppd'; reason: Permission denied extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/pppd/2.4.5/radius.so extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/pppd/2.4.5/pppol2tp.so extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/pppd/2.4.5/passprompt.so extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/pppd/2.4.5/openl2tp.so extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/pppd/2.4.5/winbind.so extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/pppd/2.4.5/passwordfd.so extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/pppd/2.4.5/minconn.so extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/pppd/2.4.5/radattr.so extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/pppd/2.4.5/pppoatm.so extracting debug info from /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/lib/pppd/2.4.5/radrealms.so /usr/lib/rpm/sepdebugcrcfix: cannot open ".//usr/sbin/pppd": Permission denied /usr/lib/rpm/sepdebugcrcfix: Updated 13 CRC32s, 0 CRC32s did match. /usr/lib/rpm/sepdebugcrcfix: Failed for 1 files. 2879 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: ppp-2.4.5-34.el7_7.armv7hl error: File not found: /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin/pppoe-discovery error: File not found by glob: /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/man/man8/pppoe-discovery.8* Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gUHZ8K + umask 022 + cd /builddir/build/BUILD + cd ppp-2.4.5 + DOCDIR=/builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + cp -pr FAQ /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + cp -pr README /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + cp -pr README.cbcp /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + cp -pr README.linux /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + cp -pr README.MPPE /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + cp -pr README.MSCHAP80 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + cp -pr README.MSCHAP81 /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + cp -pr README.pwfd /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + cp -pr README.pppoe /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + cp -pr scripts /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + cp -pr sample /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + cp -pr README.eap-tls /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/doc/ppp-2.4.5 + exit 0 RPM build errors: File not found: /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/sbin/pppoe-discovery File not found by glob: /builddir/build/BUILDROOT/ppp-2.4.5-34.el7_7.arm/usr/share/man/man8/pppoe-discovery.8* Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ppp.spec