Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-mechanize.spec'], chrootPath='/var/lib/mock/791354-epel-7-x86_64-1535366982.251537/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']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'da6f9ffc7e2546f4a55fcccb04fb0611', '-D', '/var/lib/mock/791354-epel-7-x86_64-1535366982.251537/root', '-a', '--capability=cap_ipc_lock', '--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-mechanize.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-mechanize-0.3.5-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-mechanize.spec'], chrootPath='/var/lib/mock/791354-epel-7-x86_64-1535366982.251537/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']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a84b4b86c802487c8b5b473571759c19', '-D', '/var/lib/mock/791354-epel-7-x86_64-1535366982.251537/root', '-a', '--capability=cap_ipc_lock', '--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-mechanize.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.YzD18i + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mechanize-0.3.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.3.5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mechanize-0.3.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -x examples/forms/echo.cgi examples/forms/example.py examples/forms/simple.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QhUYkW + umask 022 + cd /builddir/build/BUILD + cd mechanize-0.3.5 + 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/mechanize copying mechanize/_version.py -> build/lib/mechanize copying mechanize/_util.py -> build/lib/mechanize copying mechanize/_useragent.py -> build/lib/mechanize copying mechanize/_urllib2_fork.py -> build/lib/mechanize copying mechanize/_urllib2.py -> build/lib/mechanize copying mechanize/_testcase.py -> build/lib/mechanize copying mechanize/_sockettimeout.py -> build/lib/mechanize copying mechanize/_rfc3986.py -> build/lib/mechanize copying mechanize/_response.py -> build/lib/mechanize copying mechanize/_request.py -> build/lib/mechanize copying mechanize/_opener.py -> build/lib/mechanize copying mechanize/_mechanize.py -> build/lib/mechanize copying mechanize/_http.py -> build/lib/mechanize copying mechanize/_html.py -> build/lib/mechanize copying mechanize/_headersutil.py -> build/lib/mechanize copying mechanize/_gzip.py -> build/lib/mechanize copying mechanize/_form_controls.py -> build/lib/mechanize copying mechanize/_form.py -> build/lib/mechanize copying mechanize/_equiv.py -> build/lib/mechanize copying mechanize/_entities.py -> build/lib/mechanize copying mechanize/_debug.py -> build/lib/mechanize copying mechanize/_clientcookie.py -> build/lib/mechanize copying mechanize/_auth.py -> build/lib/mechanize copying mechanize/__init__.py -> build/lib/mechanize + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4J5ZFD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64 + cd mechanize-0.3.5 + 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-mechanize-0.3.5-2.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr creating /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/__init__.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_auth.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_clientcookie.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_debug.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_entities.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_equiv.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_form.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_form_controls.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_gzip.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_headersutil.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_html.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_http.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_mechanize.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_opener.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_request.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_response.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_rfc3986.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_sockettimeout.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_testcase.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_urllib2.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_urllib2_fork.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_useragent.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_util.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize copying build/lib/mechanize/_version.py -> /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_auth.py to _auth.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_clientcookie.py to _clientcookie.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_debug.py to _debug.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_entities.py to _entities.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_equiv.py to _equiv.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_form.py to _form.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_form_controls.py to _form_controls.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_gzip.py to _gzip.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_headersutil.py to _headersutil.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_html.py to _html.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_http.py to _http.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_mechanize.py to _mechanize.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_opener.py to _opener.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_request.py to _request.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_response.py to _response.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_rfc3986.py to _rfc3986.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_sockettimeout.py to _sockettimeout.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_testcase.py to _testcase.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_urllib2.py to _urllib2.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_urllib2_fork.py to _urllib2_fork.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_useragent.py to _useragent.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_util.py to _util.pyc byte-compiling /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize/_version.py to _version.pyc writing byte-compilation script '/tmp/tmp6KR09S.py' /usr/bin/python2 -O /tmp/tmp6KR09S.py removing /tmp/tmp6KR09S.py running install_egg_info running egg_info creating mechanize.egg-info writing requirements to mechanize.egg-info/requires.txt writing mechanize.egg-info/PKG-INFO writing top-level names to mechanize.egg-info/top_level.txt writing dependency_links to mechanize.egg-info/dependency_links.txt writing manifest file 'mechanize.egg-info/SOURCES.txt' reading manifest file 'mechanize.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'mechanize.egg-info/SOURCES.txt' Copying mechanize.egg-info to /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/lib/python2.7/site-packages/mechanize-0.3.5-py2.7.egg-info running install_scripts + /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/mechanize-0.3.5 /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-mechanize-0.3.5-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-mechanize-0.3.5-2.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SeGqEn + umask 022 + cd /builddir/build/BUILD + cd mechanize-0.3.5 + DOCDIR=/builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/share/doc/python2-mechanize-0.3.5 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/share/doc/python2-mechanize-0.3.5 + cp -pr README.rst /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/share/doc/python2-mechanize-0.3.5 + cp -pr ChangeLog /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/share/doc/python2-mechanize-0.3.5 + cp -pr COPYRIGHT /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/share/doc/python2-mechanize-0.3.5 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ynP2E7 + umask 022 + cd /builddir/build/BUILD + cd mechanize-0.3.5 + LICENSEDIR=/builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/share/licenses/python2-mechanize-0.3.5 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/share/licenses/python2-mechanize-0.3.5 + cp -pr LICENSE /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64/usr/share/licenses/python2-mechanize-0.3.5 + exit 0 Provides: python-mechanize = 0.3.5-2.el7 python2-mechanize = 0.3.5-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-mechanize < 0.3.5-2.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64 Wrote: /builddir/build/RPMS/python2-mechanize-0.3.5-2.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Q2LXjJ + umask 022 + cd /builddir/build/BUILD + cd mechanize-0.3.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-mechanize-0.3.5-2.el7.x86_64 + exit 0 Child return code was: 0