Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/hiredis.spec'], chrootPath='/var/lib/mock/754934-epel-6-x86_64-1526466475.600231/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/hiredis.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: warning: Could not canonicalize hostname: copr-builder-932780056.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/hiredis-0.12.1-1.el6.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/hiredis.spec'], chrootPath='/var/lib/mock/754934-epel-6-x86_64-1526466475.600231/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/hiredis.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.6M85JO + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf hiredis-0.12.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/hiredis-0.12.1.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd hiredis-0.12.1 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (302.patch):' Patch #0 (302.patch): + /bin/cat /builddir/build/SOURCES/302.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Cvc3f6 + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.12.1 + LANG=C + export LANG + unset DISPLAY + make -j2 PREFIX=/usr INSTALL_LIBRARY_PATH=/usr/lib64 'OPTIMIZATION=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' LDFLAGS= cc -std=c99 -pedantic -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c cc -std=c99 -pedantic -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb hiredis.c cc -std=c99 -pedantic -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb sds.c cc -std=c99 -pedantic -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb async.c cc -std=c99 -pedantic -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb read.c cc -std=c99 -pedantic -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb test.c Generating hiredis.pc for pkgconfig... cc -shared -Wl,-soname,libhiredis.so.0.12 -o libhiredis.so net.o hiredis.o sds.o async.o read.o ar rcs libhiredis.a net.o hiredis.o sds.o async.o read.o cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb -o hiredis-test test.o libhiredis.a + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4UN1Kp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64 + cd hiredis-0.12.1 + LANG=C + export LANG + unset DISPLAY + make install DESTDIR=/builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64 PREFIX=/usr INSTALL_LIBRARY_PATH=/usr/lib64 mkdir -p /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/include/hiredis /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/lib64 cp -a hiredis.h async.h read.h sds.h adapters /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/include/hiredis cp -a libhiredis.so /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/lib64/libhiredis.so.0.12 cd /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/lib64 && ln -sf libhiredis.so.0.12 libhiredis.so.0 cd /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/lib64 && ln -sf libhiredis.so.0 libhiredis.so cp -a libhiredis.a /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/lib64 mkdir -p /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/lib64/pkgconfig cp -a hiredis.pc /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/lib64/pkgconfig + find /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64 -name '*.a' -delete -print /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/lib64/libhiredis.a + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/hiredis-0.12.1 extracting debug info from /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/lib64/libhiredis.so.0.12 symlinked /usr/lib/debug/usr/lib64/libhiredis.so.0.12.debug to /usr/lib/debug/usr/lib64/libhiredis.so.debug symlinked /usr/lib/debug/usr/lib64/libhiredis.so.0.12.debug to /usr/lib/debug/usr/lib64/libhiredis.so.0.debug BUILDSTDERR: 294 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/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.dDc1IJ + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.12.1 + unset DISPLAY + make test ./hiredis-test #01 Format command without interpolation: PASSED #02 Format command with %s string interpolation: PASSED #03 Format command with %s and an empty string: PASSED #04 Format command with an empty string in between proper interpolations: PASSED #05 Format command with %b string interpolation: PASSED #06 Format command with %b and an empty string: PASSED #07 Format command with literal %: PASSED #08 Format command with printf-delegation (int): PASSED #09 Format command with printf-delegation (char): PASSED #10 Format command with printf-delegation (short): PASSED #11 Format command with printf-delegation (long): PASSED #12 Format command with printf-delegation (long long): PASSED #13 Format command with printf-delegation (unsigned int): PASSED #14 Format command with printf-delegation (unsigned char): PASSED #15 Format command with printf-delegation (unsigned short): PASSED #16 Format command with printf-delegation (unsigned long): PASSED #17 Format command with printf-delegation (unsigned long long): PASSED #18 Format command with printf-delegation (float): PASSED #19 Format command with printf-delegation (double): PASSED #20 Format command with invalid printf format: PASSED #21 Format command by passing argc/argv without lengths: PASSED #22 Format command by passing argc/argv with lengths: PASSED #23 Error handling in reply parser: PASSED #24 Memory cleanup in reply parser: PASSED #25 Set error on nested multi bulks with depth > 7: PASSED #26 Works with NULL functions for reply: PASSED #27 Works when a single newline (\r\n) covers two calls to feed: PASSED #28 Don't reset state after protocol error: PASSED #29 Don't do empty allocation for empty multi bulk: PASSED #30 Returns error when host cannot be resolved: PASSED #31 Returns error when the port is not open: PASSED #32 Returns error when the unix socket path doesn't accept connections: PASSED #33 Don't fail when redisFree is passed a NULL value: PASSED #34 Don't fail when freeReplyObject is passed a NULL value: PASSED Testing against TCP connection (127.0.0.1:6379): Connection error: Connection refused BUILDSTDERR: make: *** [test] Error 1 + true + exit 0 Processing files: hiredis-0.12.1-1.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.212VI3 + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.12.1 + DOCDIR=/builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/share/doc/hiredis-0.12.1 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/share/doc/hiredis-0.12.1 + /bin/mkdir -p /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/share/doc/hiredis-0.12.1 + cp -pr COPYING /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/share/doc/hiredis-0.12.1 + exit 0 Provides: libhiredis.so.0.12()(64bit) Requires(interp): /sbin/ldconfig /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 Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libhiredis.so.0.12()(64bit) rtld(GNU_HASH) Processing files: hiredis-devel-0.12.1-1.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1X8lKn + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.12.1 + DOCDIR=/builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/share/doc/hiredis-devel-0.12.1 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/share/doc/hiredis-devel-0.12.1 + /bin/mkdir -p /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/share/doc/hiredis-devel-0.12.1 + cp -pr CHANGELOG.md README.md /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64/usr/share/doc/hiredis-devel-0.12.1 + exit 0 Provides: pkgconfig(hiredis) = 0.12.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires: /usr/bin/pkg-config libhiredis.so.0.12()(64bit) Processing files: hiredis-debuginfo-0.12.1-1.el6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64 BUILDSTDERR: warning: Could not canonicalize hostname: copr-builder-932780056.novalocal Wrote: /builddir/build/RPMS/hiredis-0.12.1-1.el6.x86_64.rpm Wrote: /builddir/build/RPMS/hiredis-devel-0.12.1-1.el6.x86_64.rpm Wrote: /builddir/build/RPMS/hiredis-debuginfo-0.12.1-1.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4d5YHG + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.12.1 + /bin/rm -rf /builddir/build/BUILDROOT/hiredis-0.12.1-1.el6.x86_64 + exit 0 Child return code was: 0