Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-extras.spec'], chrootPath='/var/lib/mock/centos6-rutgers-staging-build-5360-8400/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=86400logger=uid=486) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-extras.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 warning: Could not canonicalize hostname: opus3 Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-extras-0.0.3-2.ru6.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-extras.spec'], chrootPath='/var/lib/mock/centos6-rutgers-staging-build-5360-8400/root'shell=Falseuid=486env={'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=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-extras.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 % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YxwXXg + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf extras-0.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/extras-0.0.3.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd extras-0.0.3 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf /builddir/build/BUILD/python3-python-extras-0.0.3-2.ru6 + cp -a . /builddir/build/BUILD/python3-python-extras-0.0.3-2.ru6 + find /builddir/build/BUILD/python3-python-extras-0.0.3-2.ru6 -name '*.py' + xargs sed -i '1s|^#!python|#!/usr/bin/python3|' + find -name '*.py' + xargs sed -i '1s|^#!python|#!/usr/bin/python|' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BzcEfN + umask 022 + cd /builddir/build/BUILD + cd extras-0.0.3 + LANG=C + export LANG + unset DISPLAY + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/extras copying extras/__init__.py -> build/lib/extras creating build/lib/extras/tests copying extras/tests/__init__.py -> build/lib/extras/tests copying extras/tests/test_extras.py -> build/lib/extras/tests + pushd /builddir/build/BUILD/python3-python-extras-0.0.3-2.ru6 ~/build/BUILD/python3-python-extras-0.0.3-2.ru6 ~/build/BUILD/extras-0.0.3 + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/extras copying extras/__init__.py -> build/lib/extras creating build/lib/extras/tests copying extras/tests/__init__.py -> build/lib/extras/tests copying extras/tests/test_extras.py -> build/lib/extras/tests ~/build/BUILD/extras-0.0.3 + popd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ujD3hl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch ++ dirname /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch + cd extras-0.0.3 + LANG=C + export LANG + unset DISPLAY + pushd /builddir/build/BUILD/python3-python-extras-0.0.3-2.ru6 ~/build/BUILD/python3-python-extras-0.0.3-2.ru6 ~/build/BUILD/extras-0.0.3 + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr creating /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib creating /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python3.3 creating /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python3.3/site-packages creating /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python3.3/site-packages/extras copying build/lib/extras/__init__.py -> /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python3.3/site-packages/extras creating /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python3.3/site-packages/extras/tests copying build/lib/extras/tests/__init__.py -> /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python3.3/site-packages/extras/tests copying build/lib/extras/tests/test_extras.py -> /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python3.3/site-packages/extras/tests byte-compiling /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python3.3/site-packages/extras/__init__.py to __init__.cpython-33.pyc byte-compiling /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python3.3/site-packages/extras/tests/__init__.py to __init__.cpython-33.pyc byte-compiling /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python3.3/site-packages/extras/tests/test_extras.py to test_extras.cpython-33.pyc writing byte-compilation script '/tmp/tmp8xkrcn.py' /usr/bin/python3 -O /tmp/tmp8xkrcn.py removing /tmp/tmp8xkrcn.py running install_egg_info running egg_info writing top-level names to extras.egg-info/top_level.txt writing extras.egg-info/PKG-INFO writing dependency_links to extras.egg-info/dependency_links.txt reading manifest file 'extras.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'extras.egg-info/SOURCES.txt' Copying extras.egg-info to /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python3.3/site-packages/extras-0.0.3-py3.3.egg-info running install_scripts ~/build/BUILD/extras-0.0.3 + popd + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python2.6 creating /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python2.6/site-packages creating /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python2.6/site-packages/extras copying build/lib/extras/__init__.py -> /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python2.6/site-packages/extras creating /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python2.6/site-packages/extras/tests copying build/lib/extras/tests/__init__.py -> /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python2.6/site-packages/extras/tests copying build/lib/extras/tests/test_extras.py -> /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python2.6/site-packages/extras/tests byte-compiling /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python2.6/site-packages/extras/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python2.6/site-packages/extras/tests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python2.6/site-packages/extras/tests/test_extras.py to test_extras.pyc writing byte-compilation script '/tmp/tmpd6MiGX.py' /usr/bin/python -O /tmp/tmpd6MiGX.py removing /tmp/tmpd6MiGX.py running install_egg_info running egg_info writing extras.egg-info/PKG-INFO writing top-level names to extras.egg-info/top_level.txt writing dependency_links to extras.egg-info/dependency_links.txt reading manifest file 'extras.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'extras.egg-info/SOURCES.txt' Copying extras.egg-info to /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python2.6/site-packages/extras-0.0.3-py2.6.egg-info running install_scripts + unset DISPLAY + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/extras-0.0.3 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/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python Bytecompiling .py files below /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python3.3 using /usr/bin/python3.3 Bytecompiling .py files below /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/lib/python2.6 using /usr/bin/python2.6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: python-extras-0.0.3-2.ru6.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.m2TbLX + umask 022 + cd /builddir/build/BUILD + cd extras-0.0.3 + DOCDIR=/builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/share/doc/python-extras-0.0.3 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/share/doc/python-extras-0.0.3 + /bin/mkdir -p /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/share/doc/python-extras-0.0.3 + cp -pr LICENSE NEWS README.rst /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/share/doc/python-extras-0.0.3 + exit 0 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.6 Processing files: python3-extras-0.0.3-2.ru6.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wWlSfB + umask 022 + cd /builddir/build/BUILD + cd extras-0.0.3 + DOCDIR=/builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/share/doc/python3-extras-0.0.3 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/share/doc/python3-extras-0.0.3 + /bin/mkdir -p /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/share/doc/python3-extras-0.0.3 + cp -pr LICENSE NEWS README.rst /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch/usr/share/doc/python3-extras-0.0.3 + exit 0 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) = 3.3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch warning: Could not canonicalize hostname: opus3 Wrote: /builddir/build/RPMS/python-extras-0.0.3-2.ru6.noarch.rpm Wrote: /builddir/build/RPMS/python3-extras-0.0.3-2.ru6.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LC6Ukz + umask 022 + cd /builddir/build/BUILD + cd extras-0.0.3 + /bin/rm -rf /builddir/build/BUILDROOT/python-extras-0.0.3-2.ru6.noarch + exit 0 error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) Child return code was: 0