D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/c2050-0.4-18.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IfDKEW + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf c2050-0.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/c2050-0.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd c2050-0.4 + rm -rf /home/pterjan/rpmbuild/BUILD/c2050-0.4-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/c2050-0.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/c2050-0.3-looplimits.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/pterjan/rpmbuild/tmp/rpm-tmp.w0RD8o + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd c2050-0.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + gcc -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 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -o c2050 c2050.c c2050.c: In function 'ClearBuffer': c2050.c:65:12: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 65 | register i; | ^ c2050.c: At top level: c2050.c:72:1: error: return type defaults to 'int' [-Wimplicit-int] 72 | SweepBuffer_Init (struct tSweepBuffer *SweepBuffer, int bytesize) | ^~~~~~~~~~~~~~~~ c2050.c: In function 'PrintSweep': c2050.c:149:12: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 149 | register i; | ^ c2050.c: In function 'LineSum': c2050.c:178:12: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 178 | register i = 0; | ^ error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.w0RD8o (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.w0RD8o (%build) I: [iurt_root_command] ERROR: chroot