Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-django-cors-headers.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-8292/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-django-cors-headers.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False error: Macro %py2_install has unterminated body error: Macro %py2_install has unterminated body warning: Could not canonicalize hostname: copr-builder-545923191 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-django-cors-headers-1.0.0-1.el7eng.src.rpm error: Macro %py2_install has unterminated body error: Macro %py2_install has unterminated body Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-django-cors-headers.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-8292/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-django-cors-headers.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False error: Macro %py2_install has unterminated body error: Macro %py2_install has unterminated body Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5M21eF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf django-cors-headers-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/django-cors-headers-1.0.0.tar.gz + /usr/bin/tar -xvvf - drwxrwxr-x chengyu/chengyu 0 2015-07-01 09:32 django-cors-headers-1.0.0/ drwxrwxr-x chengyu/chengyu 0 2015-07-01 09:32 django-cors-headers-1.0.0/corsheaders/ -rw-rw-r-- chengyu/chengyu 1047 2014-12-13 06:35 django-cors-headers-1.0.0/corsheaders/defaults.py -rw-rw-r-- chengyu/chengyu 10729 2014-07-04 06:08 django-cors-headers-1.0.0/corsheaders/tests.py -rwxrwxr-x chengyu/chengyu 3299 2014-12-13 06:35 django-cors-headers-1.0.0/corsheaders/middleware.py -rw-rw-r-- chengyu/chengyu 105 2014-07-04 06:08 django-cors-headers-1.0.0/corsheaders/models.py -rwxrwxr-x chengyu/chengyu 22 2014-12-13 06:35 django-cors-headers-1.0.0/corsheaders/__init__.py drwxrwxr-x chengyu/chengyu 0 2015-07-01 09:32 django-cors-headers-1.0.0/django_cors_headers.egg-info/ -rw-rw-r-- chengyu/chengyu 12 2015-07-01 09:32 django-cors-headers-1.0.0/django_cors_headers.egg-info/top_level.txt -rw-rw-r-- chengyu/chengyu 1215 2015-07-01 09:32 django-cors-headers-1.0.0/django_cors_headers.egg-info/PKG-INFO -rw-rw-r-- chengyu/chengyu 307 2015-07-01 09:32 django-cors-headers-1.0.0/django_cors_headers.egg-info/SOURCES.txt -rw-rw-r-- chengyu/chengyu 1 2015-07-01 09:32 django-cors-headers-1.0.0/django_cors_headers.egg-info/dependency_links.txt -rwxrwxr-x chengyu/chengyu 1434 2014-08-14 04:41 django-cors-headers-1.0.0/setup.py -rw-rw-r-- chengyu/chengyu 1215 2015-07-01 09:32 django-cors-headers-1.0.0/PKG-INFO -rw-rw-r-- chengyu/chengyu 59 2015-07-01 09:32 django-cors-headers-1.0.0/setup.cfg + STATUS=0 + '[' 0 -ne 0 ']' + cd django-cors-headers-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5ynbnx + umask 022 + cd /builddir/build/BUILD + cd django-cors-headers-1.0.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bBHxvp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64 ++ dirname /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64 + cd django-cors-headers-1.0.0 + /usr/bin/python setup.py install -O1 --root=/builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64 --record=INSTALLED_FILES running install running build running build_py creating build creating build/lib creating build/lib/corsheaders copying corsheaders/__init__.py -> build/lib/corsheaders copying corsheaders/models.py -> build/lib/corsheaders copying corsheaders/middleware.py -> build/lib/corsheaders copying corsheaders/tests.py -> build/lib/corsheaders copying corsheaders/defaults.py -> build/lib/corsheaders running install_lib creating /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr creating /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7/site-packages/corsheaders copying build/lib/corsheaders/defaults.py -> /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7/site-packages/corsheaders copying build/lib/corsheaders/tests.py -> /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7/site-packages/corsheaders copying build/lib/corsheaders/middleware.py -> /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7/site-packages/corsheaders copying build/lib/corsheaders/models.py -> /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7/site-packages/corsheaders copying build/lib/corsheaders/__init__.py -> /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7/site-packages/corsheaders byte-compiling /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7/site-packages/corsheaders/defaults.py to defaults.pyc byte-compiling /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7/site-packages/corsheaders/tests.py to tests.pyc byte-compiling /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7/site-packages/corsheaders/middleware.py to middleware.pyc byte-compiling /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7/site-packages/corsheaders/models.py to models.pyc byte-compiling /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7/site-packages/corsheaders/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpExZLKI.py' /usr/bin/python -O /tmp/tmpExZLKI.py removing /tmp/tmpExZLKI.py running install_egg_info running egg_info writing django_cors_headers.egg-info/PKG-INFO writing top-level names to django_cors_headers.egg-info/top_level.txt writing dependency_links to django_cors_headers.egg-info/dependency_links.txt reading manifest file 'django_cors_headers.egg-info/SOURCES.txt' writing manifest file 'django_cors_headers.egg-info/SOURCES.txt' Copying django_cors_headers.egg-info to /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7/site-packages/django_cors_headers-1.0.0-py2.7.egg-info running install_scripts writing list of installed files to 'INSTALLED_FILES' + egg_info='/builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64//usr/lib/python2.7/site-packages/django_cors_headers*.egg-info' + '[' -f /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64//usr/lib/python2.7/site-packages/django_cors_headers-1.0.0-py2.7.egg-info ']' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/django-cors-headers-1.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: python-django-cors-headers-1.0.0-1.el7eng.noarch Provides: python-django-cors-headers = 1.0.0-1.el7eng Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64 warning: Could not canonicalize hostname: copr-builder-545923191 Wrote: /builddir/build/RPMS/python-django-cors-headers-1.0.0-1.el7eng.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XxeEZb + umask 022 + cd /builddir/build/BUILD + cd django-cors-headers-1.0.0 + rm -rf /builddir/build/BUILDROOT/python-django-cors-headers-1.0.0-1.el7eng.x86_64 + exit 0 error: Macro %py2_install has unterminated body error: Macro %py2_install has unterminated body Child return code was: 0 LEAVE do -->