Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/python-wsaccel.spec'], chrootPath='/var/lib/mock/cloud7-openstack-common-el7-build-27225-38647/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=86400logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/python-wsaccel.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 warning: Could not canonicalize hostname: p8le01.cbs.lon1.centos.org Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/python-wsaccel-0.6.2-8.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/python-wsaccel.spec'], chrootPath='/var/lib/mock/cloud7-openstack-common-el7-build-27225-38647/root'shell=Falseuid=995env={'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=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/python-wsaccel.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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LygHdT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wsaccel-0.6.2 + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/wsaccel-0.6.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wsaccel-0.6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /builddir/build/SOURCES/LICENSE . + mkdir tests + cp -a /builddir/build/SOURCES/test_4.py tests/ + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mfOJrv + umask 022 + cd /builddir/build/BUILD + cd wsaccel-0.6.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib.linux-ppc64le-2.7 creating build/lib.linux-ppc64le-2.7/wsaccel copying wsaccel/__init__.py -> build/lib.linux-ppc64le-2.7/wsaccel running build_ext building 'wsaccel.utf8validator' extension creating build/temp.linux-ppc64le-2.7 creating build/temp.linux-ppc64le-2.7/wsaccel 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 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -I/usr/include/python2.7 -c wsaccel/utf8validator.c -o build/temp.linux-ppc64le-2.7/wsaccel/utf8validator.o wsaccel/utf8validator.c: In function '__pyx_pf_7wsaccel_13utf8validator_13Utf8Validator_6validate': wsaccel/utf8validator.c:983:3: warning: passing argument 2 of 'PyObject_AsReadBuffer' from incompatible pointer type [enabled by default] __pyx_t_1 = PyObject_AsReadBuffer(__pyx_v_ba, ((void **)(&__pyx_v_buf)), (&__pyx_v_buf_len)); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;} ^ In file included from /usr/include/python2.7/Python.h:133:0, from wsaccel/utf8validator.c:16: /usr/include/python2.7/abstract.h:501:22: note: expected 'const void **' but argument is of type 'void **' PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, ^ 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 -mcpu=power8 -mtune=power8 build/temp.linux-ppc64le-2.7/wsaccel/utf8validator.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-ppc64le-2.7/wsaccel/utf8validator.so building 'wsaccel.xormask' extension 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 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -I/usr/include/python2.7 -c wsaccel/xormask.c -o build/temp.linux-ppc64le-2.7/wsaccel/xormask.o 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 -mcpu=power8 -mtune=power8 build/temp.linux-ppc64le-2.7/wsaccel/xormask.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-ppc64le-2.7/wsaccel/xormask.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Frg697 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le ++ dirname /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le + cd wsaccel-0.6.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le running install running install_lib creating /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr creating /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64 creating /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64/python2.7/site-packages/wsaccel copying build/lib.linux-ppc64le-2.7/wsaccel/utf8validator.so -> /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64/python2.7/site-packages/wsaccel copying build/lib.linux-ppc64le-2.7/wsaccel/__init__.py -> /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64/python2.7/site-packages/wsaccel copying build/lib.linux-ppc64le-2.7/wsaccel/xormask.so -> /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64/python2.7/site-packages/wsaccel byte-compiling /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64/python2.7/site-packages/wsaccel/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpFQCPaH.py' /usr/bin/python2 -O /tmp/tmpFQCPaH.py removing /tmp/tmpFQCPaH.py running install_egg_info running egg_info creating wsaccel.egg-info writing wsaccel.egg-info/PKG-INFO writing top-level names to wsaccel.egg-info/top_level.txt writing dependency_links to wsaccel.egg-info/dependency_links.txt writing manifest file 'wsaccel.egg-info/SOURCES.txt' reading manifest file 'wsaccel.egg-info/SOURCES.txt' writing manifest file 'wsaccel.egg-info/SOURCES.txt' Copying wsaccel.egg-info to /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64/python2.7/site-packages/wsaccel-0.6.2-py2.7.egg-info running install_scripts + chmod 755 /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64/python2.7/site-packages/wsaccel/utf8validator.so /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64/python2.7/site-packages/wsaccel/xormask.so + /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/wsaccel-0.6.2 extracting debug info from /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64/python2.7/site-packages/wsaccel/utf8validator.so extracting debug info from /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64/python2.7/site-packages/wsaccel/xormask.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 442 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-wsaccel-0.6.2-8.el7.ppc64le/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.m2pWiL + umask 022 + cd /builddir/build/BUILD + cd wsaccel-0.6.2 ++ echo build/lib.linux-ppc64le-2.7 + PYTHONPATH=build/lib.linux-ppc64le-2.7 + py.test-2.7 tests ============================= test session starts ============================== platform linux2 -- Python 2.7.5, pytest-3.0.6, py-1.4.31, pluggy-0.4.0 rootdir: /builddir/build/BUILD/wsaccel-0.6.2, inifile: collected 1 items tests/test_4.py . =========================== 1 passed in 0.01 seconds =========================== + exit 0 Processing files: python2-wsaccel-0.6.2-8.el7.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TLjFBo + umask 022 + cd /builddir/build/BUILD + cd wsaccel-0.6.2 + DOCDIR=/builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/share/doc/python2-wsaccel-0.6.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/share/doc/python2-wsaccel-0.6.2 + cp -pr README.rst /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/share/doc/python2-wsaccel-0.6.2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.CMQBU1 + umask 022 + cd /builddir/build/BUILD + cd wsaccel-0.6.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/share/licenses/python2-wsaccel-0.6.2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/share/licenses/python2-wsaccel-0.6.2 + cp -pr LICENSE /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le/usr/share/licenses/python2-wsaccel-0.6.2 + exit 0 Provides: python-wsaccel = 0.6.2-8.el7 python2-wsaccel = 0.6.2-8.el7 python2-wsaccel(ppc-64) = 0.6.2-8.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: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-wsaccel < 0.6.2-8.el7 Processing files: python-wsaccel-debuginfo-0.6.2-8.el7.ppc64le Provides: python-wsaccel-debuginfo = 0.6.2-8.el7 python-wsaccel-debuginfo(ppc-64) = 0.6.2-8.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-wsaccel-0.6.2-8.el7.ppc64le warning: Could not canonicalize hostname: p8le01.cbs.lon1.centos.org Wrote: /builddir/build/RPMS/python2-wsaccel-0.6.2-8.el7.ppc64le.rpm Wrote: /builddir/build/RPMS/python-wsaccel-debuginfo-0.6.2-8.el7.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2Asu3V + umask 022 + cd /builddir/build/BUILD + cd wsaccel-0.6.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-wsaccel-0.6.2-8.el7.ppc64le + exit 0 Child return code was: 0