D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/baz/rpmbuild/SRPMS/uhd-4.9.0.1-1.mga.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.NPj3Ie Executing(%prep): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.vZodr7 + umask 022 + cd /home/baz/rpmbuild/BUILD/uhd-4.9.0.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/baz/rpmbuild/BUILD/uhd-4.9.0.1-build + rm -rf uhd-4.9.0.1 + /usr/lib/rpm/rpmuncompress -x /home/baz/rpmbuild/SOURCES/uhd-4.9.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd uhd-4.9.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/baz/rpmbuild/SOURCES/uhd-cmake.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f 1 out of 1 hunk FAILED -- saving rejects to file host/cmake/Modules/CMakeRC.cmake.rej 1 out of 1 hunk FAILED -- saving rejects to file mpm/CMakeLists.txt.rej error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.vZodr7 (%prep) RPM build errors: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.vZodr7 (%prep) I: [iurt_root_command] ERROR: chroot