* Package: dev-libs/hiredis-1.0.2-r2:0/1.0.2 * Repository: gentoo * Maintainer: sam@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ssl test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking hiredis-1.0.2.tar.gz to /var/tmp/portage/dev-libs/hiredis-1.0.2-r2/work >>> Source unpacked in /var/tmp/portage/dev-libs/hiredis-1.0.2-r2/work >>> Preparing source in /var/tmp/portage/dev-libs/hiredis-1.0.2-r2/work/hiredis-1.0.2 ... * Applying hiredis-1.0.0-disable-network-tests.patch ... [ ok ] >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/dev-libs/hiredis-1.0.2-r2/work/hiredis-1.0.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/hiredis-1.0.2-r2/work/hiredis-1.0.2 ... make -j4 AR=x86_64-pc-linux-gnu-ar CC=clang PREFIX=/usr LIBRARY_PATH=lib64 USE_SSL=1 DEBUG_FLAGS= OPTIMIZATION= dynamic static hiredis.pc clang -std=c99 -pedantic -c -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers ssl.c clang -std=c99 -pedantic -c -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers read.c clang -std=c99 -pedantic -c -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers sockcompat.c Generating hiredis.pc for pkgconfig... clang -std=c99 -pedantic -c -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers hiredis.c clang -std=c99 -pedantic -c -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers alloc.c clang -std=c99 -pedantic -c -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers async.c clang -std=c99 -pedantic -c -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers net.c clang -std=c99 -pedantic -c -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers sds.c x86_64-pc-linux-gnu-ar rcs libhiredis_ssl.a ssl.o clang -shared -Wl,-soname,libhiredis_ssl.so.1.0.0 -o libhiredis_ssl.so ssl.o -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lssl -lcrypto clang -shared -Wl,-soname,libhiredis.so.1.0.0 -o libhiredis.so alloc.o net.o hiredis.o sds.o async.o read.o sockcompat.o -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 x86_64-pc-linux-gnu-ar rcs libhiredis.a alloc.o net.o hiredis.o sds.o async.o read.o sockcompat.o >>> Source compiled. >>> Test phase: dev-libs/hiredis-1.0.2-r2 make -j4 AR=x86_64-pc-linux-gnu-ar CC=clang PREFIX=/usr LIBRARY_PATH=lib64 USE_SSL=1 DEBUG_FLAGS= OPTIMIZATION= hiredis-test clang -std=c99 -pedantic -c -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers test.c test.c:657:9: warning: unused variable 'rv' [-Wunused-variable] int rv = getaddrinfo(HIREDIS_BAD_DOMAIN, "6379", &hints, &ai_tmp); ^ 1 warning generated. clang -o hiredis-test -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -I. test.o libhiredis.a libhiredis_ssl.a -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lssl -lcrypto -lssl -lcrypto -lpthread 41:C 08 Nov 2022 10:14:49.442 # Reading config from stdin #01 redisContext uses injected allocators: PASSED #02 redisReader uses injected allocators: PASSED #03 Format command without interpolation: PASSED #04 Format command with %s string interpolation: PASSED #05 Format command with %s and an empty string: PASSED #06 Format command with an empty string in between proper interpolations: PASSED #07 Format command with %b string interpolation: PASSED #08 Format command with %b and an empty string: PASSED #09 Format command with literal %: PASSED #10 Format command with printf-delegation (int): PASSED #11 Format command with printf-delegation (char): PASSED #12 Format command with printf-delegation (short): PASSED #13 Format command with printf-delegation (long): PASSED #14 Format command with printf-delegation (long long): PASSED #15 Format command with printf-delegation (unsigned int): PASSED #16 Format command with printf-delegation (unsigned char): PASSED #17 Format command with printf-delegation (unsigned short): PASSED #18 Format command with printf-delegation (unsigned long): PASSED #19 Format command with printf-delegation (unsigned long long): PASSED #20 Format command with printf-delegation (float): PASSED #21 Format command with printf-delegation (double): PASSED #22 Format command with invalid printf format: PASSED #23 Format command by passing argc/argv without lengths: PASSED #24 Format command by passing argc/argv with lengths: PASSED #25 Format command into sds by passing argc/argv without lengths: PASSED #26 Format command into sds by passing argc/argv with lengths: PASSED #27 Error handling in reply parser: PASSED #28 Memory cleanup in reply parser: PASSED #29 Can handle arbitrarily nested multi-bulks: PASSED #30 Can parse arbitrarily nested multi-bulks correctly: PASSED #31 Correctly parses LLONG_MAX: PASSED #32 Set error when > LLONG_MAX: PASSED #33 Correctly parses LLONG_MIN: PASSED #34 Set error when < LLONG_MIN: PASSED #35 Set error when array < -1: PASSED #36 Set error when bulk < -1: PASSED #37 Can configure maximum multi-bulk elements: PASSED #38 Multi-bulk never overflows regardless of maxelements: PASSED #39 Works with NULL functions for reply: PASSED #40 Works when a single newline (\r\n) covers two calls to feed: PASSED #41 Don't reset state after protocol error: PASSED #42 Don't do empty allocation for empty multi bulk: PASSED #43 Can parse RESP3 verbatim strings: PASSED #44 Can parse RESP3 push messages: PASSED #45 Returns error when the port is not open: PASSED #46 Don't fail when redisFree is passed a NULL value: PASSED #47 Don't fail when freeReplyObject is passed a NULL value: PASSED Testing against Unix socket connection (/var/tmp/portage/dev-libs/hiredis-1.0.2-r2/temp/hiredis.sock): #48 Is able to deliver commands: PASSED #49 Is a able to send commands verbatim: PASSED #50 %s String interpolation works: PASSED #51 %b String interpolation works: PASSED #52 Binary reply length is correct: PASSED #53 Can parse nil replies: PASSED #54 Can parse integer replies: PASSED #55 Can parse multi bulk replies: PASSED #56 Can handle nested multi bulk replies: PASSED #57 Can pass NULL to redisGetReply: PASSED #58 RESP3 PUSH messages are handled out of band by default: PASSED #59 We can set a custom RESP3 PUSH handler: FAILED #60 With no handler, PUSH replies come in-band: PASSED #61 With no PUSH handler, no replies are lost: FAILED hiredis-test: test.c:151: void send_hello(redisContext *, int): Assertion `reply != NULL && reply->type == expected' failed. /var/tmp/portage/dev-libs/hiredis-1.0.2-r2/temp/environment: line 1351: 43 Aborted ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} * ERROR: dev-libs/hiredis-1.0.2-r2::gentoo failed (test phase): * tests failed * * Call stack: * ebuild.sh, line 122: Called src_test * environment, line 1367: Called die * The specific snippet of code: * [[ ${ret} != "0" ]] && die "tests failed" * * If you need support, post the output of `emerge --info '=dev-libs/hiredis-1.0.2-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/hiredis-1.0.2-r2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:hiredis-1.0.2-r2:20221108-101447.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/hiredis-1.0.2-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/hiredis-1.0.2-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/hiredis-1.0.2-r2/work/hiredis-1.0.2' * S: '/var/tmp/portage/dev-libs/hiredis-1.0.2-r2/work/hiredis-1.0.2'