Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/productmd.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-8592/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/productmd.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-751104390 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/productmd-1.0-1.el7.centos.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/productmd.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-8592/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/productmd.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.Ud94Lr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf productmd-1.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/productmd-1.0.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd productmd-1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FNvVc0 + umask 022 + cd /builddir/build/BUILD + cd productmd-1.0 + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/productmd copying productmd/__init__.py -> build/lib/productmd copying productmd/treeinfo.py -> build/lib/productmd copying productmd/images.py -> build/lib/productmd copying productmd/rpms.py -> build/lib/productmd copying productmd/composeinfo.py -> build/lib/productmd copying productmd/common.py -> build/lib/productmd copying productmd/discinfo.py -> build/lib/productmd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MTiDLy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64 + cd productmd-1.0 + rm -rf /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64 creating /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd copying build/lib/productmd/discinfo.py -> /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd copying build/lib/productmd/common.py -> /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd copying build/lib/productmd/composeinfo.py -> /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd copying build/lib/productmd/rpms.py -> /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd copying build/lib/productmd/images.py -> /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd copying build/lib/productmd/treeinfo.py -> /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd copying build/lib/productmd/__init__.py -> /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd byte-compiling /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd/discinfo.py to discinfo.pyc byte-compiling /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd/common.py to common.pyc byte-compiling /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd/composeinfo.py to composeinfo.pyc byte-compiling /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd/rpms.py to rpms.pyc byte-compiling /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd/images.py to images.pyc byte-compiling /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd/treeinfo.py to treeinfo.pyc byte-compiling /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpUt2JJb.py' /usr/bin/python -O /tmp/tmpUt2JJb.py removing /tmp/tmpUt2JJb.py running install_egg_info running egg_info writing productmd.egg-info/PKG-INFO writing top-level names to productmd.egg-info/top_level.txt writing dependency_links to productmd.egg-info/dependency_links.txt reading manifest file 'productmd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'productmd.egg-info/SOURCES.txt' Copying productmd.egg-info to /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/productmd-1.0-py2.7.egg-info running install_scripts + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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/productmd-1.0-1.el7.centos.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: productmd-1.0-1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.n0fL07 + umask 022 + cd /builddir/build/BUILD + cd productmd-1.0 + DOCDIR=/builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/share/doc/productmd-1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/share/doc/productmd-1.0 + cp -pr AUTHORS /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.x86_64/usr/share/doc/productmd-1.0 + exit 0 Provides: productmd = 1.0-1.el7.centos 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/productmd-1.0-1.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-751104390 Wrote: /builddir/build/RPMS/productmd-1.0-1.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qg9h7h + umask 022 + cd /builddir/build/BUILD + cd productmd-1.0 + rm -rf /builddir/build/BUILDROOT/productmd-1.0-1.el7.centos.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 -->