D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ppp-2.4.9-3.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.J2sr9T + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ppp-2.4.9 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ppp-2.4.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ppp-2.4.9 + rm -rf /home/pterjan/rpmbuild/BUILD/ppp-2.4.9-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ppp-2.4.9-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar xf /home/pterjan/rpmbuild/SOURCES/ppp-watch.tar.xz + pushd pppd/plugins ~/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins ~/rpmbuild/BUILD/ppp-2.4.9 + tar -xjf /home/pterjan/rpmbuild/SOURCES/ppp-dhcpc.tar.bz2 + rm -rf dhcp/dhcpc.so + popd ~/rpmbuild/BUILD/ppp-2.4.9 + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ppp-2.3.6-sample.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ppp-options.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ppp-2.4.9-pppdump-Makefile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ppp-2.4.9-noexttraffic.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ppp-2.4.3-libatm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ppp-2.4.9-multipledefrt.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ppp-2.4.4-dontwriteetc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ppp-2.4.3-etcppp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ppp-2.4.5-includes-sha1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ppp-2.4.9-dhcp-build-flags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ppp-2.4.9-CVE-2015-3310.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ppp-2.4.8-glibc2.32.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ppp-2.4.9-configure-cflags-allow-commas.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + perl -pi -e 's|^(LIBDIR.*)\$\(DESTDIR\)/lib|\1\$(INSTROOT)/usr/lib64|g' pppd/Makefile.linux pppd/plugins/Makefile.linux pppd/plugins/pppoatm/Makefile.linux pppd/plugins/radius/Makefile.linux pppd/plugins/pppoe/Makefile.linux pppd/plugins/pppol2tp/Makefile.linux + perl -pi -e 's|(--prefix=/usr)|\1 --libdir=/usr/lib64|g' pppd/plugins/radius/Makefile.linux + perl -pi -e '/_PATH_PLUGIN/ and s,(?:/usr/lib|DESTDIR (")/lib),$1/usr/lib64,' pppd/pathnames.h + perl -p -i -e 's|^(PLUGINS :=)|SUBDIRS += dhcp\n$1|g' pppd/plugins/Makefile.linux + perl -p -i -e 's|libtool|libtool --tag=CC|g' pppd/plugins/dhcp/Makefile.linux + perl -pi -e 's|/usr/local/bin/pppd|/usr/sbin/pppd|g; s|/usr/local/bin/ssh|/usr/bin/ssh|g; s|/usr/local/bin/expect|/usr/bin/expect|g' scripts/ppp-on-rsh scripts/ppp-on-ssh scripts/secure-card + perl -pi -e s/#HAVE_INET6/HAVE_INET6/ pppd/Makefile.linux + perl -pi -e 's/openssl/openssl -DOPENSSL_NO_SHA1/;' openssl/crypto/sha/Makefile Can't open openssl/crypto/sha/Makefile: No such file or directory. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DrSSfq + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ppp-2.4.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 '--cflags=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC' 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/pppoe/Makefile <= pppd/plugins/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 + /usr/bin/make -O -j16 V=1 VERBOSE=1 'LDFLAGS= -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie' LIBDIR=/usr/lib64 cd chat; /usr/bin/make -j16 -Otarget --jobserver-auth=fifo:/tmp/GMfifo1123086 --sync-mutex=fnm:/tmp/GmIYzQtN all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/chat' make[1]: warning: -j16 forced in submake: resetting jobserver mode. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/chat' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/chat' cc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat.o chat.c chat.c: In function 'chat_send': chat.c:993:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 993 | write(2, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ chat.c: In function 'echo_stderr': chat.c:1312:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1312 | write(2, "\n", 1); | ^~~~~~~~~~~~~~~~~ chat.c:1317:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1317 | write(2, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/chat' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/chat' cc -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie -o chat chat.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/chat' cd pppd/plugins; /usr/bin/make -j16 -Otarget --jobserver-auth=fifo:/tmp/GMfifo1123086 --sync-mutex=fnm:/tmp/GmIYzQtN all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins' make[1]: warning: -j16 forced in submake: resetting jobserver mode. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins' cc -o minconn.so -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 minconn.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins' cc -o passwordfd.so -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 passwordfd.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins' cc -o passprompt.so -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 passprompt.c passprompt.c: In function 'promptpass': passprompt.c:58:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ passprompt.c:59:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | setegid(getgid()); | ^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins' cc -o winbind.so -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 winbind.c winbind.c: In function 'run_ntlm_auth': winbind.c:305:17: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 305 | setgid(getgid()); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins' for d in pppoe pppoatm pppol2tp radius dhcp; do /usr/bin/make -j16 -Otarget --jobserver-auth=fifo:/tmp/GMfifo1123393 --sync-mutex=fnm:/tmp/GmIYzQtN -C $d all || exit $?; done make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' make[2]: warning: -j16 forced in submake: resetting jobserver mode. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I../../../include -I../../.. -c -o if.o -fPIC if.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I../../../include -I../../.. -c -o debug.o debug.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I../../../include -I../../.. -c -o common.o -fPIC common.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I../../../include -I../../.. -c -o plugin.o -fPIC plugin.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I../../../include -I../../.. -c -o discovery.o -fPIC discovery.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' cc -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie -o pppoe.so -shared plugin.o discovery.o if.o common.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I../../../include -I../../.. -c -o pppoe-discovery.o pppoe-discovery.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' cc -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie -o pppoe-discovery pppoe-discovery.o debug.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoe' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoatm' make[2]: warning: -j16 forced in submake: resetting jobserver mode. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoatm' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoatm' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I../.. -I../../../include -fPIC -c -o pppoatm.o pppoatm.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoatm' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoatm' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I../.. -I../../../include -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie -o pppoatm.so -shared pppoatm.o -latm make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppoatm' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppol2tp' make[2]: warning: -j16 forced in submake: resetting jobserver mode. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppol2tp' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppol2tp' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -c -o openl2tp.o openl2tp.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppol2tp' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppol2tp' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie -o openl2tp.so -shared openl2tp.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppol2tp' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppol2tp' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -c -o pppol2tp.o pppol2tp.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppol2tp' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppol2tp' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie -o pppol2tp.so -shared pppol2tp.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/pppol2tp' rm pppol2tp.o openl2tp.o make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: warning: -j16 forced in submake: resetting jobserver mode. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o md5.o md5.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o lock.o lock.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o radattr.o radattr.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o util.o util.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie -o radattr.so -shared radattr.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o ip_util.o ip_util.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o radrealms.o radrealms.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o clientid.o clientid.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie -o radrealms.so -shared radrealms.o make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o buildreq.o buildreq.c buildreq.c: In function 'rc_get_seqnbr': buildreq.c:138:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | ftruncate(fileno(sf),0); | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o dict.o dict.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o config.o config.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o sendserver.o sendserver.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o avpair.o avpair.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I. -I../.. -I../../../include -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o radius.o radius.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/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 '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' cc -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -fpie -o radius.so -shared radius.o libradiusclient.a make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/radius' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/dhcp' make[2]: warning: -j16 forced in submake: resetting jobserver mode. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/dhcp' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/dhcp' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -I../.. -I../../../include -c -o packet.o packet.c In file included from packet.c:18: packet.c: In function 'get_packet': debug.h:9:37: error: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~~~ packet.c:60:17: note: in expansion of macro 'DEBUG' 60 | DEBUG(LOG_INFO, "couldn't read on listening socket, ignoring"); | ^~~~~ debug.h:16:34: error: implicit declaration of function 'info' [-Wimplicit-function-declaration] 16 | #define LOG(level, str, args...) info("DHCPC: " str, ## args) | ^~~~ packet.c:65:17: note: in expansion of macro 'LOG' 65 | LOG(LOG_ERR, "received bogus message, ignoring"); | ^~~ make[2]: *** [: packet.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/dhcp' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/dhcp' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -I../.. -I../../../include -c -o socket.o socket.c In file included from socket.c:44: socket.c: In function 'read_interface': debug.h:9:37: error: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~~~ socket.c:61:33: 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: error: implicit declaration of function 'info' [-Wimplicit-function-declaration] 16 | #define LOG(level, str, args...) info("DHCPC: " str, ## args) | ^~~~ socket.c:63:33: note: in expansion of macro 'LOG' 63 | LOG(LOG_ERR, "SIOCGIFADDR failed!: %s", strerror(errno)); | ^~~ make[2]: *** [: socket.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/dhcp' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/dhcp' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -I../.. -I../../../include -c -o clientpacket.o clientpacket.c In file included from clientpacket.c:44: clientpacket.c: In function 'send_discover': debug.h:16:34: error: implicit declaration of function 'info' [-Wimplicit-function-declaration] 16 | #define LOG(level, str, args...) info("DHCPC: " str, ## args) | ^~~~ clientpacket.c:109:9: note: in expansion of macro 'LOG' 109 | LOG(LOG_DEBUG, "Sending discover..."); | ^~~ clientpacket.c: In function 'get_raw_packet': debug.h:9:37: error: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~~~ clientpacket.c:188:17: note: in expansion of macro 'DEBUG' 188 | DEBUG(LOG_INFO, "couldn't read on raw listening socket -- ignoring"); | ^~~~~ make[2]: *** [: clientpacket.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/dhcp' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/dhcp' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -I../.. -I../../../include -c -o options.o options.c In file included from options.c:10: options.c: In function 'get_option': debug.h:16:34: error: implicit declaration of function 'info' [-Wimplicit-function-declaration] 16 | #define LOG(level, str, args...) info("DHCPC: " str, ## args) | ^~~~ options.c:76:25: 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: error: implicit declaration of function 'dbglog' [-Wimplicit-function-declaration] 9 | # define DEBUG(level, str, args...) dbglog("DHCPC: " str, ## args) | ^~~~~~ options.c:143:9: note: in expansion of macro 'DEBUG' 143 | DEBUG(LOG_INFO, "adding option 0x%02x", string[OPT_CODE]); | ^~~~~ make[2]: *** [: options.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/dhcp' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/dhcp' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -I../.. -I../../../include -c -o dhcpc.o dhcpc.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ppp-2.4.9/pppd/plugins/dhcp' make[1]: *** [Makefile:36: all] Error 2 make: *** [Makefile:16: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DrSSfq (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.DrSSfq (%build) I: [iurt_root_command] ERROR: chroot