+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/xz.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.vGCNVz
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf xz-5.2.2
+ /usr/bin/xz -dc /builddir/build/SOURCES/xz-5.2.2.tar.xz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd xz-5.2.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
++ find . -name config.sub
+ for i in `find . -name config.sub`
+ perl -pi -e 's/ppc64-\*/ppc64-\* \| ppc64p7-\*/' ./build-aux/config.sub
/var/tmp/rpm-tmp.vGCNVz: line 43: perl: command not found
error: Bad exit status from /var/tmp/rpm-tmp.vGCNVz (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.vGCNVz (%prep)
++ cleanup
++ set +e
++ sync
++ sleep 5
++ sync
++ poweroff
Terminated
+++ cleanup
+++ set +e
+++ sync
Terminated
++++ cleanup
++++ set +e
++++ sync
++++ sleep 5
++++ sync
++++ poweroff