Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-http-parser.spec'], chrootPath='/var/lib/mock/876852-epel-7-x86_64-1554288049.800217/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.thb39_ft:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7cdf39de1b84426ca38e7e9ccc2c60e1', '-D', '/var/lib/mock/876852-epel-7-x86_64-1554288049.800217/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.thb39_ft:/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-http-parser.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/python: 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-http-parser-0.8.3-19.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-http-parser.spec'], chrootPath='/var/lib/mock/876852-epel-7-x86_64-1554288049.800217/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.thb39_ft:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f9450c0f37284218a3c6f0cf5f92a889', '-D', '/var/lib/mock/876852-epel-7-x86_64-1554288049.800217/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.thb39_ft:/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-http-parser.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.PywtsY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf http-parser-0.8.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/http-parser-0.8.3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd http-parser-0.8.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (fix-build-on-py3.patch):' Patch #0 (fix-build-on-py3.patch): + /usr/bin/cat /builddir/build/SOURCES/fix-build-on-py3.patch + /usr/bin/patch -p1 --fuzz=0 patching file http_parser/parser.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.m10acE + umask 022 + cd /builddir/build/BUILD + cd http-parser-0.8.3 + 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.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/http_parser copying http_parser/_socketio.py -> build/lib.linux-x86_64-2.7/http_parser copying http_parser/util.py -> build/lib.linux-x86_64-2.7/http_parser copying http_parser/reader.py -> build/lib.linux-x86_64-2.7/http_parser copying http_parser/http.py -> build/lib.linux-x86_64-2.7/http_parser copying http_parser/__init__.py -> build/lib.linux-x86_64-2.7/http_parser copying http_parser/pyparser.py -> build/lib.linux-x86_64-2.7/http_parser running build_ext building 'http_parser.parser' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/http_parser gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -Iparser -I/usr/include/python2.7 -c http_parser/http_parser.c -o build/temp.linux-x86_64-2.7/http_parser/http_parser.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -Iparser -I/usr/include/python2.7 -c http_parser/parser.c -o build/temp.linux-x86_64-2.7/http_parser/parser.o BUILDSTDERR: http_parser/parser.c: In function '__pyx_pw_11http_parser_6parser_10HttpParser_1__init__': BUILDSTDERR: http_parser/parser.c:3940:19: warning: '__pyx_v_parser_type' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: http_parser_init((&__pyx_v_self->_parser), __pyx_v_parser_type); BUILDSTDERR: ^ BUILDSTDERR: http_parser/parser.c:3828:25: note: '__pyx_v_parser_type' was declared here BUILDSTDERR: enum http_parser_type __pyx_v_parser_type; BUILDSTDERR: ^ gcc -pthread -shared -Wl,-z,relro -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic build/temp.linux-x86_64-2.7/http_parser/http_parser.o build/temp.linux-x86_64-2.7/http_parser/parser.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/http_parser/parser.so BUILDSTDERR: Linking /builddir/build/BUILD/http-parser-0.8.3/build/lib.linux-x86_64-2.7/http_parser/parser.so to /builddir/build/BUILD/http-parser-0.8.3/http_parser/parser.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vjz76t + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64 + cd http-parser-0.8.3 + 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-http-parser-0.8.3-19.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr creating /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser copying build/lib.linux-x86_64-2.7/http_parser/parser.so -> /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser copying build/lib.linux-x86_64-2.7/http_parser/pyparser.py -> /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser copying build/lib.linux-x86_64-2.7/http_parser/__init__.py -> /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser copying build/lib.linux-x86_64-2.7/http_parser/http.py -> /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser copying build/lib.linux-x86_64-2.7/http_parser/reader.py -> /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser copying build/lib.linux-x86_64-2.7/http_parser/util.py -> /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser copying build/lib.linux-x86_64-2.7/http_parser/_socketio.py -> /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser byte-compiling /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser/pyparser.py to pyparser.pyc byte-compiling /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser/http.py to http.pyc byte-compiling /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser/reader.py to reader.pyc byte-compiling /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser/util.py to util.pyc byte-compiling /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser/_socketio.py to _socketio.pyc writing byte-compilation script '/tmp/tmpWJRWhK.py' /usr/bin/python2 -O /tmp/tmpWJRWhK.py removing /tmp/tmpWJRWhK.py running install_egg_info running egg_info creating http_parser.egg-info writing http_parser.egg-info/PKG-INFO writing top-level names to http_parser.egg-info/top_level.txt writing dependency_links to http_parser.egg-info/dependency_links.txt writing manifest file 'http_parser.egg-info/SOURCES.txt' reading manifest file 'http_parser.egg-info/SOURCES.txt' writing manifest file 'http_parser.egg-info/SOURCES.txt' Copying http_parser.egg-info to /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser-0.8.3-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/http-parser-0.8.3 extracting debug info from /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/python2.7/site-packages/http_parser/parser.so BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1099 blocks + /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-http-parser-0.8.3-19.el7.x86_64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/lib64/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-http-parser-0.8.3-19.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.abYall + umask 022 + cd /builddir/build/BUILD + cd http-parser-0.8.3 + DOCDIR=/builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/share/doc/python2-http-parser-0.8.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/share/doc/python2-http-parser-0.8.3 + cp -pr LICENSE /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/share/doc/python2-http-parser-0.8.3 + cp -pr README.rst /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64/usr/share/doc/python2-http-parser-0.8.3 + exit 0 Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/http_parser/parser.so' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Provides: python-http-parser(x86-64) = 0.8.3-19.el7 python-http-parser = 0.8.3-19.el7 python2-http-parser = 0.8.3-19.el7 python2-http-parser(x86-64) = 0.8.3-19.el7 Requires(rpmlib): rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-http-parser < 0.8.3-19.el7 Processing files: python-http-parser-debuginfo-0.8.3-19.el7.x86_64 Provides: python-http-parser-debuginfo = 0.8.3-19.el7 python-http-parser-debuginfo(x86-64) = 0.8.3-19.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64 Wrote: /builddir/build/RPMS/python2-http-parser-0.8.3-19.el7.x86_64.rpm Wrote: /builddir/build/RPMS/python-http-parser-debuginfo-0.8.3-19.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oIt2Wd + umask 022 + cd /builddir/build/BUILD + cd http-parser-0.8.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-http-parser-0.8.3-19.el7.x86_64 + exit 0 Child return code was: 0