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-ply.spec'], chrootPath='/var/lib/mock/centos7-rutgers-staging-build-5303-8300/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-ply.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 sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python3: No such file or directory sh: /usr/bin/python3: No such file or directory warning: Could not canonicalize hostname: opus3 Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-ply-3.8-4.ru7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-ply.spec'], chrootPath='/var/lib/mock/centos7-rutgers-staging-build-5303-8300/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-ply.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 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Jza2Bw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-ply-3.8 + /usr/bin/mkdir -p python-ply-3.8 + cd python-ply-3.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/ply-3.8.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv ply-3.8 python2 + find python2/example/ -type f -exec chmod -x '{}' ';' + find python2/example/ -type f -name '*.py' -exec sed -i -e '1{\@^#!/usr/bin/env python@d}' -e '1{\@^#!/usr/local/bin/python@d}' '{}' ';' + rm -rf python2/ply.egg-info + cp -ai python2 python3 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SUrXpl + umask 022 + cd /builddir/build/BUILD + cd python-ply-3.8 + pushd python2 ~/build/BUILD/python-ply-3.8/python2 ~/build/BUILD/python-ply-3.8 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/ply copying ply/__init__.py -> build/lib/ply copying ply/cpp.py -> build/lib/ply copying ply/ctokens.py -> build/lib/ply copying ply/lex.py -> build/lib/ply copying ply/yacc.py -> build/lib/ply copying ply/ygen.py -> build/lib/ply ~/build/BUILD/python-ply-3.8 ~/build/BUILD/python-ply-3.8/python3 ~/build/BUILD/python-ply-3.8 + popd + pushd python3 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/ply copying ply/__init__.py -> build/lib/ply copying ply/cpp.py -> build/lib/ply copying ply/ctokens.py -> build/lib/ply copying ply/lex.py -> build/lib/ply copying ply/yacc.py -> build/lib/ply copying ply/ygen.py -> build/lib/ply ~/build/BUILD/python-ply-3.8 + popd + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.A5D3Lb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch ++ dirname /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch + cd python-ply-3.8 + pushd python2 ~/build/BUILD/python-ply-3.8/python2 ~/build/BUILD/python-ply-3.8 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr creating /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply copying build/lib/ply/__init__.py -> /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply copying build/lib/ply/cpp.py -> /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply copying build/lib/ply/ctokens.py -> /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply copying build/lib/ply/lex.py -> /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply copying build/lib/ply/yacc.py -> /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply copying build/lib/ply/ygen.py -> /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply byte-compiling /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply/cpp.py to cpp.pyc byte-compiling /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply/ctokens.py to ctokens.pyc byte-compiling /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply/lex.py to lex.pyc byte-compiling /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply/yacc.py to yacc.pyc byte-compiling /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply/ygen.py to ygen.pyc writing byte-compilation script '/tmp/tmpHduod4.py' /usr/bin/python2 -O /tmp/tmpHduod4.py removing /tmp/tmpHduod4.py running install_egg_info running egg_info creating ply.egg-info writing ply.egg-info/PKG-INFO writing top-level names to ply.egg-info/top_level.txt writing dependency_links to ply.egg-info/dependency_links.txt writing manifest file 'ply.egg-info/SOURCES.txt' reading manifest file 'ply.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'ply.egg-info/SOURCES.txt' Copying ply.egg-info to /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python2.7/site-packages/ply-3.8-py2.7.egg-info running install_scripts ~/build/BUILD/python-ply-3.8 ~/build/BUILD/python-ply-3.8/python3 ~/build/BUILD/python-ply-3.8 + popd + pushd python3 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4 creating /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages creating /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply copying build/lib/ply/__init__.py -> /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply copying build/lib/ply/cpp.py -> /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply copying build/lib/ply/ctokens.py -> /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply copying build/lib/ply/lex.py -> /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply copying build/lib/ply/yacc.py -> /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply copying build/lib/ply/ygen.py -> /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply byte-compiling /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply/__init__.py to __init__.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply/cpp.py to cpp.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply/ctokens.py to ctokens.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply/lex.py to lex.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply/yacc.py to yacc.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply/ygen.py to ygen.cpython-34.pyc writing byte-compilation script '/tmp/tmpsqf8d_54.py' /usr/bin/python3 -O /tmp/tmpsqf8d_54.py removing /tmp/tmpsqf8d_54.py running install_egg_info running egg_info creating ply.egg-info writing top-level names to ply.egg-info/top_level.txt writing ply.egg-info/PKG-INFO writing dependency_links to ply.egg-info/dependency_links.txt writing manifest file 'ply.egg-info/SOURCES.txt' reading manifest file 'ply.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'ply.egg-info/SOURCES.txt' Copying ply.egg-info to /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4/site-packages/ply-3.8-py3.4.egg-info running install_scripts ~/build/BUILD/python-ply-3.8 + popd + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/python-ply-3.8 /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-ply-3.8-4.ru7.noarch/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/lib/python3.4 using /usr/bin/python3.4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.oW1TK7 + umask 022 + cd /builddir/build/BUILD + cd python-ply-3.8 + pushd python2/test ~/build/BUILD/python-ply-3.8/python2/test ~/build/BUILD/python-ply-3.8 + ./cleanup.sh + /usr/bin/python2 testlex.py .......................................... ---------------------------------------------------------------------- Ran 42 tests in 1.659s OK + /usr/bin/python2 testyacc.py .......................................... ---------------------------------------------------------------------- Ran 42 tests in 0.317s OK ~/build/BUILD/python-ply-3.8 ~/build/BUILD/python-ply-3.8/python3/test ~/build/BUILD/python-ply-3.8 + popd + pushd python3/test + ./cleanup.sh + /usr/bin/python3 testlex.py .......................................... ---------------------------------------------------------------------- Ran 42 tests in 2.280s OK + /usr/bin/python3 testyacc.py .......................................... ---------------------------------------------------------------------- Ran 42 tests in 0.451s OK ~/build/BUILD/python-ply-3.8 + popd + exit 0 Processing files: python-ply-3.8-4.ru7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MQi90h + umask 022 + cd /builddir/build/BUILD + cd python-ply-3.8 + DOCDIR=/builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/share/doc/python-ply-3.8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/share/doc/python-ply-3.8 + cp -pr python2/CHANGES /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/share/doc/python-ply-3.8 + exit 0 Provides: python-ply = 3.8-4.ru7 python2-ply = 3.8-4.ru7 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 Processing files: python3-ply-3.8-4.ru7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uzktct + umask 022 + cd /builddir/build/BUILD + cd python-ply-3.8 + DOCDIR=/builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/share/doc/python3-ply-3.8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/share/doc/python3-ply-3.8 + cp -pr python3/CHANGES /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch/usr/share/doc/python3-ply-3.8 + exit 0 Provides: python3-ply = 3.8-4.ru7 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.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch warning: Could not canonicalize hostname: opus3 Wrote: /builddir/build/RPMS/python-ply-3.8-4.ru7.noarch.rpm Wrote: /builddir/build/RPMS/python3-ply-3.8-4.ru7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cmzvI4 + umask 022 + cd /builddir/build/BUILD + cd python-ply-3.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-ply-3.8-4.ru7.noarch + exit 0 Child return code was: 0