Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/zsync.spec'], chrootPath='/var/lib/mock/807373-epel-7-ppc64le-1539056907.900871/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.ilo1oxqp:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '42467e8fdee844a39dbbd33851778b4d', '-D', '/var/lib/mock/807373-epel-7-ppc64le-1539056907.900871/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ilo1oxqp:/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 ppc64le --nodeps /builddir/build/SPECS/zsync.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: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/zsync-0.6.2-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/zsync.spec'], chrootPath='/var/lib/mock/807373-epel-7-ppc64le-1539056907.900871/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.ilo1oxqp:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a77e48746d4e4a68b176235b4bb0d778', '-D', '/var/lib/mock/807373-epel-7-ppc64le-1539056907.900871/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ilo1oxqp:/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 ppc64le --nodeps /builddir/build/SPECS/zsync.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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nXY7VV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zsync-0.6.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/zsync-0.6.2.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd zsync-0.6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EhwJuK + umask 022 + cd /builddir/build/BUILD + cd zsync-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' + 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=power8 -mtune=power8' + 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=power8 -mtune=power8 -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=power8 -mtune=power8 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' ppc64le == ppc64le ']' + /usr/lib/rpm/redhat/libtool-handle-ppc64le.sh BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./autotools/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./autotools/config.guess BUILDSTDERR: ++ basename ./autotools/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./autotools/config.guess '/usr/lib/rpm/redhat/config.guess' -> './autotools/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./autotools/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./autotools/config.sub BUILDSTDERR: ++ basename ./autotools/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./autotools/config.sub '/usr/lib/rpm/redhat/config.sub' -> './autotools/config.sub' + ./configure --build=powerpc64le-redhat-linux-gnu --host=powerpc64le-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 checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu 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 to enable maintainer-specific portions of Makefiles... no checking for powerpc64le-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 for style of include used by make... GNU checking dependency style of gcc... none checking whether ln -s works... yes checking for powerpc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 string.h... (cached) yes checking for size_t... yes checking for memcpy... yes checking for pwrite... yes checking for pread... yes checking for mkstemp... yes checking for socklen_t... yes checking for in_port_t... yes checking for h_errno declaration in netdb.h... yes checking for socket in -lsocket... no checking for getaddrinfo... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking size of size_t... 8 checking size of off_t... 8 checking if malloc debugging is wanted... no checking whether compiler supports -g... yes checking whether compiler supports -Wall... yes checking whether compiler supports -Wwrite-strings... yes checking whether compiler supports -Winline... yes checking whether compiler supports -Wextra... yes checking whether compiler supports -Winline... yes checking whether compiler supports -Wmissing-noreturn... yes checking whether compiler supports -Wredundant-decls... yes checking whether compiler supports -Wnested-externs... yes checking whether compiler supports -Wundef... yes checking whether compiler supports -Wbad-function-cast... yes checking whether compiler supports -Wcast-align... yes checking whether compiler supports -Wvolatile-register-var... yes checking whether compiler supports -ffast-math... yes configure: creating ./config.status config.status: creating Makefile config.status: creating librcksum/Makefile config.status: creating zlib/Makefile config.status: creating libzsync/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -j2 /usr/bin/make all-recursive make[1]: Entering directory `/builddir/build/BUILD/zsync-0.6.2' Making all in librcksum make[2]: Entering directory `/builddir/build/BUILD/zsync-0.6.2/librcksum' gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c rsum.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c hash.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c state.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c range.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c md4.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c md4test.c rm -f librcksum.a ar cru librcksum.a rsum.o hash.o state.o range.o md4.o ranlib librcksum.a gcc -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -Wl,-z,relro -o md4test md4test.o md4.o make[2]: Leaving directory `/builddir/build/BUILD/zsync-0.6.2/librcksum' Making all in zlib make[2]: Entering directory `/builddir/build/BUILD/zsync-0.6.2/zlib' gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c inflate.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c adler32.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c inftrees.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c zutil.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c crc32.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c deflate.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c compress.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c trees.c rm -f libinflate.a ar cru libinflate.a inflate.o adler32.o inftrees.o zutil.o crc32.o ranlib libinflate.a rm -f libdeflate.a ar cru libdeflate.a deflate.o compress.o trees.o ranlib libdeflate.a make[2]: Leaving directory `/builddir/build/BUILD/zsync-0.6.2/zlib' Making all in libzsync make[2]: Entering directory `/builddir/build/BUILD/zsync-0.6.2/libzsync' gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c zsync.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c zmap.c BUILDSTDERR: zsync.c: In function 'zsync_begin': BUILDSTDERR: zsync.c:213:23: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] BUILDSTDERR: if (zs->blocksize < 0 || (zs->blocksize & (zs->blocksize - 1))) { BUILDSTDERR: ^ BUILDSTDERR: zsync.c:243:68: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: if (fread(zblock, sizeof *zblock, nzblocks, f) < nzblocks) { BUILDSTDERR: ^ BUILDSTDERR: zsync.c: In function 'zsync_get_urls': BUILDSTDERR: zsync.c:443:9: warning: return from incompatible pointer type [enabled by default] BUILDSTDERR: return zs->zurl; BUILDSTDERR: ^ BUILDSTDERR: zsync.c:448:9: warning: return from incompatible pointer type [enabled by default] BUILDSTDERR: return zs->url; BUILDSTDERR: ^ BUILDSTDERR: zsync.c: In function 'zsync_recompress': BUILDSTDERR: zsync.c:704:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: if (fwrite(p, 1, r - (p - buf), zout) != r - (p - buf)) { BUILDSTDERR: ^ BUILDSTDERR: zsync.c: In function 'zsync_receive_data_compressed': BUILDSTDERR: zsync.c:925:22: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] BUILDSTDERR: zr->strm.next_in = buf; BUILDSTDERR: ^ BUILDSTDERR: zsync.c:928:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: if (zr->strm.total_in == 0 || offset != zr->strm.total_in) { BUILDSTDERR: ^ BUILDSTDERR: zsync.c:930:43: warning: passing argument 4 of 'zsync_configure_zstream_for_zdata' from incompatible pointer type [enabled by default] BUILDSTDERR: &(zr->outoffset)); BUILDSTDERR: ^ BUILDSTDERR: zsync.c:769:6: note: expected 'long long int *' but argument is of type 'off_t *' BUILDSTDERR: void zsync_configure_zstream_for_zdata(const struct zsync_state *zs, BUILDSTDERR: ^ BUILDSTDERR: zsync.c:942:26: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] BUILDSTDERR: zr->strm.next_in = buf; BUILDSTDERR: ^ gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c sha1.c gcc -DHAVE_CONFIG_H -I. -I.. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c sha1test.c rm -f libzsync.a ar cru libzsync.a zsync.o zmap.o sha1.o gcc -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -Wl,-z,relro -o sha1test sha1.o sha1test.o ranlib libzsync.a make[2]: Leaving directory `/builddir/build/BUILD/zsync-0.6.2/libzsync' Making all in doc make[2]: Entering directory `/builddir/build/BUILD/zsync-0.6.2/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/zsync-0.6.2/doc' make[2]: Entering directory `/builddir/build/BUILD/zsync-0.6.2' gcc -DHAVE_CONFIG_H -I. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c make.c gcc -DHAVE_CONFIG_H -I. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c makegz.c BUILDSTDERR: make.c: In function 'main': BUILDSTDERR: make.c:721:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] BUILDSTDERR: seq_matches = len > blocksize ? 2 : 1; BUILDSTDERR: ^ BUILDSTDERR: make.c:839:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t' [-Wformat=] BUILDSTDERR: fprintf(stderr, "error converting %d to struct tm\n", mtime); BUILDSTDERR: ^ gcc -DHAVE_CONFIG_H -I. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c client.c BUILDSTDERR: client.c: In function 'main': BUILDSTDERR: client.c:491:17: warning: passing argument 2 of 'append_ptrlist' from incompatible pointer type [enabled by default] BUILDSTDERR: seedfiles = append_ptrlist(&nseedfiles, seedfiles, optarg); BUILDSTDERR: ^ BUILDSTDERR: client.c:149:15: note: expected 'void **' but argument is of type 'char **' BUILDSTDERR: static void **append_ptrlist(int *n, void **p, void *a) { BUILDSTDERR: ^ BUILDSTDERR: client.c:491:27: warning: assignment from incompatible pointer type [enabled by default] BUILDSTDERR: seedfiles = append_ptrlist(&nseedfiles, seedfiles, optarg); BUILDSTDERR: ^ BUILDSTDERR: client.c:549:13: warning: passing argument 2 of 'append_ptrlist' from incompatible pointer type [enabled by default] BUILDSTDERR: seedfiles = append_ptrlist(&nseedfiles, seedfiles, filename); BUILDSTDERR: ^ BUILDSTDERR: client.c:149:15: note: expected 'void **' but argument is of type 'char **' BUILDSTDERR: static void **append_ptrlist(int *n, void **p, void *a) { BUILDSTDERR: ^ BUILDSTDERR: client.c:549:23: warning: assignment from incompatible pointer type [enabled by default] BUILDSTDERR: seedfiles = append_ptrlist(&nseedfiles, seedfiles, filename); BUILDSTDERR: ^ BUILDSTDERR: client.c:557:13: warning: passing argument 2 of 'append_ptrlist' from incompatible pointer type [enabled by default] BUILDSTDERR: seedfiles = append_ptrlist(&nseedfiles, seedfiles, temp_file); BUILDSTDERR: ^ BUILDSTDERR: client.c:149:15: note: expected 'void **' but argument is of type 'char **' BUILDSTDERR: static void **append_ptrlist(int *n, void **p, void *a) { BUILDSTDERR: ^ BUILDSTDERR: client.c:557:23: warning: assignment from incompatible pointer type [enabled by default] BUILDSTDERR: seedfiles = append_ptrlist(&nseedfiles, seedfiles, temp_file); BUILDSTDERR: ^ gcc -DHAVE_CONFIG_H -I. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c http.c gcc -DHAVE_CONFIG_H -I. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c url.c BUILDSTDERR: url.c: In function 'get_http_host_port': BUILDSTDERR: url.c:46:7: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] BUILDSTDERR: q = url + strlen(http_scheme); BUILDSTDERR: ^ gcc -DHAVE_CONFIG_H -I. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c progress.c gcc -DHAVE_CONFIG_H -I. -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -c base64.c gcc -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -Wl,-z,relro -o zsyncmake make.o makegz.o libzsync/libzsync.a librcksum/librcksum.a zlib/libinflate.a zlib/libdeflate.a -lm gcc -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 -g -Wall -Wwrite-strings -Winline -Wextra -Winline -Wmissing-noreturn -Wredundant-decls -Wnested-externs -Wundef -Wbad-function-cast -Wcast-align -Wvolatile-register-var -ffast-math -Wl,-z,relro -o zsync client.o http.o url.o progress.o base64.o libzsync/libzsync.a librcksum/librcksum.a zlib/libinflate.a make[2]: Leaving directory `/builddir/build/BUILD/zsync-0.6.2' make[1]: Leaving directory `/builddir/build/BUILD/zsync-0.6.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6mOgZB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le + cd zsync-0.6.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le Making install in librcksum make[1]: Entering directory `/builddir/build/BUILD/zsync-0.6.2/librcksum' make[2]: Entering directory `/builddir/build/BUILD/zsync-0.6.2/librcksum' 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/zsync-0.6.2/librcksum' make[1]: Leaving directory `/builddir/build/BUILD/zsync-0.6.2/librcksum' Making install in zlib make[1]: Entering directory `/builddir/build/BUILD/zsync-0.6.2/zlib' make[2]: Entering directory `/builddir/build/BUILD/zsync-0.6.2/zlib' 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/zsync-0.6.2/zlib' make[1]: Leaving directory `/builddir/build/BUILD/zsync-0.6.2/zlib' Making install in libzsync make[1]: Entering directory `/builddir/build/BUILD/zsync-0.6.2/libzsync' make[2]: Entering directory `/builddir/build/BUILD/zsync-0.6.2/libzsync' 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/zsync-0.6.2/libzsync' make[1]: Leaving directory `/builddir/build/BUILD/zsync-0.6.2/libzsync' Making install in doc make[1]: Entering directory `/builddir/build/BUILD/zsync-0.6.2/doc' make[2]: Entering directory `/builddir/build/BUILD/zsync-0.6.2/doc' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/share/man/man1" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/share/man/man1" /usr/bin/install -c -m 644 zsync.1 zsyncmake.1 '/builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/share/man/man1' make[2]: Leaving directory `/builddir/build/BUILD/zsync-0.6.2/doc' make[1]: Leaving directory `/builddir/build/BUILD/zsync-0.6.2/doc' make[1]: Entering directory `/builddir/build/BUILD/zsync-0.6.2' make[2]: Entering directory `/builddir/build/BUILD/zsync-0.6.2' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/bin" /usr/bin/install -c zsyncmake zsync '/builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/bin' test -z "/usr/share/doc/zsync" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/share/doc/zsync" /usr/bin/install -c -m 644 COPYING README '/builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/share/doc/zsync' make[2]: Leaving directory `/builddir/build/BUILD/zsync-0.6.2' make[1]: Leaving directory `/builddir/build/BUILD/zsync-0.6.2' + rm -rf /builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/share/doc/zsync/COPYING + /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/zsync-0.6.2 extracting debug info from /builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/bin/zsync extracting debug info from /builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/bin/zsyncmake /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1065 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: zsync-0.6.2-1.el7.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lBe7Dt + umask 022 + cd /builddir/build/BUILD + cd zsync-0.6.2 + DOCDIR=/builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/share/doc/zsync-0.6.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/share/doc/zsync-0.6.2 + cp -pr README /builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/share/doc/zsync-0.6.2 + cp -pr NEWS /builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/share/doc/zsync-0.6.2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2jfcjl + umask 022 + cd /builddir/build/BUILD + cd zsync-0.6.2 + LICENSEDIR=/builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/share/licenses/zsync-0.6.2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/share/licenses/zsync-0.6.2 + cp -pr COPYING /builddir/build/BUILDROOT/zsync-0.6.2-1.el7.ppc64le/usr/share/licenses/zsync-0.6.2 + exit 0 Provides: bundled(zlib) = 1.2.1.1 zsync = 0.6.2-1.el7 zsync(ppc-64) = 0.6.2-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) rtld(GNU_HASH) Processing files: zsync-debuginfo-0.6.2-1.el7.ppc64le Provides: zsync-debuginfo = 0.6.2-1.el7 zsync-debuginfo(ppc-64) = 0.6.2-1.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/zsync-0.6.2-1.el7.ppc64le BUILDSTDERR: error: Installed (but unpackaged) file(s) found: BUILDSTDERR: /usr/share/doc/zsync/README RPM build errors: BUILDSTDERR: Installed (but unpackaged) file(s) found: BUILDSTDERR: /usr/share/doc/zsync/README Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M a77e48746d4e4a68b176235b4bb0d778 -D /var/lib/mock/807373-epel-7-ppc64le-1539056907.900871/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ilo1oxqp:/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 ppc64le --nodeps /builddir/build/SPECS/zsync.spec