D: [iurt_root_command] chroot warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/cpulimit-1.2-0.git20120716.8.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.CML7c1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf cpulimit-git20120716 + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/cpulimit-git20120716.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cpulimit-git20120716 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ECIoa0 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd cpulimit-git20120716 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 cd src && /usr/bin/make all make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/cpulimit-git20120716/src' cc -c list.c -Wall -g -D_GNU_SOURCE make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/cpulimit-git20120716/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/cpulimit-git20120716/src' cc -c process_iterator.c -Wall -g -D_GNU_SOURCE make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/cpulimit-git20120716/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/cpulimit-git20120716/src' cc -c process_group.c -Wall -g -D_GNU_SOURCE make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/cpulimit-git20120716/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/cpulimit-git20120716/src' cc -o cpulimit cpulimit.c list.o process_iterator.o process_group.o -Wall -g -D_GNU_SOURCE cpulimit.c:41:10: fatal error: sys/sysctl.h: No such file or directory 41 | #include | ^~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:15: cpulimit] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/cpulimit-git20120716/src' make: *** [Makefile:4: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ECIoa0 (%build) RPM build errors: %make is deprecated, use %make_build instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ECIoa0 (%build) I: [iurt_root_command] ERROR: chroot