Mock Version: 1.2.17
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/python-smbc.spec'], chrootPath='/var/lib/mock/python-smbc-1.0.13-8.el7-20180411032912-14248/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=<mockbuild.trace_decorator.getLog object at 0x100268caed0>uid=1004)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/python-smbc.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False
sh: /usr/bin/python: No such file or directory
sh: /usr/bin/python: No such file or directory
sh: /usr/bin/python: No such file or directory
sh: /usr/bin/python: No such file or directory
warning: Could not canonicalize hostname: ppc64-01.bsys.centos.org
Building target platforms: ppc64
Building for target ppc64
Wrote: /builddir/build/SRPMS/python-smbc-1.0.13-8.el7.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/python-smbc.spec'], chrootPath='/var/lib/mock/python-smbc-1.0.13-8.el7-20180411032912-14248/root'shell=Falseuid=1004env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=<mockbuild.trace_decorator.getLog object at 0x100268caed0>printOutput=False)
Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/python-smbc.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False
Building target platforms: ppc64
Building for target ppc64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PwtMgQ
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf pysmbc-1.0.13
+ /usr/bin/bzip2 -dc /builddir/build/SOURCES/pysmbc-1.0.13.tar.bz2
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pysmbc-1.0.13
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #1 (python-smbc-pkg-config.patch):
+ echo 'Patch #1 (python-smbc-pkg-config.patch):'
+ /usr/bin/patch -p1 -b --suffix .pkg-config --fuzz=0
+ /usr/bin/cat /builddir/build/SOURCES/python-smbc-pkg-config.patch
patching file Makefile
patching file setup.py
Patch #2 (fix-memory-leak-in-auth_fn-callback.patch):
+ echo 'Patch #2 (fix-memory-leak-in-auth_fn-callback.patch):'
+ /usr/bin/cat /builddir/build/SOURCES/fix-memory-leak-in-auth_fn-callback.patch
+ /usr/bin/patch -p1 --fuzz=0
patching file context.c
Patch #3 (make-sure-auto-info-is-NULL-terminated.patch):
+ echo 'Patch #3 (make-sure-auto-info-is-NULL-terminated.patch):'
+ /usr/bin/cat /builddir/build/SOURCES/make-sure-auto-info-is-NULL-terminated.patch
+ /usr/bin/patch -p1 --fuzz=0
patching file context.c
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nWmdDp
+ umask 022
+ cd /builddir/build/BUILD
+ cd pysmbc-1.0.13
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mcpu=power7 -mtune=power7'
+ /usr/bin/python setup.py build
running build
running build_ext
building 'smbc' extension
creating build
creating build/temp.linux-ppc64-2.7
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=power7 -mtune=power7 -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=power7 -mtune=power7 -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=power7 -mtune=power7 -fPIC -I/usr/include/samba-4.0 -I/usr/include/python2.7 -c smbcmodule.c -o build/temp.linux-ppc64-2.7/smbcmodule.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 -mcpu=power7 -mtune=power7 -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=power7 -mtune=power7 -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=power7 -mtune=power7 -fPIC -I/usr/include/samba-4.0 -I/usr/include/python2.7 -c context.c -o build/temp.linux-ppc64-2.7/context.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 -mcpu=power7 -mtune=power7 -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=power7 -mtune=power7 -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=power7 -mtune=power7 -fPIC -I/usr/include/samba-4.0 -I/usr/include/python2.7 -c dir.c -o build/temp.linux-ppc64-2.7/dir.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 -mcpu=power7 -mtune=power7 -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=power7 -mtune=power7 -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=power7 -mtune=power7 -fPIC -I/usr/include/samba-4.0 -I/usr/include/python2.7 -c file.c -o build/temp.linux-ppc64-2.7/file.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 -mcpu=power7 -mtune=power7 -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=power7 -mtune=power7 -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=power7 -mtune=power7 -fPIC -I/usr/include/samba-4.0 -I/usr/include/python2.7 -c smbcdirent.c -o build/temp.linux-ppc64-2.7/smbcdirent.o
creating build/lib.linux-ppc64-2.7
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=power7 -mtune=power7 build/temp.linux-ppc64-2.7/smbcmodule.o build/temp.linux-ppc64-2.7/context.o build/temp.linux-ppc64-2.7/dir.o build/temp.linux-ppc64-2.7/file.o build/temp.linux-ppc64-2.7/smbcdirent.o -L/usr/lib64 -lsmbclient -lpython2.7 -o build/lib.linux-ppc64-2.7/smbc.so
+ rm -rf html
+ epydoc -o html --html build/lib.linux-ppc64-2.7/smbc.so
  [.........................................................................]
