D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ippool-1.3-21.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bHrfMC + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ippool-1.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ippool-1.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ippool-1.3 + rm -rf /home/pterjan/rpmbuild/BUILD/ippool-1.3-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ippool-1.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ippool-rm_unused.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ippool-1.3-dso.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ippool-1.3.pppd.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/ippool-tirpc.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5orCpA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ippool-1.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make 'CPPFLAGS=-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 -Wno-error=unused-but-set-variable -I/usr/include/tirpc' '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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768' rm -f ippool_rpc_server.c ippool_rpc_server.c.tmp rpcgen -N -M -C -L -m -o ippool_rpc_server.c.tmp ippool_rpc.x cat ippool_rpc_server.c.tmp | sed -e 's/switch (rqstp->rq_proc) {/if (ippool_api_rpc_check_request(transp) < 0) return; switch (rqstp->rq_proc) {/' > ippool_rpc_server.c rm -f ippool_rpc_client.c rpcgen -N -M -C -L -l -o ippool_rpc_client.c ippool_rpc.x rm -f ippool_rpc_xdr.c rpcgen -N -M -C -L -c -o ippool_rpc_xdr.c ippool_rpc.x rm -f ippool_rpc.h rpcgen -N -M -C -L -h -o ippool_rpc.h ippool_rpc.x gcc -fPIC -fvisibility=hidden -I. -MMD -g -c -w -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 -Wno-error=unused-but-set-variable -I/usr/include/tirpc -O ippool_rpc_xdr.c gcc -fPIC -fvisibility=hidden -I. -MMD -g -c -w -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 -Wno-error=unused-but-set-variable -I/usr/include/tirpc -O ippool_rpc_client.c make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ippool-1.3/usl' 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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768 usl_fd.c -o usl_fd.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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768 usl_misc.c -o usl_misc.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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768 usl_pid.c -o usl_pid.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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768 usl_signal.c -o usl_signal.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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768 usl_timer.c -o usl_timer.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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768 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/ippool-1.3/usl' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ippool-1.3/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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768 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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768 cli_readline.c -o cli_readline.o ar rus libcli.a cli_lib.o cli_readline.o ar: creating libcli.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ippool-1.3/cli' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ippool-1.3/pppd' gcc -o ippool.so -shared -fPIC -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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768 -D_linux_=1 ippool.c ../ippool_rpc_client.o ../ippool_rpc_xdr.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ippool-1.3/pppd' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ippool-1.3/test' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ippool-1.3/test' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/ippool-1.3/doc' gzip --best -c ippoolconfig.1 > ippoolconfig.1.gz gzip --best -c ippool_rpc.4 > ippool_rpc.4.gz gzip --best -c ippoold.8 > ippoold.8.gz make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/ippool-1.3/doc' 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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768 ippool_main.c -o ippool_main.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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768 ippool_api.c -o ippool_api.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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768 ippool_impl.c -o ippool_impl.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 -Wno-error=unused-but-set-variable -Iusl -Icli -I/usr/include/pppd/ -I/usr/include/readline/ -I/usr/include/tirpc -I.. -DUINT_MAX=32768 ippool_test.c -o ippool_test.o gcc -I. -MMD -g -c -w -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 -Wno-error=unused-but-set-variable -I/usr/include/tirpc -O ippool_rpc_server.c ippool_rpc_server.c: In function 'ippool_prog_1': ippool_rpc_server.c:133:13: error: implicit declaration of function 'ippool_api_rpc_check_request' [-Wimplicit-function-declaration] 133 | if (ippool_api_rpc_check_request(transp) < 0) return; switch (rqstp->rq_proc) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:116: ippool_rpc_server.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.5orCpA (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.5orCpA (%build) I: [iurt_root_command] ERROR: chroot