Mock Version: 1.2.17
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/librelp.spec'], chrootPath='/var/lib/mock/librelp-1.2.12-1.el7_5.1-20180508194651-24450/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 0x1000ed1aed0>uid=1004)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/librelp.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
Wrote: /builddir/build/SRPMS/librelp-1.2.12-1.el7_5.1.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/librelp.spec'], chrootPath='/var/lib/mock/librelp-1.2.12-1.el7_5.1-20180508194651-24450/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 0x1000ed1aed0>printOutput=False)
Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/librelp.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.OuBJbi
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf librelp-1.2.12
+ /usr/bin/gzip -dc /builddir/build/SOURCES/librelp-1.2.12.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd librelp-1.2.12
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #1 (librelp-1.2.12-rhbz1561232-snprintf.patch):
+ echo 'Patch #1 (librelp-1.2.12-rhbz1561232-snprintf.patch):'
+ /usr/bin/cat /builddir/build/SOURCES/librelp-1.2.12-rhbz1561232-snprintf.patch
+ /usr/bin/patch -p1 -b --suffix .snprintf --fuzz=0
patching file src/tcp.c
Hunk #1 succeeded at 1158 (offset -14 lines).
Hunk #2 succeeded at 1225 (offset -14 lines).
Hunk #3 succeeded at 1238 (offset -14 lines).
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zLxoSg
+ umask 022
+ cd /builddir/build/BUILD
+ cd librelp-1.2.12
+ 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'
+ export CFLAGS
+ CXXFLAGS='-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'
+ export CXXFLAGS
+ FFLAGS='-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 -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-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 -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro '
+ export LDFLAGS
+ '[' 1 == 1 ']'
+ '[' ppc64 == ppc64le ']'
++ find . -name config.guess -o -name config.sub
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config.guess'
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config.sub'
+ ./configure --build=ppc64-redhat-linux-gnu --host=ppc64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for ppc64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking dependency style of gcc... (cached) none
checking build system type... powerpc64-redhat-linux-gnu
checking host system type... powerpc64-redhat-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert powerpc64-redhat-linux-gnu file names to powerpc64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert powerpc64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for ppc64-redhat-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ppc64-redhat-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ppc64-redhat-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for ppc64-redhat-linux-gnu-strip... no
checking for strip... strip
checking for ppc64-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for ppc64-redhat-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for library containing clock_gettime... none required
checking for ANSI C header files... (cached) yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for struct sockaddr.sa_len... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking return type of signal handlers... void
checking for strerror_r... (cached) yes
checking for epoll_create... yes
checking for epoll_create1... yes
checking for ppc64-redhat-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GNUTLS... yes
checking if we have gnutls_certificate_set_verify_function... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating relp.pc
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
*****************************************************
librelp will be compiled with the following settings:
Debug mode enabled:            no
TLS enabled:                   yes
TLS authentication supported:  yes
+ make -j16
make  all-recursive
make[1]: Entering directory `/builddir/build/BUILD/librelp-1.2.12'
Making all in src
make[2]: Entering directory `/builddir/build/BUILD/librelp-1.2.12/src'
  CC       librelp_la-relp.lo
  CC       librelp_la-relpframe.lo
  CC       librelp_la-relpsess.lo
  CC       librelp_la-tcp.lo
  CC       librelp_la-sendq.lo
  CC       librelp_la-sendbuf.lo
  CC       librelp_la-offers.lo
  CC       librelp_la-relpclt.lo
  CC       librelp_la-relpsrv.lo
  CC       librelp_la-scsyslog.lo
  CC       librelp_la-scrsp.lo
  CC       librelp_la-copen.lo
  CC       librelp_la-cclose.lo
  CC       librelp_la-cserverclose.lo
  CCLD     librelp.la
