<86>Jan 1 06:50:48 userdel[284178]: delete user 'rooter' <86>Jan 1 06:50:48 userdel[284178]: removed group 'rooter' owned by 'rooter' <86>Jan 1 06:50:48 userdel[284178]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 1 06:50:48 groupadd[284183]: group added to /etc/group: name=rooter, GID=633 <86>Jan 1 06:50:48 groupadd[284183]: group added to /etc/gshadow: name=rooter <86>Jan 1 06:50:48 groupadd[284183]: new group: name=rooter, GID=633 <86>Jan 1 06:50:48 useradd[284188]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash <86>Jan 1 06:50:48 userdel[284204]: delete user 'builder' <86>Jan 1 06:50:48 userdel[284204]: removed group 'builder' owned by 'builder' <86>Jan 1 06:50:48 userdel[284204]: removed shadow group 'builder' owned by 'builder' <86>Jan 1 06:50:48 groupadd[284212]: group added to /etc/group: name=builder, GID=634 <86>Jan 1 06:50:48 groupadd[284212]: group added to /etc/gshadow: name=builder <86>Jan 1 06:50:48 groupadd[284212]: new group: name=builder, GID=634 <86>Jan 1 06:50:48 useradd[284218]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/ppp-2.4.8-alt2.src.rpm: license not found in '/usr/share/license' directory: distributable <13>Jan 1 06:50:52 rpmi: perl-IPC-Signal-1.00-alt3.1.1 1290501013 installed <13>Jan 1 06:50:52 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099167 installed <13>Jan 1 06:50:52 rpmi: libgpg-error-1.41-alt4 sisyphus+264254.200.1.1 1609440111 installed <13>Jan 1 06:50:52 rpmi: libgcrypt20-1.8.7-alt1 sisyphus+264176.100.1.1 1609249178 installed <13>Jan 1 06:50:52 rpmi: libsystemd-1:247.2-alt1 sisyphus+263562.100.1.1 1608152006 installed <13>Jan 1 06:50:52 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <13>Jan 1 06:50:52 rpmi: libpcap0.8-2:1.9.1-alt2 sisyphus+252303.100.1.1 1590571652 installed <13>Jan 1 06:50:52 rpmi: libatm-2.5.1-alt6 sisyphus+234093.100.1.1 1562575889 installed <13>Jan 1 06:50:52 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jan 1 06:50:52 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Jan 1 06:50:52 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 1 06:50:52 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 1 06:50:52 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Jan 1 06:50:52 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jan 1 06:50:52 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jan 1 06:50:52 rpmi: libcrypto1.1-1.1.1i-alt1 sisyphus+263103.100.1.1 1607445576 installed <13>Jan 1 06:50:52 rpmi: libssl1.1-1.1.1i-alt1 sisyphus+263103.100.1.1 1607445576 installed <13>Jan 1 06:50:52 rpmi: rpm-macros-pam0-1.5.1-alt1 sisyphus+260508.100.1.1 1606328316 installed <13>Jan 1 06:50:52 rpmi: libpam0-devel-1.5.1-alt1 sisyphus+260508.100.1.1 1606328327 installed <13>Jan 1 06:50:52 rpmi: libssl-devel-1.1.1i-alt1 sisyphus+263103.100.1.1 1607445576 installed <13>Jan 1 06:50:52 rpmi: libatm-devel-2.5.1-alt6 sisyphus+234093.100.1.1 1562575889 installed <13>Jan 1 06:50:52 rpmi: libpcap-devel-2:1.9.1-alt2 sisyphus+252303.100.1.1 1590571652 installed <13>Jan 1 06:50:52 rpmi: libsystemd-devel-1:247.2-alt1 sisyphus+263562.100.1.1 1608152006 installed <13>Jan 1 06:50:52 rpmi: perl-Proc-WaitStat-1.00-alt4.1.1 1290595156 installed <13>Jan 1 06:50:52 rpmi: perl-Proc-Daemon-0.23-alt1 1451923889 installed <13>Jan 1 06:50:52 rpmi: libudev-devel-1:247.2-alt1 sisyphus+263562.100.1.1 1608152006 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/ppp-2.4.8-alt2.nosrc.rpm (w1.gzdio) Installing ppp-2.4.8-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.9516 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ppp-2.4.8 + echo 'Source #0 (ppp-2.4.8.tar):' Source #0 (ppp-2.4.8.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ppp-2.4.8.tar + cd ppp-2.4.8 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (ppp-2.4.8-alt2.patch):' Patch #1 (ppp-2.4.8-alt2.patch): + /usr/bin/patch -p1 patching file README.eap-tls patching file chat/Makefile.linux patching file chat/chat.8 patching file configure patching file etc.ppp/eaptls-client patching file etc.ppp/eaptls-server patching file etc.ppp/openssl.cnf patching file etc.ppp/options patching file linux/Makefile.top patching file pppd/Makefile.linux patching file pppd/auth.c patching file pppd/cbcp.c patching file pppd/cbcp.h patching file pppd/ccp.c patching file pppd/chap-md5.c patching file pppd/chap-new.c patching file pppd/chap_ms.c patching file pppd/demand.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/ipcp.c patching file pppd/ipcp.h patching file pppd/ipv6cp.c patching file pppd/ipv6cp.h patching file pppd/ipxcp.c patching file pppd/lcp.c patching file pppd/main.c patching file pppd/md4.c patching file pppd/md4.h patching file pppd/md5.c patching file pppd/md5.h patching file pppd/multilink.c patching file pppd/options.c patching file pppd/pathnames.h patching file pppd/plugins/Makefile.linux patching file pppd/plugins/dhcp/AUTHORS patching file pppd/plugins/dhcp/COPYING patching file pppd/plugins/dhcp/Makefile.linux patching file pppd/plugins/dhcp/README patching file pppd/plugins/dhcp/clientpacket.c patching file pppd/plugins/dhcp/clientpacket.h patching file pppd/plugins/dhcp/debug.h patching file pppd/plugins/dhcp/dhcpc.c patching file pppd/plugins/dhcp/dhcpc.h patching file pppd/plugins/dhcp/dhcpd.h patching file pppd/plugins/dhcp/files.h patching file pppd/plugins/dhcp/leases.h patching file pppd/plugins/dhcp/options.c patching file pppd/plugins/dhcp/options.h patching file pppd/plugins/dhcp/packet.c patching file pppd/plugins/dhcp/packet.h patching file pppd/plugins/dhcp/socket.c patching file pppd/plugins/dhcp/socket.h patching file pppd/plugins/passprompt.c patching file pppd/plugins/passwordfd.c patching file pppd/plugins/pppoatm/Makefile.linux patching file pppd/plugins/pppoatm/pppoatm.c patching file pppd/plugins/pppol2tp/Makefile.linux patching file pppd/plugins/pppol2tp/l2tp_event.h patching file pppd/plugins/pppol2tp/openl2tp.c patching file pppd/plugins/pppol2tp/pppol2tp.c patching file pppd/plugins/radius/Makefile.linux patching file pppd/plugins/radius/clientid.c patching file pppd/plugins/radius/md5.c patching file pppd/plugins/radius/radius.c patching file pppd/plugins/radius/util.c patching file pppd/plugins/rp-pppoe/Makefile.linux patching file pppd/plugins/rp-pppoe/if.c patching file pppd/plugins/rp-pppoe/plugin.c patching file pppd/plugins/rp-pppoe/pppoe-discovery.8 patching file pppd/plugins/rp-pppoe/pppoe-discovery.c patching file pppd/plugins/winbind.c patching file pppd/pppd.8 patching file pppd/pppd.h patching file pppd/sha1.c patching file pppd/sha1.h patching file pppd/sys-linux.c patching file pppd/sys-solaris.c patching file pppd/tdb.c patching file pppd/tty.c patching file pppd/utils.c patching file pppdump/Makefile.linux patching file pppstats/Makefile.linux patching file sample/auth-down patching file sample/auth-up patching file sample/callback-client patching file sample/callback-server patching file sample/callback-users patching file sample/ip-down patching file sample/ip-up patching file sample/options patching file sample/options.ttyXX patching file sample/pap-secrets + sed -i -e 's|/usr/local/etc|/etc|' -e 's|/usr/local/sbin|/usr/sbin|' pppd/plugins/radius/etc/radiusclient.conf + sed -i -e 's|/etc/radiusclient|/etc/ppp/radius|g' pppd/plugins/radius/pppd-radattr.8 pppd/plugins/radius/pppd-radius.8 pppd/plugins/radius/avpair.c pppd/plugins/radius/buildreq.c pppd/plugins/radius/clientid.c pppd/plugins/radius/config.c pppd/plugins/radius/dict.c pppd/plugins/radius/ip_util.c pppd/plugins/radius/lock.c pppd/plugins/radius/md5.c pppd/plugins/radius/radattr.c pppd/plugins/radius/radius.c pppd/plugins/radius/radrealms.c pppd/plugins/radius/sendserver.c pppd/plugins/radius/util.c pppd/plugins/radius/includes.h pppd/plugins/radius/options.h pppd/plugins/radius/pathnames.h pppd/plugins/radius/radiusclient.h pppd/plugins/radius/etc/dictionary pppd/plugins/radius/etc/dictionary.ascend pppd/plugins/radius/etc/dictionary.compat pppd/plugins/radius/etc/dictionary.merit pppd/plugins/radius/etc/dictionary.microsoft pppd/plugins/radius/etc/issue pppd/plugins/radius/etc/port-id-map pppd/plugins/radius/etc/radiusclient.conf pppd/plugins/radius/etc/radiusclient.conf.in pppd/plugins/radius/etc/realms pppd/plugins/radius/etc/servers + find -type f -name '*.orig' -print -delete + rm -f include/linux/if_pppol2tp.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.9516 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ppp-2.4.8 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_prog_cc_static_works=no + lt_cv_prog_cc_static_works=no + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext 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 pppd/plugins/dhcp/Makefile <= pppd/plugins/dhcp/Makefile.linux + make -j8 USE_PAM=y CBCP=y CHAPMS=y MPPE=y HAVE_LIBATM=y HAVE_INET6=y SYSTEMD=y 'COPTS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing' CC=gcc libdir=/usr/lib cd chat; make -w -j8 -Otarget --jobserver-auth=3,4 all make[1]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/chat' make[1]: warning: -j8 forced in submake: resetting jobserver mode. make[1]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/chat' make[1]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/chat' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -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] 151 | #define OPTION(c,v) (_O&2&&**v?*(*v)++:!c||_O&4?0:(!(_O&1)&& \ | ^~ chat.c:297:22: note: in expansion of macro 'OPTION' 297 | while ((option = OPTION(argc, argv)) != 0) { | ^~~~~~ chat.c: In function 'chat_send': chat.c:1047:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1047 | write(2, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ chat.c: In function 'echo_stderr': chat.c:1370:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1370 | write(2, "\n", 1); | ^~~~~~~~~~~~~~~~~ chat.c:1375:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1375 | write(2, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ At top level: chat.c:90:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 90 | static const char rcsid[] = "$Id: chat.c,v 1.30 2004/01/17 05:47:55 carlsonj Exp $"; | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/chat' make[1]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/chat' gcc -pie -o chat chat.o make[1]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/chat' cd pppd/plugins; make -w -j8 -Otarget --jobserver-auth=3,4 all make[1]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins' make[1]: warning: -j8 forced in submake: resetting jobserver mode. make[1]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins' make[1]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -shared -o minconn.so minconn.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins' make[1]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -shared -o passwordfd.so passwordfd.c make[1]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins' make[1]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -shared -o passprompt.so passprompt.c passprompt.c: In function 'promptpass': passprompt.c:57:2: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ passprompt.c:58:2: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | setegid(getgid()); | ^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins' make[1]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -shared -o winbind.so winbind.c winbind.c: In function 'run_ntlm_auth': winbind.c:421:23: warning: pointer targets in passing argument 1 of 'strhex_to_str' differ in signedness [-Wpointer-sign] 421 | if (strhex_to_str(nt_key, 32, parameter) == 16) { | ^~~~~~ | | | u_char * {aka unsigned char *} winbind.c:168:28: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 168 | size_t strhex_to_str(char *p, size_t len, const char *strhex) | ~~~~~~^ winbind.c: In function 'winbind_chap_verify': winbind.c:637:22: warning: pointer targets in passing argument 6 of 'GenerateAuthenticatorResponse' differ in signedness [-Wpointer-sign] 637 | challenge, user, saresponse); | ^~~~~~~~~~ | | | char * In file included from winbind.c:39: ../chap_ms.h:104:11: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 104 | u_char authResponse[MS_AUTH_RESPONSE_LENGTH+1]); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 305 | setgid(getgid()); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins' for d in rp-pppoe pppoatm pppol2tp radius dhcp; do make -w -j8 -Otarget --jobserver-auth=5,7 -C $d all || exit $?; done make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' make[2]: warning: -j8 forced in submake: resetting jobserver mode. make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../../../include -fPIC '-DRP_VERSION="3.8p"' -I../../.. -c -o if.o if.c if.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] 16 | static char const RCSID[] = | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../../../include -fPIC '-DRP_VERSION="3.8p"' -I../../.. -c -o debug.o debug.c debug.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] 16 | static char const RCSID[] = | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../../../include -fPIC '-DRP_VERSION="3.8p"' -I../../.. -c -o common.o common.c common.c: In function 'sendPADT': common.c:135:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 135 | strcpy(err.payload, msg); | ~~~^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from pppoe.h:18, from common.c:20: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __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=] 16 | static char const RCSID[] = | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../../../include -fPIC '-DRP_VERSION="3.8p"' -I../../.. -c -o plugin.o plugin.c plugin.c:55:2: warning: #warning ugly hack: aligned_u64 must be defined in linux/types.h [-Wcpp] 55 | #warning ugly hack: aligned_u64 must be defined in linux/types.h | ^~~~~~~ plugin.c:25:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] 25 | static char const RCSID[] = | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../../../include -fPIC '-DRP_VERSION="3.8p"' -I../../.. -c -o discovery.o discovery.c discovery.c: In function 'parsePADOTags': discovery.c:136:9: warning: unused variable 'i' [-Wunused-variable] 136 | int i; | ^ At top level: discovery.c:11:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] 11 | static char const RCSID[] = | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../../../include -fPIC '-DRP_VERSION="3.8p"' -shared -o rp-pppoe.so plugin.o discovery.o if.o common.o make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../../../include -fPIC '-DRP_VERSION="3.8p"' -I../../.. -c -o pppoe-discovery.o pppoe-discovery.c In file included from /usr/include/string.h:532, from pppoe-discovery.c:17: In function 'strncpy', inlined from 'openInterface' at pppoe-discovery.c:153:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'openInterface' at pppoe-discovery.c:175:5: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../../../include -fPIC '-DRP_VERSION="3.8p"' -shared -o pppoe-discovery pppoe-discovery.o debug.o -ludev make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/rp-pppoe' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppoatm' make[2]: warning: -j8 forced in submake: resetting jobserver mode. make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppoatm' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppoatm' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../.. -I../../../include -fPIC -c -o pppoatm.o pppoatm.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppoatm' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppoatm' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I../.. -I../../../include -fPIC -shared -o pppoatm.so pppoatm.o -latm make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppoatm' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppol2tp' make[2]: warning: -j8 forced in submake: resetting jobserver mode. make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppol2tp' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppol2tp' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -c -o openl2tp.o openl2tp.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppol2tp' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppol2tp' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -shared -o openl2tp.so openl2tp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppol2tp' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppol2tp' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -c -o pppol2tp.o pppol2tp.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] 135 | if(getsockname(pppol2tp_fd, (struct sockaddr *)&s, &len) < 0) { | ^~~~ | | | int * In file included from /usr/include/net/if.h:26, from pppol2tp.c:34: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ pppol2tp.c:147:16: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] 147 | &tmp, &tmp_len) < 0) { | ^~~~~~~~ | | | int * In file included from /usr/include/net/if.h:26, from pppol2tp.c:34: /usr/include/sys/socket.h:210:32: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 210 | socklen_t *__restrict __optlen) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ pppol2tp.c:125:9: warning: unused variable 'a' [-Wunused-variable] 125 | char **a; | ^ pppol2tp.c: In function 'send_config_pppol2tp': pppol2tp.c:204:6: warning: unused variable 'fd' [-Wunused-variable] 204 | int fd; | ^~ pppol2tp.c:202:15: warning: unused variable 'ifr' [-Wunused-variable] 202 | struct ifreq ifr; | ^~~ pppol2tp.c: In function 'pppol2tp_lcp_snoop': pppol2tp.c:304:14: warning: variable 'snooping' set but not used [-Wunused-but-set-variable] 304 | static bool snooping = 1; | ^~~~~~~~ At top level: pppol2tp.c:483:13: warning: 'pppol2tp_cleanup' defined but not used [-Wunused-function] 483 | static void pppol2tp_cleanup(void) | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppol2tp' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppol2tp' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -shared -o pppol2tp.so pppol2tp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/pppol2tp' rm pppol2tp.o openl2tp.o make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: warning: -j8 forced in submake: resetting jobserver mode. make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o ip_util.o ip_util.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o clientid.o clientid.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o lock.o lock.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o dict.o dict.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o buildreq.o buildreq.c 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] 138 | ftruncate(fileno(sf),0); | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o md5.o md5.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o radattr.o radattr.c radattr.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] 17 | static char const RCSID[] = | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -shared -o radattr.so radattr.o make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o util.o util.c make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o radrealms.o radrealms.c radrealms.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] 17 | static char const RCSID[] = | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o config.o config.c config.c: In function 'rc_find_server': config.c:528: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] 528 | memset (secret, '\0', sizeof (secret)); | ^ config.c:455:18: warning: unused variable 'len' [-Wunused-variable] 455 | int len; | ^~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -shared -o radrealms.so radrealms.o make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o avpair.o avpair.c avpair.c: In function 'rc_avpair_assign': avpair.c:79:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 79 | strncpy (vp->strvalue, (char *) pval, AUTH_STRING_LEN); | ~~^~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:465, 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 *'} 88 | __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] 199 | sprintf (hex, "%2.2X", *x_ptr); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __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] 200 | strcat (buffer, hex); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string_fortified.h:112:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 112 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ avpair.c: In function 'rc_avpair_parse': avpair.c:600:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 600 | strcpy (pair->strvalue, valstr); | ~~~~^~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ 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] 724 | strncat(value, ptr, 1); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from ./includes.h:17, from avpair.c:17: /usr/include/bits/string_fortified.h:119:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 119 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | ^~~~~ In file included from /usr/include/string.h:532, from ./includes.h:26, from avpair.c:17: In function 'strncat', inlined from 'rc_avpair_tostr' at avpair.c:724:5: /usr/include/bits/string_fortified.h:122:10: warning: '__builtin_strncat' output may be truncated copying 1 byte from a string of length 128 [-Wstringop-truncation] 122 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o sendserver.o sendserver.c sendserver.c: In function 'rc_pack_list': sendserver.c:107:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 107 | vector = (char *)auth->vector; | ^ sendserver.c: In function 'rc_send_server': sendserver.c:250:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] 250 | getsockname (sockfd, (struct sockaddr *) sin, &length) < 0) | ^~~~~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from ./includes.h:22, from sendserver.c:17: /usr/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 117 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ sendserver.c:275:24: warning: pointer targets in passing argument 2 of 'rc_md5_calc' differ in signedness [-Wpointer-sign] 275 | rc_md5_calc (vector, (char *) auth, total_length + secretlen); | ^~~~~~~~~~~~~ | | | char * In file included from ./radiusclient.h:23, from sendserver.c:18: ./radiusclient.h:458:40: note: expected 'unsigned char *' but argument is of type 'char *' 458 | void rc_md5_calc __P((unsigned char *, unsigned char *, unsigned int)); | ^~~~~~~~~~~~~~~ ../../pppd.h:66:19: note: in definition of macro '__P' 66 | #define __P(args) args | ^~~~ sendserver.c:331:27: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 331 | (int) 0, &saremote, &salen); | ^~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, 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:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ sendserver.c:365:18: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 365 | strcat(msg, vp->strvalue); | ~~^~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/sys/types.h:25, from ./includes.h:17, from sendserver.c:17: /usr/include/bits/string_fortified.h:112:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 112 | __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] 431 | rc_md5_calc (calc_digest, (char *) auth, totallen + secretlen); | ^~~~~~~~~~~~~ | | | char * In file included from ./radiusclient.h:23, from sendserver.c:18: ./radiusclient.h:458:40: note: expected 'unsigned char *' but argument is of type 'char *' 458 | void rc_md5_calc __P((unsigned char *, unsigned char *, unsigned int)); | ^~~~~~~~~~~~~~~ ../../pppd.h:66:19: note: in definition of macro '__P' 66 | #define __P(args) args | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' 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 make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -c -o radius.o radius.c radius.c:209:34: warning: "/*" within comment [-Wcomment] 209 | * worry about looking in /etc/ppp/*-secrets | radius.c: In function 'radius_setparams': radius.c:600:52: warning: pointer targets in passing argument 2 of 'script_setenv' differ in signedness [-Wpointer-sign] 600 | script_setenv("RADIUS_FILTER_ID", vp->strvalue, 1); | ~~^~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from radius.c:29: ../../pppd.h:546:33: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 546 | void script_setenv __P((char *, char *, int)); /* set script env var */ | ^~~~~~ ../../pppd.h:66:19: note: in definition of macro '__P' 66 | #define __P(args) args | ^~~~ radius.c:604:55: warning: pointer targets in passing argument 2 of 'script_setenv' differ in signedness [-Wpointer-sign] 604 | script_setenv("RADIUS_FRAMED_ROUTE", vp->strvalue, 1); | ~~^~~~~~~~~~ | | | u_char * {aka unsigned char *} In file included from radius.c:29: ../../pppd.h:546:33: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 546 | void script_setenv __P((char *, char *, int)); /* set script env var */ | ^~~~~~ ../../pppd.h:66:19: note: in definition of macro '__P' 66 | #define __P(args) args | ^~~~ radius.c:665:50: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 665 | if ((vp->lvalue != 43) || strncmp(vp->strvalue + 1, "S=", 2)) { | ~~~~~~~~~~~~~^~~ | | | u_char * {aka unsigned char *} In file included from radius.c:47: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ radius.c:670:37: warning: pointer targets in passing argument 2 of 'strlcpy' differ in signedness [-Wpointer-sign] 670 | strlcpy(message, vp->strvalue + 1, message_space); | ~~~~~~~~~~~~~^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ../../pppd.h:52, from radius.c:29: /usr/include/bits/string_fortified.h:137:1: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 137 | __NTH (strlcpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ At top level: radius.c:26:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] 26 | static char const RCSID[] = | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -DUSE_OPENSSL=1 -shared -o radius.so radius.o libradiusclient.a -lcrypto make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/radius' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/dhcp' make[2]: warning: -j8 forced in submake: resetting jobserver mode. make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/dhcp' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/dhcp' libtool --mode=compile --tag=CC gcc -I../.. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c socket.c libtool-default: compile: gcc -I../.. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c socket.c -fPIC -DPIC -o .libs/socket.o In file included from socket.c:44: socket.c: In function 'read_interface': debug.h:9:37: warning: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~~~ socket.c:61:5: note: in expansion of macro 'DEBUG' 61 | DEBUG(LOG_INFO, "%s (our ip) = %s", ifr.ifr_name, inet_ntoa(sin->sin_addr)); | ^~~~~ debug.h:16:34: warning: implicit declaration of function 'info' [-Wimplicit-function-declaration] 16 | #define LOG(level, str, args...) info("DHCPC: " str, ## args) | ^~~~ socket.c:63:5: note: in expansion of macro 'LOG' 63 | LOG(LOG_ERR, "SIOCGIFADDR failed!: %s", sys_errlist[errno]); | ^~~ socket.c:63:45: error: 'sys_errlist' undeclared (first use in this function) 63 | LOG(LOG_ERR, "SIOCGIFADDR failed!: %s", sys_errlist[errno]); | ^~~~~~~~~~~ debug.h:16:57: note: in definition of macro 'LOG' 16 | #define LOG(level, str, args...) info("DHCPC: " str, ## args) | ^~~~ socket.c:63:45: note: each undeclared identifier is reported only once for each function it appears in 63 | LOG(LOG_ERR, "SIOCGIFADDR failed!: %s", sys_errlist[errno]); | ^~~~~~~~~~~ debug.h:16:57: note: in definition of macro 'LOG' 16 | #define LOG(level, str, args...) info("DHCPC: " str, ## args) | ^~~~ socket.c: In function 'listen_socket': socket.c:101:44: error: 'sys_errlist' undeclared (first use in this function) 101 | DEBUG(LOG_ERR, "socket call failed: %s", sys_errlist[errno]); | ^~~~~~~~~~~ debug.h:9:62: note: in definition of macro 'DEBUG' 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~ socket.c: In function 'raw_socket': socket.c:147:44: error: 'sys_errlist' undeclared (first use in this function) 147 | DEBUG(LOG_ERR, "socket call failed: %s", sys_errlist[errno]); | ^~~~~~~~~~~ debug.h:9:62: note: in definition of macro 'DEBUG' 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~ make[2]: *** [Makefile:30: socket.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/dhcp' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/dhcp' libtool --mode=compile --tag=CC gcc -I../.. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c packet.c libtool-default: compile: gcc -I../.. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c packet.c -fPIC -DPIC -o .libs/packet.o In file included from packet.c:18: packet.c: In function 'get_packet': debug.h:9:37: warning: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~~~ packet.c:60:3: note: in expansion of macro 'DEBUG' 60 | DEBUG(LOG_INFO, "couldn't read on listening socket, ignoring"); | ^~~~~ debug.h:16:34: warning: implicit declaration of function 'info' [-Wimplicit-function-declaration] 16 | #define LOG(level, str, args...) info("DHCPC: " str, ## args) | ^~~~ packet.c:65:3: note: in expansion of macro 'LOG' 65 | LOG(LOG_ERR, "received bogus message, ignoring"); | ^~~ packet.c:73:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 73 | !strncmp(vendor, broken_vendors[i], vendor[OPT_LEN - 2])) { | ^~~~~~ | | | unsigned char * In file included from packet.c:2: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ packet.c: In function 'raw_packet': packet.c:121:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 121 | if (payload->giaddr && source_port==CLIENT_PORT) | ^ In file included from packet.c:18: packet.c:128:44: error: 'sys_errlist' undeclared (first use in this function) 128 | DEBUG(LOG_ERR, "socket call failed: %s", sys_errlist[errno]); | ^~~~~~~~~~~ debug.h:9:62: note: in definition of macro 'DEBUG' 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~ packet.c:128:44: note: each undeclared identifier is reported only once for each function it appears in 128 | DEBUG(LOG_ERR, "socket call failed: %s", sys_errlist[errno]); | ^~~~~~~~~~~ debug.h:9:62: note: in definition of macro 'DEBUG' 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~ make[2]: *** [Makefile:30: packet.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/dhcp' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/dhcp' libtool --mode=compile --tag=CC gcc -I../.. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c dhcpc.c libtool-default: compile: gcc -I../.. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c dhcpc.c -fPIC -DPIC -o .libs/dhcpc.o dhcpc.c: In function 'change_mode': dhcpc.c:127:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 127 | if (new_mode == LISTEN_RAW && client_config.giaddr) | ^ dhcpc.c:147:51: error: 'sys_errlist' undeclared (first use in this function) 147 | fatal("DHCPC: couldn't listen on socket, %s", sys_errlist[errno]); | ^~~~~~~~~~~ dhcpc.c:147:51: note: each undeclared identifier is reported only once for each function it appears in dhcpc.c: In function 'dhcp_rx': dhcpc.c:211:60: error: 'sys_errlist' undeclared (first use in this function) 211 | dbglog("DHCPC: error on read, %s, reopening socket", sys_errlist[errno]); | ^~~~~~~~~~~ dhcpc.c:191:10: warning: unused variable 'now' [-Wunused-variable] 191 | time_t now; | ^~~ dhcpc.c:190:7: warning: unused variable 'pid_fd' [-Wunused-variable] 190 | int pid_fd; | ^~~~~~ dhcpc.c:189:18: warning: unused variable 'temp_addr' [-Wunused-variable] 189 | struct in_addr temp_addr; | ^~~~~~~~~ dhcpc.c:187:7: warning: unused variable 'c' [-Wunused-variable] 187 | int c, len; | ^ dhcpc.c:185:7: warning: unused variable 'retval' [-Wunused-variable] 185 | int retval; | ^~~~~~ dhcpc.c:183:17: warning: unused variable 't2' [-Wunused-variable] 183 | unsigned long t2 = 0; | ^~ dhcpc.c:182:18: warning: unused variable 'temp' [-Wunused-variable] 182 | unsigned char *temp, *message; | ^~~~ dhcpc.c: In function 'dhcp_request_new': dhcpc.c:383:55: error: 'sys_errlist' undeclared (first use in this function) 383 | dbglog("DHCPC: error on read, %s, reopening socket", sys_errlist[errno]); | ^~~~~~~~~~~ dhcpc.c:312:7: warning: unused variable 'c' [-Wunused-variable] 312 | int c, len; | ^ dhcpc.c:308:25: warning: unused variable 't2' [-Wunused-variable] 308 | unsigned long t1 = 0, t2 = 0; | ^~ dhcpc.c:308:17: warning: unused variable 't1' [-Wunused-variable] 308 | unsigned long t1 = 0, t2 = 0; | ^~ dhcpc.c: In function 'dhcp_read_options': dhcpc.c:514:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 514 | if (dhcp_subnet_selection) | ^ make[2]: *** [Makefile:30: dhcpc.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/dhcp' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/dhcp' libtool --mode=compile --tag=CC gcc -I../.. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c options.c libtool-default: compile: gcc -I../.. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c options.c -fPIC -DPIC -o .libs/options.o In file included from options.c:10: options.c: In function 'get_option': debug.h:16:34: warning: implicit declaration of function 'info' [-Wimplicit-function-declaration] 16 | #define LOG(level, str, args...) info("DHCPC: " str, ## args) | ^~~~ options.c:76:4: note: in expansion of macro 'LOG' 76 | LOG(LOG_WARNING, "bogus packet, option fields too long."); | ^~~ options.c: In function 'add_option_string': debug.h:9:37: warning: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~~~ options.c:143:2: note: in expansion of macro 'DEBUG' 143 | DEBUG(LOG_INFO, "adding option 0x%02x", string[OPT_CODE]); | ^~~~~ libtool-default: compile: gcc -I../.. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c options.c -o options.o >/dev/null 2>&1 make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/dhcp' make[2]: Entering directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/dhcp' libtool --mode=compile --tag=CC gcc -I../.. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c clientpacket.c libtool-default: compile: gcc -I../.. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c clientpacket.c -fPIC -DPIC -o .libs/clientpacket.o In file included from clientpacket.c:44: clientpacket.c: In function 'send_discover': debug.h:16:34: warning: implicit declaration of function 'info' [-Wimplicit-function-declaration] 16 | #define LOG(level, str, args...) info("DHCPC: " str, ## args) | ^~~~ clientpacket.c:109:2: note: in expansion of macro 'LOG' 109 | LOG(LOG_DEBUG, "Sending discover..."); | ^~~ clientpacket.c: In function 'get_raw_packet': debug.h:9:37: warning: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~~~ clientpacket.c:188:3: note: in expansion of macro 'DEBUG' 188 | DEBUG(LOG_INFO, "couldn't read on raw listening socket -- ignoring"); | ^~~~~ libtool-default: compile: gcc -I../.. -I../../../include -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -Wall -D_GNU_SOURCE -fno-strict-aliasing -c clientpacket.c -o clientpacket.o >/dev/null 2>&1 make[2]: Leaving directory '/usr/src/RPM/BUILD/ppp-2.4.8/pppd/plugins/dhcp' make[1]: *** [Makefile:35: all] Error 2 make: *** [Makefile:16: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.9516 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.9516 (%build) Command exited with non-zero status 1 10.57user 1.40system 0:05.01elapsed 238%CPU (0avgtext+0avgdata 30640maxresident)k 0inputs+0outputs (0major+228050minor)pagefaults 0swaps hsh-rebuild: rebuild of `ppp-2.4.8-alt2.src.rpm' failed. Command exited with non-zero status 1 18.05user 6.90system 0:16.80elapsed 148%CPU (0avgtext+0avgdata 106320maxresident)k 952inputs+0outputs (0major+488056minor)pagefaults 0swaps