D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/iurt/rpmbuild/SRPMS/@2185750:openl2tp-1.8-30.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.YoQkVY Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.cNcyXQ + umask 022 + cd /home/iurt/rpmbuild/BUILD/openl2tp-1.8-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/openl2tp-1.8-build + rm -rf openl2tp-1.8 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/openl2tp-1.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd openl2tp-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/openl2tp-1.8-make.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/no-Werror.pach + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/fix-build-with-glibc-2.32.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/openl2tp-tirpc.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/openl2tp-fix-build-with-gcc14.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.I4QaSU + umask 022 + cd /home/iurt/rpmbuild/BUILD/openl2tp-1.8-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd openl2tp-1.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ pkg-config --cflags libtirpc + /usr/bin/make 'CFLAGS.optimize=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation' SYS_LIBDIR=/usr/lib64 PPPD_VERSION=2.5.2 PPPD_SUBDIR= rm -f l2tp_rpc.h rpcgen -N -M -C -L -h -o l2tp_rpc.h l2tp_rpc.x rm -f l2tp_rpc_server.c l2tp_rpc_server.c.tmp rpcgen -N -M -C -L -m -o l2tp_rpc_server.c.tmp l2tp_rpc.x cat l2tp_rpc_server.c.tmp | sed -e "s/\(#include \)/\1\nextern int l2tp_api_rpc_check_request(SVCXPRT *xprt);/" -e 's/switch (rqstp->rq_proc) {/if (l2tp_api_rpc_check_request(transp) < 0) return; switch (rqstp->rq_proc) {/' > l2tp_rpc_server.c rm -f l2tp_rpc_client.c rpcgen -N -M -C -L -l -o l2tp_rpc_client.c l2tp_rpc.x rm -f l2tp_rpc_xdr.c rpcgen -N -M -C -L -c -o l2tp_rpc_xdr.c l2tp_rpc.x flex -ol2tp_config_token.c l2tp_config_token.l bison -d -o l2tp_config_parse.c l2tp_config_parse.y /usr/bin/make -C usl EXTRA_CFLAGS=" -DL2TP_ASYNC_RPC" -Wno-unused-but-set-variable -Wno-error=format-truncation make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/openl2tp-1.8-build/openl2tp-1.8/usl' gcc -c -I. -MMD -Wall -Werror -Wno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation -g usl_fd.c -o usl_fd.o gcc -c -I. -MMD -Wall -Werror -Wno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation -g usl_misc.c -o usl_misc.o gcc -c -I. -MMD -Wall -Werror -Wno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation -g usl_pid.c -o usl_pid.o gcc -c -I. -MMD -Wall -Werror -Wno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation -g usl_signal.c -o usl_signal.o gcc -c -I. -MMD -Wall -Werror -Wno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation -g usl_timer.c -o usl_timer.o gcc -c -I. -MMD -Wall -Werror -Wno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation -g usl_fsm.c -o usl_fsm.o ar rus libusl.a usl_fd.o usl_misc.o usl_pid.o usl_signal.o usl_timer.o usl_fsm.o ar: creating libusl.a make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/openl2tp-1.8-build/openl2tp-1.8/usl' /usr/bin/make -C cli EXTRA_CFLAGS=" -DL2TP_ASYNC_RPC" -Wno-unused-but-set-variable -Wno-error=format-truncation make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/openl2tp-1.8-build/openl2tp-1.8/cli' gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation -MMD -Wall -Werror -I.. cli_lib.c -o cli_lib.o gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation -MMD -Wall -Werror -I.. cli_readline.c -o cli_readline.o gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation -MMD -Wall -Werror -I.. cli_util.c -o cli_util.o ar rus libcli.a cli_lib.o cli_readline.o cli_util.o ar: creating libcli.a make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/openl2tp-1.8-build/openl2tp-1.8/cli' /usr/bin/make -C plugins EXTRA_CFLAGS=" -DL2TP_ASYNC_RPC" -Wno-unused-but-set-variable -Wno-error=format-truncation make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/openl2tp-1.8-build/openl2tp-1.8/plugins' gcc -o ppp_unix.so -shared -ltirpc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation -MMD -Wall -isystem ../include -I/usr/include/tirpc -I. -I.. -I../usl -fPIC -DL2TP_ASYNC_RPC ppp_unix.c ppp_unix.c: In function 'ppp_unix_pppd_spawn': ppp_unix.c:940:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 940 | sprintf(&str[0], "%d", session_fd); | ^ In file included from /usr/include/stdio.h:970, from ../usl/usl.h:26, from ppp_unix.c:50: In function 'sprintf', inlined from 'ppp_unix_pppd_spawn' at ppp_unix.c:940:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -o ppp_null.so -shared -ltirpc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation -MMD -Wall -isystem ../include -I/usr/include/tirpc -I. -I.. -I../usl -fPIC -DL2TP_ASYNC_RPC ppp_null.c gcc -o ipsec.so -shared -ltirpc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation -MMD -Wall -isystem ../include -I/usr/include/tirpc -I. -I.. -I../usl -fPIC -DL2TP_ASYNC_RPC ipsec.c gcc -o event_sock.so -shared -ltirpc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation -MMD -Wall -isystem ../include -I/usr/include/tirpc -I. -I.. -I../usl -fPIC -DL2TP_ASYNC_RPC event_sock.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/openl2tp-1.8-build/openl2tp-1.8/plugins' /usr/bin/make -C test EXTRA_CFLAGS=" -DL2TP_ASYNC_RPC" -Wno-unused-but-set-variable -Wno-error=format-truncation make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/openl2tp-1.8-build/openl2tp-1.8/test' gcc -o pppd_dummy pppd_dummy.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/openl2tp-1.8-build/openl2tp-1.8/test' /usr/bin/make -C doc EXTRA_CFLAGS=" -DL2TP_ASYNC_RPC" -Wno-unused-but-set-variable -Wno-error=format-truncation make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/openl2tp-1.8-build/openl2tp-1.8/doc' gzip --best -c l2tpconfig.1 > l2tpconfig.1.gz gzip --best -c openl2tp_rpc.4 > openl2tp_rpc.4.gz gzip --best -c openl2tp.7 > openl2tp.7.gz gzip --best -c openl2tpd.8 > openl2tpd.8.gz gzip --best -c openl2tpd.conf.5 > openl2tpd.conf.5.gz make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/openl2tp-1.8-build/openl2tp-1.8/doc' gcc -c -I. -Iusl -Icli -isystem include -I/usr/include/tirpc -MMD -Wall -Wno-strict-aliasing -Wno-unused-but-set-variable -Wno-error=format-truncation -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation l2tp_main.c -o l2tp_main.o gcc -c -I. -Iusl -Icli -isystem include -I/usr/include/tirpc -MMD -Wall -Wno-strict-aliasing -Wno-unused-but-set-variable -Wno-error=format-truncation -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation l2tp_common.c -o l2tp_common.o gcc -c -I. -Iusl -Icli -isystem include -I/usr/include/tirpc -MMD -Wall -Wno-strict-aliasing -Wno-unused-but-set-variable -Wno-error=format-truncation -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -Wno-unused-but-set-variable -Wno-error=format-truncation l2tp_avp.c -o l2tp_avp.o l2tp_avp.c: In function 'l2tp_avp_hide_unhide': l2tp_avp.c:474:9: error: too many arguments to function 'MD5Init'; expected 0, have 1 474 | MD5Init(&ctx); | ^~~~~~~ ~~~~ In file included from l2tp_avp.c:24: md5.h:60:6: note: declared here 60 | void MD5Init (); | ^~~~~~~ l2tp_avp.c:475:9: error: too many arguments to function 'MD5Update'; expected 0, have 3 475 | MD5Update(&ctx, &hdr->type, 2); | ^~~~~~~~~ ~~~~ md5.h:61:6: note: declared here 61 | void MD5Update (); | ^~~~~~~~~ l2tp_avp.c:476:9: error: too many arguments to function 'MD5Update'; expected 0, have 3 476 | MD5Update(&ctx, secret, secret_len); | ^~~~~~~~~ ~~~~ md5.h:61:6: note: declared here 61 | void MD5Update (); | ^~~~~~~~~ l2tp_avp.c:477:9: error: too many arguments to function 'MD5Update'; expected 0, have 3 477 | MD5Update(&ctx, random_vector, random_vector_len); | ^~~~~~~~~ ~~~~ md5.h:61:6: note: declared here 61 | void MD5Update (); | ^~~~~~~~~ l2tp_avp.c:478:9: error: too many arguments to function 'MD5Final'; expected 0, have 2 478 | MD5Final(digest, &ctx); | ^~~~~~~~ ~~~~~~ md5.h:62:6: note: declared here 62 | void MD5Final (); | ^~~~~~~~ l2tp_avp.c:485:25: error: too many arguments to function 'MD5Init'; expected 0, have 1 485 | MD5Init(&ctx); | ^~~~~~~ ~~~~ md5.h:60:6: note: declared here 60 | void MD5Init (); | ^~~~~~~ l2tp_avp.c:486:25: error: too many arguments to function 'MD5Update'; expected 0, have 3 486 | MD5Update(&ctx, secret, secret_len); | ^~~~~~~~~ ~~~~ md5.h:61:6: note: declared here 61 | void MD5Update (); | ^~~~~~~~~ l2tp_avp.c:487:25: error: too many arguments to function 'MD5Update'; expected 0, have 3 487 | MD5Update(&ctx, &data[buffer_pos] - 16, 16); | ^~~~~~~~~ ~~~~ md5.h:61:6: note: declared here 61 | void MD5Update (); | ^~~~~~~~~ l2tp_avp.c:488:25: error: too many arguments to function 'MD5Final'; expected 0, have 2 488 | MD5Final(digest, &ctx); | ^~~~~~~~ ~~~~~~ md5.h:62:6: note: declared here 62 | void MD5Final (); | ^~~~~~~~ make: *** [Makefile:275: l2tp_avp.o] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.I4QaSU (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.I4QaSU (%build) I: [iurt_root_command] ERROR: chroot