make[2]: Leaving directory `/builddir/build/BUILD/librelp-1.2.12/src'
Making all in doc
make[2]: Entering directory `/builddir/build/BUILD/librelp-1.2.12/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/builddir/build/BUILD/librelp-1.2.12/doc'
make[2]: Entering directory `/builddir/build/BUILD/librelp-1.2.12'
make[2]: Leaving directory `/builddir/build/BUILD/librelp-1.2.12'
make[1]: Leaving directory `/builddir/build/BUILD/librelp-1.2.12'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iljSbi
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64
++ dirname /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64
+ cd librelp-1.2.12
+ rm -rf /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64
+ make install DESTDIR=/builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64
Making install in src
make[1]: Entering directory `/builddir/build/BUILD/librelp-1.2.12/src'
make[2]: Entering directory `/builddir/build/BUILD/librelp-1.2.12/src'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/lib64'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   librelp.la '/builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/lib64'
libtool: install: /usr/bin/install -c .libs/librelp.so.0.2.0 /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/lib64/librelp.so.0.2.0
libtool: install: (cd /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/lib64 && { ln -s -f librelp.so.0.2.0 librelp.so.0 || { rm -f librelp.so.0 && ln -s librelp.so.0.2.0 librelp.so.0; }; })
libtool: install: (cd /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/lib64 && { ln -s -f librelp.so.0.2.0 librelp.so || { rm -f librelp.so && ln -s librelp.so.0.2.0 librelp.so; }; })
libtool: install: /usr/bin/install -c .libs/librelp.lai /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/lib64/librelp.la
libtool: warning: remember to run 'libtool --finish /usr/lib64'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/include'
 /usr/bin/install -c -m 644 librelp.h '/builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/include'
make[2]: Leaving directory `/builddir/build/BUILD/librelp-1.2.12/src'
make[1]: Leaving directory `/builddir/build/BUILD/librelp-1.2.12/src'
Making install in doc
make[1]: Entering directory `/builddir/build/BUILD/librelp-1.2.12/doc'
make[2]: Entering directory `/builddir/build/BUILD/librelp-1.2.12/doc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/builddir/build/BUILD/librelp-1.2.12/doc'
make[1]: Leaving directory `/builddir/build/BUILD/librelp-1.2.12/doc'
make[1]: Entering directory `/builddir/build/BUILD/librelp-1.2.12'
make[2]: Entering directory `/builddir/build/BUILD/librelp-1.2.12'
make[2]: Nothing to be done for `install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/lib64/pkgconfig'
 /usr/bin/install -c -m 644 relp.pc '/builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/lib64/pkgconfig'
make[2]: Leaving directory `/builddir/build/BUILD/librelp-1.2.12'
make[1]: Leaving directory `/builddir/build/BUILD/librelp-1.2.12'
+ rm /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64//usr/lib64/librelp.la
+ /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/librelp-1.2.12
extracting debug info from /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/lib64/librelp.so.0.2.0
dwz: Too few files for multifile optimization
/usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
symlinked /usr/lib/debug/usr/lib64/librelp.so.0.2.0.debug to /usr/lib/debug/usr/lib64/librelp.so.debug
symlinked /usr/lib/debug/usr/lib64/librelp.so.0.2.0.debug to /usr/lib/debug/usr/lib64/librelp.so.0.debug
504 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
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: librelp-1.2.12-1.el7_5.1.ppc64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZEWQFj
+ umask 022
+ cd /builddir/build/BUILD
+ cd librelp-1.2.12
+ DOCDIR=/builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/share/doc/librelp-1.2.12
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/share/doc/librelp-1.2.12
+ cp -pr AUTHORS /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/share/doc/librelp-1.2.12
+ cp -pr COPYING /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/share/doc/librelp-1.2.12
+ cp -pr NEWS /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/share/doc/librelp-1.2.12
+ cp -pr README /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/share/doc/librelp-1.2.12
+ cp -pr doc/gfdl.html doc/relp.html /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64/usr/share/doc/librelp-1.2.12
+ exit 0
Provides: librelp = 1.2.12-1.el7_5.1 librelp(ppc-64) = 1.2.12-1.el7_5.1 librelp.so.0()(64bit)
Requires(interp): /bin/sh /sbin/ldconfig
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /sbin/ldconfig /sbin/ldconfig
Requires(postun): /bin/sh /sbin/ldconfig
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.9)(64bit) libgnutls.so.28()(64bit) libgnutls.so.28(GNUTLS_1_4)(64bit) libgnutls.so.28(GNUTLS_2_10)(64bit) rtld(GNU_HASH)
Processing files: librelp-devel-1.2.12-1.el7_5.1.ppc64
Provides: librelp-devel = 1.2.12-1.el7_5.1 librelp-devel(ppc-64) = 1.2.12-1.el7_5.1 pkgconfig(relp) = 1.2.12
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/pkg-config librelp.so.0()(64bit)
Processing files: librelp-debuginfo-1.2.12-1.el7_5.1.ppc64
Provides: librelp-debuginfo = 1.2.12-1.el7_5.1 librelp-debuginfo(ppc-64) = 1.2.12-1.el7_5.1
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/librelp-1.2.12-1.el7_5.1.ppc64
Wrote: /builddir/build/RPMS/librelp-1.2.12-1.el7_5.1.ppc64.rpm
Wrote: /builddir/build/RPMS/librelp-devel-1.2.12-1.el7_5.1.ppc64.rpm
Wrote: /builddir/build/RPMS/librelp-debuginfo-1.2.12-1.el7_5.1.ppc64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.b5PcWp
+ umask 022
+ cd /builddir/build/BUILD
+ cd librelp-1.2.12
+ rm -rf /builddir/build/BUILDROOT/librelp-1.2.12-1.el7_5.1.ppc64
+ exit 0
Child return code was: 0