+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/python-gevent.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.EnvSSk
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf gevent-1.2.2
+ /usr/bin/gzip -dc /builddir/build/SOURCES/gevent-1.2.2.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gevent-1.2.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /builddir/build/SOURCES/0001-always-obey-GEVENT_NO_CFFI_BUILD.patch
+ /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch
+ rm -r deps
+ sed -i -e s/include_package_data=True/include_package_data=False/ setup.py
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kysXce
+ umask 022
+ cd /builddir/build/BUILD
+ cd gevent-1.2.2
+ export LIBEV_EMBED=0
+ LIBEV_EMBED=0
+ export CARES_EMBED=0
+ CARES_EMBED=0
+ export GEVENT_NO_CFFI_BUILD=1
+ GEVENT_NO_CFFI_BUILD=1
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/include/libev'
+ /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s'
Traceback (most recent call last):
  File "setup.py", line 7, in <module>
    from _setuputils import read
  File "/builddir/build/BUILD/gevent-1.2.2/_setuputils.py", line 17, in <module>
    from setuptools.command.build_ext import build_ext
ImportError: No module named setuptools.command.build_ext
error: Bad exit status from /var/tmp/rpm-tmp.kysXce (%build)


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