Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pexpect.spec'], chrootPath='/var/lib/mock/777979-epel-7-x86_64-1531794880.362831/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jnk98c2e:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '387624ee6ed34f488b4ee3ae83ec8c6f', '-D', '/var/lib/mock/777979-epel-7-x86_64-1531794880.362831/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jnk98c2e:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pexpect.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-pexpect-4.3.1-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-pexpect.spec'], chrootPath='/var/lib/mock/777979-epel-7-x86_64-1531794880.362831/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jnk98c2e:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '42ac01333b08484a8b370bd2a1f3b122', '-D', '/var/lib/mock/777979-epel-7-x86_64-1531794880.362831/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jnk98c2e:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-pexpect.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MtXCzy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-pexpect-4.3.1 + /usr/bin/mkdir -p python-pexpect-4.3.1 + cd python-pexpect-4.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pexpect-4.3.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv pexpect-4.3.1 python2 + chmod +x python2/tools/display-fpathconf.py python2/tools/display-maxcanon.py python2/tools/display-sighandlers.py python2/tools/display-terminalinfo.py python2/tools/teamcity-coverage-report.sh python2/tools/teamcity-runtests.sh + find python2/examples -type f + xargs chmod a-x + find python2 -type f -name '*.py' + xargs sed -i '1s|^#!.*|#!/usr/bin/python2|' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ks9IWP + umask 022 + cd /builddir/build/BUILD + cd python-pexpect-4.3.1 + pushd python2 ~/build/BUILD/python-pexpect-4.3.1/python2 ~/build/BUILD/python-pexpect-4.3.1 + 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' BUILDSTDERR: /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' BUILDSTDERR: warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/pexpect copying pexpect/ANSI.py -> build/lib/pexpect copying pexpect/FSM.py -> build/lib/pexpect copying pexpect/__init__.py -> build/lib/pexpect copying pexpect/_async.py -> build/lib/pexpect copying pexpect/exceptions.py -> build/lib/pexpect copying pexpect/expect.py -> build/lib/pexpect copying pexpect/fdpexpect.py -> build/lib/pexpect copying pexpect/popen_spawn.py -> build/lib/pexpect copying pexpect/pty_spawn.py -> build/lib/pexpect copying pexpect/pxssh.py -> build/lib/pexpect copying pexpect/replwrap.py -> build/lib/pexpect copying pexpect/run.py -> build/lib/pexpect copying pexpect/screen.py -> build/lib/pexpect copying pexpect/spawnbase.py -> build/lib/pexpect copying pexpect/utils.py -> build/lib/pexpect copying pexpect/bashrc.sh -> build/lib/pexpect + sleep 1 + popd ~/build/BUILD/python-pexpect-4.3.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.k0B3hb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64 + cd python-pexpect-4.3.1 + pushd python2 ~/build/BUILD/python-pexpect-4.3.1/python2 ~/build/BUILD/python-pexpect-4.3.1 + 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-pexpect-4.3.1-2.el7.x86_64 BUILDSTDERR: /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' BUILDSTDERR: warnings.warn(msg) running install running install_lib creating /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr creating /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/bashrc.sh -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/utils.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/spawnbase.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/screen.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/run.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/replwrap.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/pxssh.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/pty_spawn.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/popen_spawn.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/fdpexpect.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/expect.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/exceptions.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/_async.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/__init__.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/FSM.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect copying build/lib/pexpect/ANSI.py -> /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/spawnbase.py to spawnbase.pyc byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/screen.py to screen.pyc byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/run.py to run.pyc byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/replwrap.py to replwrap.pyc byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/pxssh.py to pxssh.pyc byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/pty_spawn.py to pty_spawn.pyc byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/popen_spawn.py to popen_spawn.pyc byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/fdpexpect.py to fdpexpect.pyc byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/expect.py to expect.pyc byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/exceptions.py to exceptions.pyc byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/_async.py to _async.pyc BUILDSTDERR: File "/usr/lib/python2.7/site-packages/pexpect/_async.py", line 18 BUILDSTDERR: transport, pw = yield from asyncio.get_event_loop()\ BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/FSM.py to FSM.pyc byte-compiling /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/ANSI.py to ANSI.pyc writing byte-compilation script '/tmp/tmpXO5YuA.py' /usr/bin/python2 -O /tmp/tmpXO5YuA.py BUILDSTDERR: File "/usr/lib/python2.7/site-packages/pexpect/_async.py", line 18 BUILDSTDERR: transport, pw = yield from asyncio.get_event_loop()\ BUILDSTDERR: ^ BUILDSTDERR: SyntaxError: invalid syntax removing /tmp/tmpXO5YuA.py running install_egg_info Writing /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect-4.3.1-py2.7.egg-info + rm -rf /usr/lib/python2.7/site-packages/setuptools/tests + rm -f /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/lib/python2.7/site-packages/pexpect/_async.py + popd ~/build/BUILD/python-pexpect-4.3.1 + /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/python-pexpect-4.3.1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. BUILDSTDERR: 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-pexpect-4.3.1-2.el7.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: python2-pexpect-4.3.1-2.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WiNNay + umask 022 + cd /builddir/build/BUILD + cd python-pexpect-4.3.1 + DOCDIR=/builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/share/doc/python2-pexpect-4.3.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/share/doc/python2-pexpect-4.3.1 + cp -pr python2/doc /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/share/doc/python2-pexpect-4.3.1 + cp -pr python2/examples /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/share/doc/python2-pexpect-4.3.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Ekt75U + umask 022 + cd /builddir/build/BUILD + cd python-pexpect-4.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/share/licenses/python2-pexpect-4.3.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/share/licenses/python2-pexpect-4.3.1 + cp -pr python2/LICENSE /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64/usr/share/licenses/python2-pexpect-4.3.1 + exit 0 Provides: pexpect = 4.3.1-2.el7 python-pexpect = 4.3.1-2.el7 python2-pexpect = 4.3.1-2.el7 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 Obsoletes: python-pexpect < 4.3.1-2.el7 pexpect <= 2.3-20 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64 Wrote: /builddir/build/RPMS/python2-pexpect-4.3.1-2.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2McCrK + umask 022 + cd /builddir/build/BUILD + cd python-pexpect-4.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pexpect-4.3.1-2.el7.x86_64 + exit 0 Child return code was: 0