D: [iurt_root_command] chroot Installing /home/baz/rpmbuild/SRPMS/sdcc-4.4.0-1.mga.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.irLWid + umask 022 + cd /home/baz/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/baz/rpmbuild/BUILD + rm -rf sdcc-4.4.0 + /usr/lib/rpm/rpmuncompress -x /home/baz/rpmbuild/SOURCES/sdcc-doc-4.4.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /home/baz/rpmbuild/SOURCES/sdcc-src-4.4.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd sdcc-4.4.0 + rm -rf /home/baz/rpmbuild/BUILD/sdcc-4.4.0-SPECPARTS + /usr/bin/mkdir -p /home/baz/rpmbuild/BUILD/sdcc-4.4.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/baz/rpmbuild/SOURCES/sdcc-4.4.0-mga-autoconf-2.72.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f 1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.irLWid (%prep) RPM build errors: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.irLWid (%prep) I: [iurt_root_command] ERROR: chroot