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.2jQOvt + 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-3.4.0-mga-pic14devices.txt.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/baz/rpmbuild/SOURCES/sdcc-3.5.0-mga-format_security-macro.c.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f The text leading up to this was: -------------------------- |diff -ur sdcc_o/support/cpp/libcpp/macro.c sdcc/support/cpp/libcpp/macro.c |--- sdcc_o/support/cpp/libcpp/macro.c 2015-10-18 15:40:24.000000000 +0100 |+++ sdcc/support/cpp/libcpp/macro.c 2016-01-28 16:13:40.277201235 +0000 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.2jQOvt (%prep) RPM build errors: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.2jQOvt (%prep) I: [iurt_root_command] ERROR: chroot