D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/baz/rpmbuild/SRPMS/klog-2.5-0.23.mga.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.CTZO4H Executing(%prep): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.4ZlQbt + umask 022 + cd /home/baz/rpmbuild/BUILD/klog-2.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/baz/rpmbuild/BUILD/klog-2.5-build + rm -rf klog-2.5 + /usr/lib/rpm/rpmuncompress -x /home/baz/rpmbuild/SOURCES/klog-2.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd klog-2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/baz/rpmbuild/SOURCES/klog-040426.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/baz/rpmbuild/SOURCES/lazy_load.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f 1 out of 1 hunk FAILED -- saving rejects to file src/mainwindow.cpp.rej 4 out of 4 hunks FAILED -- saving rejects to file src/mainwindow.cpp.rej 12 out of 12 hunks FAILED -- saving rejects to file src/dataproxy_sqlite.cpp.rej 1 out of 1 hunk FAILED -- saving rejects to file src/mainwindow.cpp.rej 1 out of 1 hunk FAILED -- saving rejects to file src/mainwindow.cpp.rej 1 out of 1 hunk FAILED -- saving rejects to file src/dataproxy_sqlite.cpp.rej 1 out of 1 hunk FAILED -- saving rejects to file src/dataproxy_sqlite.cpp.rej 1 out of 1 hunk FAILED -- saving rejects to file src/dataproxy_sqlite.cpp.rej error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.4ZlQbt (%prep) RPM build errors: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.4ZlQbt (%prep) I: [iurt_root_command] ERROR: chroot