Warning: 2 markup errors were found while processing docstrings.  Use 
         the verbose switch (-v) to display markup errors.
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zQ15SZ
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64
++ dirname /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64
+ cd pysmbc-1.0.13
+ /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64
running install
running install_lib
creating /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr
creating /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/lib64
creating /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/lib64/python2.7
creating /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/lib64/python2.7/site-packages
copying build/lib.linux-ppc64-2.7/smbc.so -> /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/lib64/python2.7/site-packages
running install_egg_info
Writing /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/lib64/python2.7/site-packages/pysmbc-1.0.13-py2.7.egg-info
+ chmod 755 /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/lib64/python2.7/site-packages/smbc.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/pysmbc-1.0.13
extracting debug info from /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/lib64/python2.7/site-packages/smbc.so
dwz: Too few files for multifile optimization
/usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
127 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-smbc-1.0.13-8.el7.ppc64/usr/lib64/python2.7 using /usr/bin/python2.7
Bytecompiling .py files below /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/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
Processing files: python-smbc-1.0.13-8.el7.ppc64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9nMsmA
+ umask 022
+ cd /builddir/build/BUILD
+ cd pysmbc-1.0.13
+ DOCDIR=/builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/share/doc/python-smbc-1.0.13
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/share/doc/python-smbc-1.0.13
+ cp -pr COPYING /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/share/doc/python-smbc-1.0.13
+ cp -pr README /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/share/doc/python-smbc-1.0.13
+ cp -pr NEWS /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/share/doc/python-smbc-1.0.13
Finding  Provides: /bin/sh -c " /usr/bin/grep -v  '/usr/lib64/python2.7/site-packages/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u "
+ exit 0
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-smbc = 1.0.13-8.el7 python-smbc(ppc-64) = 1.0.13-8.el7
Requires(rpmlib): 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.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.3)(64bit) libpython2.7.so.1.0()(64bit) libsmbclient.so.0()(64bit) libsmbclient.so.0(SMBCLIENT_0.1.0)(64bit) python(abi) = 2.7 rtld(GNU_HASH)
Processing files: python-smbc-doc-1.0.13-8.el7.ppc64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6deg1a
+ umask 022
+ cd /builddir/build/BUILD
+ cd pysmbc-1.0.13
+ DOCDIR=/builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/share/doc/python-smbc-doc-1.0.13
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/share/doc/python-smbc-doc-1.0.13
+ cp -pr html /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64/usr/share/doc/python-smbc-doc-1.0.13
+ exit 0
Finding  Provides: /bin/sh -c " /usr/bin/grep -v  '/usr/lib64/python2.7/site-packages/.*\.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-smbc-doc = 1.0.13-8.el7 python-smbc-doc(ppc-64) = 1.0.13-8.el7
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Processing files: python-smbc-debuginfo-1.0.13-8.el7.ppc64
Provides: python-smbc-debuginfo = 1.0.13-8.el7 python-smbc-debuginfo(ppc-64) = 1.0.13-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-smbc-1.0.13-8.el7.ppc64
Wrote: /builddir/build/RPMS/python-smbc-1.0.13-8.el7.ppc64.rpm
Wrote: /builddir/build/RPMS/python-smbc-doc-1.0.13-8.el7.ppc64.rpm
Wrote: /builddir/build/RPMS/python-smbc-debuginfo-1.0.13-8.el7.ppc64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QyyZYz
+ umask 022
+ cd /builddir/build/BUILD
+ cd pysmbc-1.0.13
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/python-smbc-1.0.13-8.el7.ppc64
+ exit 0
Child return code was: 0