+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/spim.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Vq7jhI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spim-20111122 + /usr/bin/gzip -dc /builddir/build/SOURCES/spimsimulator-spim-20111122.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/mkdir -p spim-20111122 + cd spim-20111122 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + /usr/bin/gzip -dc /builddir/build/SOURCES/spimsimulator-CPU-20111122.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/mkdir -p spim-20111122 + cd spim-20111122 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + /usr/bin/gzip -dc /builddir/build/SOURCES/spimsimulator-Documentation-20111122.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/mkdir -p spim-20111122/spim + cd spim-20111122/spim + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (spimsimulator-Makefile-fix.patch):' Patch #0 (spimsimulator-Makefile-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -u --recursive spim-vanilla/Makefile spim/Makefile |--- spim-vanilla/Makefile 2011-11-22 16:03:37.000000000 -0600 |+++ spim/Makefile 2011-11-22 20:31:46.639818922 -0600 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored error: Bad exit status from /var/tmp/rpm-tmp.Vq7jhI (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Vq7jhI (%prep) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff