+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ppp.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EpCAyt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ppp-2.4.7 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/ppp-2.4.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ppp-2.4.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-build-sys-use-gcc-as-our-compiler-of-choice.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-build-sys-enable-PAM-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-build-sys-utilize-compiler-flags-handed-to-us-by-rpm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-doc-add-configuration-samples.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0005-build-sys-don-t-hardcode-LIBDIR-but-set-it-according.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0006-scritps-use-change_resolv_conf-function.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0007-build-sys-don-t-strip-binaries-during-installation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0008-build-sys-use-prefix-usr-instead-of-usr-local.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0009-pppd-introduce-ipv6-accept-remote.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0010-build-sys-enable-CBCP.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0011-build-sys-don-t-put-connect-errors-log-to-etc-ppp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0012-pppd-we-don-t-want-to-accidentally-leak-fds.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0013-everywhere-O_CLOEXEC-harder.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0014-everywhere-use-SOCK_CLOEXEC-when-creating-socket.patch + /usr/bin/cat /builddir/build/SOURCES/0015-pppd-move-pppd-database-to-var-run-ppp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0016-rp-pppoe-add-manpage-for-pppoe-discovery.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0017-pppd-rebase-EAP-TLS-patch-v0.994.patch + /usr/bin/cat /builddir/build/SOURCES/0018-scritps-fix-ip-up.local-sample.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0019-sys-linux-rework-get_first_ethernet.patch + /usr/bin/cat /builddir/build/SOURCES/0020-pppd-put-lock-files-in-var-lock-ppp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0021-build-sys-compile-pppol2tp-plugin-with-RPM_OPT_FLAGS.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0022-build-sys-compile-pppol2tp-with-multilink-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0023-build-sys-install-rp-pppoe-plugin-files-with-standar.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0024-build-sys-install-pppoatm-plugin-files-with-standard.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0025-pppd-install-pppd-binary-using-standard-perms-755.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0026-Revert-pppd-rebase-EAP-TLS-patch-v0.994.patch + /usr/bin/cat /builddir/build/SOURCES/0027-pppd-EAP-TLS-patch-v0.997.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0028-Fix-logical-expression-in-eap_client_active-macro.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0029-pppoe-include-netinet-in.h-before-linux-in.h.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + tar -xJf /builddir/build/SOURCES/ppp-watch.tar.xz + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Krr5Dp + umask 022 + cd /builddir/build/BUILD + cd ppp-2.4.7 + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing' + RPM_OPT_FLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 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 -j4 cd chat; make -j4 --jobserver-auth=3,4 all make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/chat' cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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: In function 'chat_send': chat.c:1045:2: 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:1368:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, "\n", 1); ^~~~~~~~~~~~~~~~~ chat.c:1373:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, s, strlen(s)); ^~~~~~~~~~~~~~~~~~~~~~ At top level: chat.c:90:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = "$Id: chat.c,v 1.30 2004/01/17 05:47:55 carlsonj Exp $"; ^~~~~ cc -o chat chat.o make[1]: Leaving directory '/builddir/build/BUILD/ppp-2.4.7/chat' cd pppd/plugins; make -j4 --jobserver-auth=3,4 all make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins' cc -o minconn.so -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 minconn.c cc -o passprompt.so -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 passprompt.c cc -o passwordfd.so -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 passwordfd.c cc -o winbind.so -shared -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 winbind.c passprompt.c: In function 'promptpass': passprompt.c:57:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ^~~~~~~~~~~~~~~~~ passprompt.c:58:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(getgid()); ^~~~~~~~~~~~~~~~~ winbind.c: In function 'run_ntlm_auth': winbind.c:414:23: 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 * {aka unsigned char *}' size_t strhex_to_str(char *p, size_t len, const char *strhex) ^~~~~~~~~~~~~ winbind.c: In function 'winbind_chap_verify': winbind.c:629:22: 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 * {aka unsigned char *}' but argument is of type 'char *' void GenerateAuthenticatorResponse(u_char PasswordHashHash[MD4_SIGNATURE_SIZE], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ winbind.c: In function 'run_ntlm_auth': winbind.c:305:3: 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 -j4 --jobserver-auth=5,6 -C $d all; done make[2]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins' make[2]: warning: -jN forced in submake: disabling jobserver mode. cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o plugin.o -fPIC plugin.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o discovery.o -fPIC discovery.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o if.o -fPIC if.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o common.o -fPIC common.c common.c: In function 'sendPADT': common.c:139:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(err.payload, msg); ^~~ In file included from /usr/include/features.h:428:0, from /usr/include/netinet/in.h:21, from pppoe.h:18, from common.c:20: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ At top level: common.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ if.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ discovery.c: In function 'parsePADOTags': discovery.c:140:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ At top level: discovery.c:11:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ plugin.c:25:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../../../include '-DRP_VERSION="3.8p"' -c -o pppoe-discovery.o pppoe-discovery.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../../../include '-DRP_VERSION="3.8p"' -c -o debug.o debug.c In file included from pppoe-discovery.c:18:0: pppoe-discovery.c: In function 'sendPADI': pppoe.h:299:2: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error("Would create too-long packet"); \ ^ pppoe-discovery.c:460:5: note: in expansion of macro 'CHECK_ROOM' CHECK_ROOM(cursor, packet.payload, plen); ^~~~~~~~~~ debug.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ cc -o rp-pppoe.so -shared plugin.o discovery.o if.o common.o cc -o pppoe-discovery pppoe-discovery.o debug.o -ludev make[2]: Leaving directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins/rp-pppoe' make[2]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins' make[2]: warning: -jN forced in submake: disabling jobserver mode. cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../.. -I../../../include -fPIC -I. -c -o pppoatm.o pppoatm.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../.. -I../../../include -fPIC -I. -c -o text2qos.o text2qos.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../.. -I../../../include -fPIC -I. -c -o text2atm.o text2atm.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../.. -I../../../include -fPIC -I. -c -o misc.o misc.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -I../.. -I../../../include -fPIC -I. -c -o ans.o ans.c ans.c: In function 'ans': ans.c:65:60: 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:273:6: note: expected 'char *' but argument is of type 'unsigned char *' int dn_expand (const unsigned char *, const unsigned char *, ^ ans.c:80:57: 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:273: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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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.7/pppd/plugins/pppoatm' make[2]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins' make[2]: warning: -jN forced in submake: disabling jobserver mode. cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DHAVE_MULTILINK -I. -I../.. -I../../../include -fPIC -c -o pppol2tp.o pppol2tp.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DHAVE_MULTILINK -I. -I../.. -I../../../include -fPIC -c -o openl2tp.o openl2tp.c pppol2tp.c: In function 'setdevname_pppol2tp': pppol2tp.c:135:53: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if(getsockname(pppol2tp_fd, (struct sockaddr *)&s, &len) < 0) { ^ In file included from /usr/include/net/if.h:26:0, from pppol2tp.c:34: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ pppol2tp.c:147:16: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] &tmp, &tmp_len) < 0) { ^ In file included from /usr/include/net/if.h:26:0, from pppol2tp.c:34: /usr/include/sys/socket.h:208:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^~~~~~~~~~ pppol2tp.c:125:9: warning: unused variable 'a' [-Wunused-variable] char **a; ^ pppol2tp.c: In function 'send_config_pppol2tp': pppol2tp.c:200:6: warning: unused variable 'fd' [-Wunused-variable] int fd; ^~ pppol2tp.c:198:15: warning: unused variable 'ifr' [-Wunused-variable] struct ifreq ifr; ^~~ pppol2tp.c: In function 'pppol2tp_lcp_snoop': pppol2tp.c:300:14: warning: variable 'snooping' set but not used [-Wunused-but-set-variable] static bool snooping = 1; ^~~~~~~~ At top level: pppol2tp.c:479:13: warning: 'pppol2tp_cleanup' defined but not used [-Wunused-function] static void pppol2tp_cleanup(void) ^~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DHAVE_MULTILINK -I. -I../.. -I../../../include -fPIC -o openl2tp.so -shared openl2tp.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DHAVE_MULTILINK -I. -I../.. -I../../../include -fPIC -o pppol2tp.so -shared pppol2tp.o rm openl2tp.o pppol2tp.o make[2]: Leaving directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins/pppol2tp' make[2]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins' make[2]: warning: -jN forced in submake: disabling jobserver mode. cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o radius.o radius.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o avpair.o avpair.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o buildreq.o buildreq.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o config.o config.c radius.c:205:34: warning: "/*" within comment [-Wcomment] * worry about looking in /etc/ppp/*-secrets radius.c: In function 'radius_setparams': radius.c:596:50: warning: pointer targets in passing argument 2 of 'script_setenv' differ in signedness [-Wpointer-sign] script_setenv("RADIUS_FILTER_ID", vp->strvalue, 1); ^~ In file included from radius.c:29:0: ../../pppd.h:512:6: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' void script_setenv __P((char *, char *, int)); /* set script env var */ ^~~~~~~~~~~~~ radius.c:600:53: warning: pointer targets in passing argument 2 of 'script_setenv' differ in signedness [-Wpointer-sign] script_setenv("RADIUS_FRAMED_ROUTE", vp->strvalue, 1); ^~ In file included from radius.c:29:0: ../../pppd.h:512:6: note: expected 'char *' but argument is of type 'u_char * {aka unsigned char *}' void script_setenv __P((char *, char *, int)); /* set script env var */ ^~~~~~~~~~~~~ radius.c:661:37: warning: pointer targets in passing argument 1 of 'strncmp' 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:139:12: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ radius.c:666:24: 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:535:8: note: expected 'const char *' but argument is of type 'u_char * {aka unsigned char *}' size_t strlcpy __P((char *, const char *, size_t)); /* safe strcpy */ ^~~~~~~ radius.c: In function 'radius_setmppekeys': radius.c:783:26: 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:791:26: 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:847:26: 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:862:26: 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); ^~~~~~~~~~ At top level: radius.c:26:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ avpair.c: In function 'rc_avpair_assign': avpair.c:79:13: 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:428:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ avpair.c: In function 'rc_avpair_gen': avpair.c:199:14: 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:428:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ avpair.c:200:21: 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:428:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string_fortified.h:126: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:13: 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:428:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ buildreq.c: In function 'rc_get_seqnbr': buildreq.c:138:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(sf),0); ^~~~~~~~~~~~~~~~~~~~~~~ avpair.c: In function 'rc_avpair_tostr': avpair.c:724:20: 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:428:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string_fortified.h:133: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:24: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'UINT4 {aka unsigned int}' [-Wformat=] sprintf (buffer, "%ld", pair->lvalue); ~~^ ~~~~~~~~~~~~ %d config.c: In function 'rc_conf_str': config.c:273:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (option == NULL) ^~ config.c:275:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return (char *)option->val; ^~~~~~ 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o clientid.o clientid.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o sendserver.o sendserver.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o util.o util.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; ^ In file included from /usr/include/netdb.h:27:0, from ./includes.h:22, from sendserver.c:17: sendserver.c: In function 'rc_send_server': sendserver.c:247:31: warning: implicit declaration of function 'rc_own_bind_ipaddress'; did you mean 'rc_own_ipaddress'? [-Wimplicit-function-declaration] sin->sin_addr.s_addr = htonl(rc_own_bind_ipaddress()); ^ sendserver.c:250:52: 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:23:0, from /usr/include/netdb.h:27, from ./includes.h:22, from sendserver.c:17: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ sendserver.c:275:24: 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:457: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:27: 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:269:0, from /usr/include/netinet/in.h:23, 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 {aka unsigned int * restrict}' but argument is of type 'int *' recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ sendserver.c:365:16: 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:428:0, from /usr/include/sys/types.h:25, from ./includes.h:17, from sendserver.c:17: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'u_char * {aka unsigned char *}' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ sendserver.c: In function 'rc_check_reply': sendserver.c:431:28: 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:457: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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o md5.o md5.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o radattr.o radattr.c cc -I. -I../.. -I../../../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o radrealms.o radrealms.c radattr.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ cc -o radattr.so -shared radattr.o radrealms.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ cc -o radrealms.so -shared radrealms.o 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 make[2]: Leaving directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins/radius' make[1]: Leaving directory '/builddir/build/BUILD/ppp-2.4.7/pppd/plugins' cd pppd; make -j4 --jobserver-auth=3,4 all make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/ppp-2.4.7/pppd' gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 magic.c:54:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ fsm.c:58:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 main.c: In function 'detach': main.c:778:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ main.c: In function 'device_script': main.c:1713:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ main.c:1714:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); ^~~~~~~~~~~ main.c: In function 'run_program': main.c:1824:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir ("/"); /* no current directory. */ ^~~~~~~~~~~~~~~~~~ main.c:1825:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(0); /* set real UID = root */ ^~~~~~~~~ main.c:1826:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getegid()); ^~~~~~~~~~~~~~~~~ At top level: main.c:124:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ lcp.c:59:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 ipcp.c:64:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ upap.c:55:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 ecp.c:62:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 ccp.c:46:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 auth.c:121:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ options.c: In function 'user_unsetenv': options.c:1738:13: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (arg == '\0') { ^~ options.c:1738:9: note: did you mean to dereference the pointer? if (arg == '\0') { ^ At top level: options.c:82:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ demand.c:55:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 utils.c: In function 'lock': utils.c:974:5: 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:1016:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, lock_buffer, 11); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: utils.c:62:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 sys-linux.c: In function 'get_pty': sys-linux.c:2740:7: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] fchown(sfd, uid, -1); ^~~~~~~~~~~~~~~~~~~~ ipxcp.c:65:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 tty.c: In function 'start_charshunt': tty.c:943:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ tty.c:944:2: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); ^~~~~~~~~~~ eap.c:154:21: warning: 'wkmodulus' defined but not used [-Wunused-const-variable=] static const u_char wkmodulus[] = { ^~~~~~~~~ eap.c:88:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 chap_ms.c:97:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 pppcrypt.c: In function 'DesSetkey': pppcrypt.c:122:2: warning: implicit declaration of function 'setkey'; did you mean 'DesSetkey'? [-Wimplicit-function-declaration] setkey((const char *)crypt_key); ^~~~~~ DesSetkey pppcrypt.c: In function 'DesEncrypt': pppcrypt.c:137:2: warning: implicit declaration of function 'encrypt'; did you mean 'crypt'? [-Wimplicit-function-declaration] encrypt((char *)des_input, 0); ^~~~~~~ crypt gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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 eui64.c:42:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ ipv6cp.c:171:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=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; ^~~~~ At top level: cbcp.c:48:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] static const char rcsid[] = RCSID; ^~~~~ gcc -Wall -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Wall -fno-strict-aliasing -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 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DPPP_FILTER -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -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 -ludev -lssl -lcrypto -lcrypt -lutil -lpam -ldl -ldl -lpcap pppcrypt.o: In function `DesSetkey': /builddir/build/BUILD/ppp-2.4.7/pppd/pppcrypt.c:121: undefined reference to `setkey' pppcrypt.o: In function `DesEncrypt': /builddir/build/BUILD/ppp-2.4.7/pppd/pppcrypt.c:136: undefined reference to `encrypt' pppcrypt.o: In function `Expand': /builddir/build/BUILD/ppp-2.4.7/pppd/pppcrypt.c:87: undefined reference to `encrypt' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:232: pppd] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/ppp-2.4.7/pppd' make: *** [Makefile:17: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Krr5Dp (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Krr5Dp (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff