Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/hiredis.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-115640-7917/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/hiredis-1.2.0-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/hiredis.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-115640-7917/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zFtxXR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hiredis-1.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hiredis-1.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hiredis-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eyZxOi + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hiredis-1.2.0 + /usr/bin/make -O -j32 V=1 VERBOSE=1 PREFIX=/usr LIBRARY_PATH=lib64 'DEBUG=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' USE_SSL=1 gcc -std=c99 -c -O3 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHIREDIS_TEST_SSL -Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb -pedantic sockcompat.c gcc -std=c99 -c -O3 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHIREDIS_TEST_SSL -Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb -pedantic alloc.c Generating hiredis.pc for pkgconfig... Generating hiredis_ssl.pc for pkgconfig... gcc -std=c99 -c -O3 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHIREDIS_TEST_SSL -Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb -pedantic ssl.c ar rcs libhiredis_ssl.a ssl.o gcc -std=c99 -c -O3 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHIREDIS_TEST_SSL -Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb -pedantic net.c gcc -std=c99 -c -O3 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHIREDIS_TEST_SSL -Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb -pedantic read.c gcc -shared -Wl,-soname,libhiredis_ssl.so.1.1.0 -o libhiredis_ssl.so ssl.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lssl -lcrypto gcc -std=c99 -c -O3 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHIREDIS_TEST_SSL -Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb -pedantic async.c gcc -std=c99 -c -O3 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHIREDIS_TEST_SSL -Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb -pedantic hiredis.c gcc -std=c99 -c -O3 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHIREDIS_TEST_SSL -Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb -pedantic sds.c ar rcs libhiredis.a alloc.o net.o hiredis.o sds.o async.o read.o sockcompat.o gcc -std=c99 -c -O3 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHIREDIS_TEST_SSL -Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb -pedantic test.c gcc -shared -Wl,-soname,libhiredis.so.1.1.0 -o libhiredis.so alloc.o net.o hiredis.o sds.o async.o read.o sockcompat.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 gcc -o hiredis-test -O3 -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DHIREDIS_TEST_SSL -Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb -pedantic -I. test.o libhiredis.a libhiredis_ssl.a -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lssl -lcrypto -pthread + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8gQQgv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64 + cd hiredis-1.2.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64 'INSTALL=/usr/bin/install -p' PREFIX=/usr LIBRARY_PATH=lib64 mkdir -p /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/include/hiredis /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/include/hiredis/adapters /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/lib64 /usr/bin/install -p hiredis.h async.h read.h sds.h alloc.h sockcompat.h /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/include/hiredis /usr/bin/install -p adapters/*.h /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/include/hiredis/adapters /usr/bin/install -p libhiredis.so /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/lib64/libhiredis.so.1.1.0 cd /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/lib64 && ln -sf libhiredis.so.1.1.0 libhiredis.so && ln -sf libhiredis.so.1.1.0 libhiredis.so.1 /usr/bin/install -p libhiredis.a /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/lib64 mkdir -p /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/lib64/pkgconfig /usr/bin/install -p hiredis.pc /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/lib64/pkgconfig + find /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64 -name '*.a' -delete -print /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/lib64/libhiredis.a + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.2.0-1.ocs23 --unique-debug-suffix -1.2.0-1.ocs23.x86_64 --unique-debug-src-base hiredis-1.2.0-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/hiredis-1.2.0 extracting debug info from /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/lib64/libhiredis.so.1.1.0 446 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs *** WARNING: ./usr/include/hiredis/adapters/ivykis.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/adapters/redismoduleapi.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/adapters/glib.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/adapters/libevent.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/adapters/libhv.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/adapters/libsdevent.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/adapters/macosx.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/adapters/libuv.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/adapters/qt.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/adapters/poll.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/adapters/ae.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/adapters/libev.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/hiredis.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/read.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/sockcompat.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/alloc.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/async.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/hiredis/sds.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/lib64/pkgconfig/hiredis.pc is executable but has no shebang, removing executable bit + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8ZxQS4 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hiredis-1.2.0 + make check TEST_SSL=0 ./test.sh /tmp/tmp.9p6nvGRqtZ pidfile /tmp/tmp.9p6nvGRqtZ/hiredis-test-redis.pid port 56379 unixsocket /tmp/tmp.9p6nvGRqtZ/hiredis-test-redis.sock unixsocketperm 777 daemonize yes enable-debug-command local bind 127.0.0.1 waiting for server #01 redisContext uses injected allocators: PASSED #02 redisReader uses injected allocators: PASSED #03 hiredis calloc wrapper protects against overflow: PASSED #04 Format command without interpolation: PASSED #05 Format command with %s string interpolation: PASSED #06 Format command with %s and an empty string: PASSED #07 Format command with an empty string in between proper interpolations: PASSED #08 Format command with %b string interpolation: PASSED #09 Format command with %b and an empty string: PASSED #10 Format command with literal %: PASSED #11 Format command with printf-delegation (int): PASSED #12 Format command with printf-delegation (char): PASSED #13 Format command with printf-delegation (short): PASSED #14 Format command with printf-delegation (long): PASSED #15 Format command with printf-delegation (long long): PASSED #16 Format command with printf-delegation (unsigned int): PASSED #17 Format command with printf-delegation (unsigned char): PASSED #18 Format command with printf-delegation (unsigned short): PASSED #19 Format command with printf-delegation (unsigned long): PASSED #20 Format command with printf-delegation (unsigned long long): PASSED #21 Format command with printf-delegation (float): PASSED #22 Format command with printf-delegation (double): PASSED #23 Format command with unhandled printf format (specifier 'p' not supported): PASSED #24 Format command with invalid printf format (specifier missing): PASSED #25 Format command by passing argc/argv without lengths: PASSED #26 Format command by passing argc/argv with lengths: PASSED #27 Format command into sds by passing argc/argv without lengths: PASSED #28 Format command into sds by passing argc/argv with lengths: PASSED #29 Error handling in reply parser: PASSED #30 Memory cleanup in reply parser: PASSED #31 Can handle arbitrarily nested multi-bulks: PASSED #32 Can parse arbitrarily nested multi-bulks correctly: PASSED #33 Correctly parses LLONG_MAX: PASSED #34 Set error when > LLONG_MAX: PASSED #35 Correctly parses LLONG_MIN: PASSED #36 Set error when < LLONG_MIN: PASSED #37 Set error when array < -1: PASSED #38 Set error when bulk < -1: PASSED #39 Can configure maximum multi-bulk elements: PASSED #40 Multi-bulk never overflows regardless of maxelements: PASSED #41 Works with NULL functions for reply: PASSED #42 Works when a single newline (\r\n) covers two calls to feed: PASSED #43 Don't reset state after protocol error: PASSED #44 Don't reset state after protocol error(not segfault): PASSED #45 Don't do empty allocation for empty multi bulk: PASSED #46 Can parse RESP3 verbatim strings: PASSED #47 Can parse RESP3 push messages: PASSED #48 Can parse RESP3 doubles: PASSED #49 Set error on invalid RESP3 double: PASSED #50 Correctly parses RESP3 double INFINITY: PASSED #51 Correctly parses RESP3 double NaN: PASSED #52 Correctly parses RESP3 double -Nan: PASSED #53 Can parse RESP3 nil: PASSED #54 Set error on invalid RESP3 nil: PASSED #55 Can parse RESP3 bool (true): PASSED #56 Can parse RESP3 bool (false): PASSED #57 Set error on invalid RESP3 bool: PASSED #58 Can parse RESP3 map: PASSED #59 Can parse RESP3 set: PASSED #60 Can parse RESP3 bignum: PASSED #61 Can parse RESP3 doubles in an array: PASSED #62 Returns error when host cannot be resolved: PASSED #63 Returns error when the port is not open: PASSED #64 We don't clobber connection exception with setsockopt error: PASSED #65 Returns error when the unix_sock socket path doesn't accept connections: PASSED #66 Don't fail when redisFree is passed a NULL value: PASSED #67 Don't fail when freeReplyObject is passed a NULL value: PASSED Testing against TCP connection (127.0.0.1:56379): #68 Is able to deliver commands: PASSED #69 Is a able to send commands verbatim: PASSED #70 %s String interpolation works: PASSED #71 %b String interpolation works: PASSED #72 Binary reply length is correct: PASSED #73 Can parse nil replies: PASSED #74 Can parse integer replies: PASSED #75 Can parse multi bulk replies: PASSED #76 Can handle nested multi bulk replies: PASSED #77 Send command by passing argc/argv: PASSED #78 Can pass NULL to redisGetReply: PASSED #79 RESP3 PUSH messages are handled out of band by default: PASSED #80 We can set a custom RESP3 PUSH handler: PASSED #81 We properly handle a NIL invalidation payload: PASSED #82 With no handler, PUSH replies come in-band: PASSED #83 With no PUSH handler, no replies are lost: PASSED #84 We set a default RESP3 handler for redisContext: PASSED #85 We don't set a default RESP3 push handler for redisAsyncContext: PASSED #86 Our REDIS_OPT_NO_PUSH_AUTOFREE flag works: PASSED #87 We can use redisOptions to set a custom PUSH handler for redisContext: PASSED #88 We can use redisOptions to set a custom PUSH handler for redisAsyncContext: PASSED #89 We can use redisOptions to set privdata: PASSED #90 Our privdata destructor fires when we free the context: PASSED #91 Successfully completes a command when the timeout is not exceeded: PASSED #92 Does not return a reply when the command times out: PASSED #93 Reconnect properly reconnects after a timeout: PASSED #94 Reconnect properly uses owned parameters: PASSED #95 Returns I/O error when the connection is lost: PASSED #96 Returns I/O error on socket timeout: PASSED #97 Set error when an invalid timeout usec value is used during connect: PASSED #98 Set error when an invalid timeout sec value is used during connect: PASSED #99 Append format command: PASSED #100 We can enable TCP_KEEPALIVE: PASSED #101 We can set TCP_USER_TIMEOUT: PASSED #102 Throughput: (1000x PING: 0.029s) (1000x LRANGE with 500 elements: 0.122s) (1000x INCRBY: 0.030s) (10000x PING (pipelined): 0.004s) (10000x LRANGE with 500 elements (pipelined): 0.844s) (10000x INCRBY (pipelined): 0.029s) Testing against Unix socket connection (/tmp/tmp.9p6nvGRqtZ/hiredis-test-redis.sock): #103 Is able to deliver commands: PASSED #104 Is a able to send commands verbatim: PASSED #105 %s String interpolation works: PASSED #106 %b String interpolation works: PASSED #107 Binary reply length is correct: PASSED #108 Can parse nil replies: PASSED #109 Can parse integer replies: PASSED #110 Can parse multi bulk replies: PASSED #111 Can handle nested multi bulk replies: PASSED #112 Send command by passing argc/argv: PASSED #113 Can pass NULL to redisGetReply: PASSED #114 RESP3 PUSH messages are handled out of band by default: PASSED #115 We can set a custom RESP3 PUSH handler: PASSED #116 We properly handle a NIL invalidation payload: PASSED #117 With no handler, PUSH replies come in-band: PASSED #118 With no PUSH handler, no replies are lost: PASSED #119 We set a default RESP3 handler for redisContext: PASSED #120 We don't set a default RESP3 push handler for redisAsyncContext: PASSED #121 Our REDIS_OPT_NO_PUSH_AUTOFREE flag works: PASSED #122 We can use redisOptions to set a custom PUSH handler for redisContext: PASSED #123 We can use redisOptions to set a custom PUSH handler for redisAsyncContext: PASSED #124 We can use redisOptions to set privdata: PASSED #125 Our privdata destructor fires when we free the context: PASSED #126 Successfully completes a command when the timeout is not exceeded: PASSED #127 Does not return a reply when the command times out: PASSED #128 Reconnect properly reconnects after a timeout: PASSED #129 Reconnect properly uses owned parameters: PASSED #130 Returns I/O error when the connection is lost: PASSED #131 Returns I/O error on socket timeout: PASSED #132 Set error when an invalid timeout usec value is used during connect: PASSED #133 Set error when an invalid timeout sec value is used during connect: PASSED #134 Throughput: (1000x PING: 0.021s) (1000x LRANGE with 500 elements: 0.117s) (1000x INCRBY: 0.022s) (10000x PING (pipelined): 0.004s) (10000x LRANGE with 500 elements (pipelined): 0.854s) (10000x INCRBY (pipelined): 0.031s) Testing asynchronous API using polling_adapter TCP (127.0.0.1:56379): #135 Async connect: PASSED #136 Async free after connect: PASSED #137 Async connect timeout: PASSED #138 Async PING/PONG: PASSED #139 Async PING/PONG after connect timeout: PASSED #140 Disconnect from onConnected callback (Issue #931): PASSED #141 Ping/Pong from onConnected callback (Issue #931): PASSED Testing asynchronous API using polling_adapter UNIX (/tmp/tmp.9p6nvGRqtZ/hiredis-test-redis.sock): #142 Async connect: PASSED #143 Async free after connect: PASSED #144 Async PING/PONG: PASSED #145 Disconnect from onConnected callback (Issue #931): PASSED #146 Ping/Pong from onConnected callback (Issue #931): PASSED Testing against inherited fd (/tmp/tmp.9p6nvGRqtZ/hiredis-test-redis.sock): Connecting to inherited fd 3 #147 Is able to deliver commands: PASSED #148 Is a able to send commands verbatim: PASSED #149 %s String interpolation works: PASSED #150 %b String interpolation works: PASSED #151 Binary reply length is correct: PASSED #152 Can parse nil replies: PASSED #153 Can parse integer replies: PASSED #154 Can parse multi bulk replies: PASSED #155 Can handle nested multi bulk replies: PASSED #156 Send command by passing argc/argv: PASSED #157 Can pass NULL to redisGetReply: PASSED #158 RESP3 PUSH messages are handled out of band by default: PASSED #159 We can set a custom RESP3 PUSH handler: PASSED #160 We properly handle a NIL invalidation payload: PASSED #161 With no handler, PUSH replies come in-band: PASSED #162 With no PUSH handler, no replies are lost: PASSED #163 We set a default RESP3 handler for redisContext: PASSED #164 We don't set a default RESP3 push handler for redisAsyncContext: PASSED #165 Our REDIS_OPT_NO_PUSH_AUTOFREE flag works: PASSED #166 We can use redisOptions to set a custom PUSH handler for redisContext: PASSED #167 We can use redisOptions to set a custom PUSH handler for redisAsyncContext: PASSED #168 We can use redisOptions to set privdata: PASSED #169 Our privdata destructor fires when we free the context: PASSED ALL TESTS PASSED (0 skipped) + RPM_EC=0 ++ jobs -p + exit 0 Processing files: hiredis-1.2.0-1.ocs23.x86_64 error: File not found: /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/lib64/libhiredis.so.1.0.0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gSLHDM + umask 022 + cd /builddir/build/BUILD + cd hiredis-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/share/licenses/hiredis + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/share/licenses/hiredis + cp -pr COPYING /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/share/licenses/hiredis + RPM_EC=0 ++ jobs -p + exit 0 RPM build errors: File not found: /builddir/build/BUILDROOT/hiredis-1.2.0-1.ocs23.x86_64/usr/lib64/libhiredis.so.1.0.0 Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/hiredis.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/hiredis.spec