D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/openl2tp-1.8-29.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Tn0xyd sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QlL7cU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/openl2tp-1.8-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/openl2tp-1.8-build + rm -rf openl2tp-1.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/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/pterjan/rpmbuild/SOURCES/openl2tp-1.8-make.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/no-Werror.pach + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/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/pterjan/rpmbuild/SOURCES/openl2tp-tirpc.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/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 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XLT4q5 + umask 022 + cd /home/pterjan/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/pterjan/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/pterjan/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/pterjan/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 cli_readline.c: In function 'cli_rl_set_prompt': cli_readline.c:526:9: error: too many arguments to function 'rl_message'; expected 0, have 1 526 | rl_message("\n"); | ^~~~~~~~~~ ~~~~ In file included from cli_readline.c:29: /usr/include/readline/readline.h:411:12: note: declared here 411 | extern int rl_message (); | ^~~~~~~~~~ make[1]: *** [Makefile:31: cli_readline.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/openl2tp-1.8-build/openl2tp-1.8/cli' make: *** [Makefile:201: subdir-cli] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XLT4q5 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XLT4q5 (%build) I: [iurt_root_command] ERROR: chroot