D: [iurt_root_command] chroot warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/ttyrec-1.0.8-8.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ozbZ2Y + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf ttyrec-1.0.8 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/ttyrec-1.0.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ttyrec-1.0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/ttyrec-1.0.8-deb-ttyrex-debian-patches-from-ttyrex.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.1GYTD0 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd ttyrec-1.0.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 gcc -O2 -g -fomit-frame-pointer -Wall -DSVR4 -D_GNU_SOURCE -c -o ttyrec.o ttyrec.c ttyrec.c:64:10: fatal error: stropts.h: No such file or directory 64 | #include | ^~~~~~~~~~~ compilation terminated. make: *** [: ttyrec.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -O2 -g -fomit-frame-pointer -Wall -DSVR4 -D_GNU_SOURCE -c -o ttytime.o ttytime.c ttytime.c: In function 'calc_time': ttytime.c:57:26: warning: 'end.tv.tv_sec' may be used uninitialized in this function [-Wmaybe-uninitialized] 57 | return end.tv.tv_sec - start.tv.tv_sec; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ gcc -O2 -g -fomit-frame-pointer -Wall -DSVR4 -D_GNU_SOURCE -c -o io.o io.c gcc -O2 -g -fomit-frame-pointer -Wall -DSVR4 -D_GNU_SOURCE -c -o ttyplay.o ttyplay.c error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.1GYTD0 (%build) RPM build errors: %make is deprecated, use %make_build instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.1GYTD0 (%build) I: [iurt_root_command] ERROR: chroot