Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-requests.spec'], chrootPath='/var/lib/mock/python-requests-2.6.0-5.el7-20190809020938-21847/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.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=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-requests.spec'] with env {'LANG': 'en_GB.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: i686 Building for target i686 Wrote: /builddir/build/SRPMS/python-requests-2.6.0-5.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/python-requests.spec'], chrootPath='/var/lib/mock/python-requests-2.6.0-5.el7-20190809020938-21847/root'shell=Falseuid=1005env={'LANG': 'en_GB.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=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/python-requests.spec'] with env {'LANG': 'en_GB.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: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.i1qjh7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf requests-2.6.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/requests-2.6.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd requests-2.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (python-requests-system-cert-bundle.patch):' Patch #0 (python-requests-system-cert-bundle.patch): + /usr/bin/cat /builddir/build/SOURCES/python-requests-system-cert-bundle.patch + /usr/bin/patch -p1 --fuzz=0 patching file requests/certs.py Patch #1 (python-requests-remove-nested-bundling-dep.patch): + echo 'Patch #1 (python-requests-remove-nested-bundling-dep.patch):' + /usr/bin/cat /builddir/build/SOURCES/python-requests-remove-nested-bundling-dep.patch + /usr/bin/patch -p1 --fuzz=0 patching file requests/compat.py Hunk #1 succeeded at 39 (offset -52 lines). + echo 'Patch #2 (fix-CVE-2018-18074.patch):' Patch #2 (fix-CVE-2018-18074.patch): + /usr/bin/cat /builddir/build/SOURCES/fix-CVE-2018-18074.patch + /usr/bin/patch -p1 --fuzz=0 patching file requests/sessions.py patching file test_requests.py + rm -rf requests/cacert.pem + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wEh14P + umask 022 + cd /builddir/build/BUILD + cd requests-2.6.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extras_require' warnings.warn(msg) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' warnings.warn(msg) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_package_data' warnings.warn(msg) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/requests copying requests/utils.py -> build/lib/requests copying requests/compat.py -> build/lib/requests copying requests/hooks.py -> build/lib/requests copying requests/cookies.py -> build/lib/requests copying requests/auth.py -> build/lib/requests copying requests/structures.py -> build/lib/requests copying requests/status_codes.py -> build/lib/requests copying requests/exceptions.py -> build/lib/requests copying requests/certs.py -> build/lib/requests copying requests/models.py -> build/lib/requests copying requests/__init__.py -> build/lib/requests copying requests/adapters.py -> build/lib/requests copying requests/sessions.py -> build/lib/requests copying requests/api.py -> build/lib/requests creating build/lib/requests/packages copying requests/packages/__init__.py -> build/lib/requests/packages creating build/lib/requests/packages/chardet copying requests/packages/chardet/big5prober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/chardistribution.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/euctwprober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/compat.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/mbcssm.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/gb2312prober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/charsetprober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/jisfreq.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/langgreekmodel.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/langthaimodel.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/chardetect.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/escsm.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/codingstatemachine.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/euckrfreq.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/utf8prober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/langhungarianmodel.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/eucjpprober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/hebrewprober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/langhebrewmodel.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/__init__.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/jpcntx.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/langbulgarianmodel.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/latin1prober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/euctwfreq.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/sbcharsetprober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/euckrprober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/constants.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/universaldetector.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/charsetgroupprober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/big5freq.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/mbcsgroupprober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/escprober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/cp949prober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/sjisprober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/sbcsgroupprober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/mbcharsetprober.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/langcyrillicmodel.py -> build/lib/requests/packages/chardet copying requests/packages/chardet/gb2312freq.py -> build/lib/requests/packages/chardet creating build/lib/requests/packages/urllib3 copying requests/packages/urllib3/fields.py -> build/lib/requests/packages/urllib3 copying requests/packages/urllib3/response.py -> build/lib/requests/packages/urllib3 copying requests/packages/urllib3/filepost.py -> build/lib/requests/packages/urllib3 copying requests/packages/urllib3/connectionpool.py -> build/lib/requests/packages/urllib3 copying requests/packages/urllib3/connection.py -> build/lib/requests/packages/urllib3 copying requests/packages/urllib3/exceptions.py -> build/lib/requests/packages/urllib3 copying requests/packages/urllib3/__init__.py -> build/lib/requests/packages/urllib3 copying requests/packages/urllib3/poolmanager.py -> build/lib/requests/packages/urllib3 copying requests/packages/urllib3/_collections.py -> build/lib/requests/packages/urllib3 copying requests/packages/urllib3/request.py -> build/lib/requests/packages/urllib3 creating build/lib/requests/packages/urllib3/packages copying requests/packages/urllib3/packages/ordered_dict.py -> build/lib/requests/packages/urllib3/packages copying requests/packages/urllib3/packages/__init__.py -> build/lib/requests/packages/urllib3/packages copying requests/packages/urllib3/packages/six.py -> build/lib/requests/packages/urllib3/packages creating build/lib/requests/packages/urllib3/contrib copying requests/packages/urllib3/contrib/pyopenssl.py -> build/lib/requests/packages/urllib3/contrib copying requests/packages/urllib3/contrib/__init__.py -> build/lib/requests/packages/urllib3/contrib copying requests/packages/urllib3/contrib/ntlmpool.py -> build/lib/requests/packages/urllib3/contrib creating build/lib/requests/packages/urllib3/util copying requests/packages/urllib3/util/response.py -> build/lib/requests/packages/urllib3/util copying requests/packages/urllib3/util/timeout.py -> build/lib/requests/packages/urllib3/util copying requests/packages/urllib3/util/url.py -> build/lib/requests/packages/urllib3/util copying requests/packages/urllib3/util/retry.py -> build/lib/requests/packages/urllib3/util copying requests/packages/urllib3/util/connection.py -> build/lib/requests/packages/urllib3/util copying requests/packages/urllib3/util/ssl_.py -> build/lib/requests/packages/urllib3/util copying requests/packages/urllib3/util/__init__.py -> build/lib/requests/packages/urllib3/util copying requests/packages/urllib3/util/request.py -> build/lib/requests/packages/urllib3/util creating build/lib/requests/packages/urllib3/packages/ssl_match_hostname copying requests/packages/urllib3/packages/ssl_match_hostname/_implementation.py -> build/lib/requests/packages/urllib3/packages/ssl_match_hostname copying requests/packages/urllib3/packages/ssl_match_hostname/__init__.py -> build/lib/requests/packages/urllib3/packages/ssl_match_hostname + sleep 1 + rm -rf build/lib/requests/packages/chardet + rm -rf build/lib/requests/packages/urllib3 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ELsKtB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386 ++ dirname /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386 + cd requests-2.6.0 + rm -rf /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386 /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extras_require' warnings.warn(msg) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' warnings.warn(msg) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_package_data' warnings.warn(msg) /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running install running install_lib creating /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386 creating /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr creating /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib creating /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests copying build/lib/requests/utils.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests creating /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/packages copying build/lib/requests/packages/__init__.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/packages copying build/lib/requests/compat.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests copying build/lib/requests/hooks.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests copying build/lib/requests/cookies.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests copying build/lib/requests/auth.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests copying build/lib/requests/structures.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests copying build/lib/requests/status_codes.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests copying build/lib/requests/exceptions.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests copying build/lib/requests/certs.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests copying build/lib/requests/models.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests copying build/lib/requests/__init__.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests copying build/lib/requests/adapters.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests copying build/lib/requests/sessions.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests copying build/lib/requests/api.py -> /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/packages/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/compat.py to compat.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/hooks.py to hooks.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/cookies.py to cookies.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/auth.py to auth.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/structures.py to structures.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/status_codes.py to status_codes.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/exceptions.py to exceptions.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/certs.py to certs.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/models.py to models.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/adapters.py to adapters.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/sessions.py to sessions.pyc byte-compiling /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests/api.py to api.pyc writing byte-compilation script '/tmp/tmpFnNCcn.py' /usr/bin/python2 -O /tmp/tmpFnNCcn.py removing /tmp/tmpFnNCcn.py running install_egg_info Writing /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/lib/python2.7/site-packages/requests-2.6.0-py2.7.egg-info + /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/requests-2.6.0 /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-requests-2.6.0-5.el7.i386/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: python-requests-2.6.0-5.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ePyDOn + umask 022 + cd /builddir/build/BUILD + cd requests-2.6.0 + DOCDIR=/builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/share/doc/python-requests-2.6.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/share/doc/python-requests-2.6.0 + cp -pr NOTICE /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/share/doc/python-requests-2.6.0 + cp -pr LICENSE /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/share/doc/python-requests-2.6.0 + cp -pr README.rst /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/share/doc/python-requests-2.6.0 + cp -pr HISTORY.rst /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386/usr/share/doc/python-requests-2.6.0 + exit 0 Provides: python-requests = 2.6.0-5.el7 python2-requests = 2.6.0-5.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: python2-requests < 2.6.0-5.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386 Wrote: /builddir/build/RPMS/python-requests-2.6.0-5.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7FgKHY + umask 022 + cd /builddir/build/BUILD + cd requests-2.6.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-requests-2.6.0-5.el7.i386 + exit 0 Child return code was: 0