Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rubygem-hiredis.spec'], chrootPath='/var/lib/mock/f37-build-653080-72770/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rubygem-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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/rubygem-hiredis-0.6.3-13.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-hiredis.spec'], chrootPath='/var/lib/mock/f37-build-653080-72770/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aBAIV0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hiredis-0.6.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hiredis-0.6.3-tests.tgz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hiredis-0.6.3.gem Unpacked gem: '/builddir/build/BUILD/hiredis-0.6.3' + STATUS=0 + '[' 0 -ne 0 ']' + cd hiredis-0.6.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + read -d '' gemspec_remove_file_script + : + echo 'gemspec_file = '\''/builddir/build/BUILD/hiredis-0.6.3.gemspec'\'' abort("gemspec_remove_file: Use only one '\''-t'\'' or '\''-r'\'' at a time.") if "" == "-t-r" filenames = Dir.glob('\''vendor/**/*'\'') filenames = Array(filenames) spec = Gem::Specification.load(gemspec_file) abort("#{gemspec_file} is not accessible.") unless spec spec.files -= filenames + ruby File.write gemspec_file, spec.to_ruby' + unset -v gemspec_remove_file_script + rm -rf ./vendor + echo 'Patch #0 (rubygem-hiredis-0.6.1-Build-against-system-hiredis.patch):' Patch #0 (rubygem-hiredis-0.6.1-Build-against-system-hiredis.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ext/hiredis_ext/extconf.rb + echo 'Patch #1 (hiredis-0.6.3-bump-hiredis-to-1.0.0.patch):' Patch #1 (hiredis-0.6.3-bump-hiredis-to-1.0.0.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ext/hiredis_ext/reader.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cQL51I + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hiredis-0.6.3 + gem build ../hiredis-0.6.3.gemspec WARNING: description and summary are identical WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: hiredis Version: 0.6.3 File: hiredis-0.6.3.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc hiredis-0.6.3.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/hiredis-0.6.3 Bin dir: /builddir/build/BUILD/hiredis-0.6.3/usr/bin Gem home: /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems Plugins dir: /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/plugins /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/COPYING /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/Rakefile /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/ext/hiredis_ext/connection.c /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/ext/hiredis_ext/extconf.rb /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/ext/hiredis_ext/hiredis_ext.c /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/ext/hiredis_ext/hiredis_ext.h /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/ext/hiredis_ext/reader.c /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis.rb /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/connection.rb /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/ext/connection.rb /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/ext/reader.rb /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/reader.rb /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/ruby/connection.rb /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/ruby/reader.rb /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/version.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/ext/hiredis_ext ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20221018-32301-7tbdd2.rb", "extconf.rb"] checking for sys/socket.h... yes checking for rb_thread_fd_select()... yes creating Makefile current directory: /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/ext/hiredis_ext ["make", "DESTDIR=", "clean"] rm -f rm -fr hiredis_ext.so false *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/ext/hiredis_ext ["make", "DESTDIR="] gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/include/hiredis -DHAVE_SYS_SOCKET_H -DHAVE_RB_THREAD_FD_SELECT -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -o connection.o -c connection.c connection.c: In function 'parent_context_mark': connection.c:33:23: warning: implicit declaration of function 'redisReaderGetObject'; did you mean 'redisReplyReaderGetObject'? [-Wimplicit-function-declaration] 33 | root = (VALUE)redisReaderGetObject(pc->context->reader); | ^~~~~~~~~~~~~~~~~~~~ | redisReplyReaderGetObject connection.c: In function 'connection_read': connection.c:458:24: warning: passing argument 2 of '__get_reply' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 458 | if (__get_reply(pc,&reply) == -1) | ^~~~~~ connection.c:375:55: note: expected 'VALUE *' {aka 'long unsigned int *'} but argument is of type 'volatile VALUE *' {aka 'volatile long unsigned int *'} 375 | static int __get_reply(redisParentContext *pc, VALUE *reply) { | ~~~~~~~^~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/include/hiredis -DHAVE_SYS_SOCKET_H -DHAVE_RB_THREAD_FD_SELECT -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -o hiredis_ext.o -c hiredis_ext.c gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I/usr/include/hiredis -DHAVE_SYS_SOCKET_H -DHAVE_RB_THREAD_FD_SELECT -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -o reader.o -c reader.c reader.c:58:5: warning: initialization of 'void * (*)(const redisReadTask *, int)' from incompatible pointer type 'void * (*)(const redisReadTask *, size_t)' {aka 'void * (*)(const redisReadTask *, long unsigned int)'} [-Wincompatible-pointer-types] 58 | createArrayObject, | ^~~~~~~~~~~~~~~~~ reader.c:58:5: note: (near initialization for 'redisExtReplyObjectFunctions.createArray') reader.c:61:5: warning: initialization of 'void (*)(void *)' from incompatible pointer type 'void * (*)(const redisReadTask *)' [-Wincompatible-pointer-types] 61 | createNilObject, | ^~~~~~~~~~~~~~~ reader.c:61:5: note: (near initialization for 'redisExtReplyObjectFunctions.freeObject') reader.c:62:5: warning: excess elements in struct initializer 62 | NULL, | ^~~~ reader.c:62:5: note: (near initialization for 'redisExtReplyObjectFunctions') reader.c:63:5: warning: excess elements in struct initializer 63 | freeObject | ^~~~~~~~~~ reader.c:63:5: note: (near initialization for 'redisExtReplyObjectFunctions') rm -f hiredis_ext.so gcc -shared -o hiredis_ext.so connection.o hiredis_ext.o reader.o -L. -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -lruby -lhiredis -lm -lc current directory: /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/ext/hiredis_ext ["make", "DESTDIR=", "install"] /usr/bin/mkdir -p . ./.gem.20221018-32301-1cd0qn/hiredis/ext exit > .sitearchdir.-.hiredis.-.ext.time /usr/bin/install -c -m 0755 hiredis_ext.so ./.gem.20221018-32301-1cd0qn/hiredis/ext current directory: /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/ext/hiredis_ext /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20221018-32301-7tbdd2.rb extconf.rb current directory: /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/ext/hiredis_ext make DESTDIR\= clean current directory: /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/ext/hiredis_ext make DESTDIR\= current directory: /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/ext/hiredis_ext make DESTDIR\= install Successfully installed hiredis-0.6.3 Parsing documentation for hiredis-0.6.3 Parsing sources... 5% [ 1/18] ext/hiredis_ext/Makefile 11% [ 2/18] ext/hiredis_ext/connection.c 16% [ 3/18] ext/hiredis_ext/connection.o 22% [ 4/18] ext/hiredis_ext/extconf.rb 27% [ 5/18] ext/hiredis_ext/hiredis_ext.c 33% [ 6/18] ext/hiredis_ext/hiredis_ext.h 38% [ 7/18] ext/hiredis_ext/hiredis_ext.o 44% [ 8/18] ext/hiredis_ext/hiredis_ext.so 50% [ 9/18] ext/hiredis_ext/reader.c 55% [10/18] ext/hiredis_ext/reader.o 61% [11/18] lib/hiredis.rb 66% [12/18] lib/hiredis/connection.rb 72% [13/18] lib/hiredis/ext/connection.rb 77% [14/18] lib/hiredis/ext/reader.rb 83% [15/18] lib/hiredis/reader.rb 88% [16/18] lib/hiredis/ruby/connection.rb 94% [17/18] lib/hiredis/ruby/reader.rb 100% [18/18] lib/hiredis/version.rb Installing ri documentation for hiredis-0.6.3 Installing darkfish documentation for hiredis-0.6.3 Done installing documentation for hiredis after 2 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JNl5w9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-13.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-13.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-13.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-13.fc37.riscv64 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hiredis-0.6.3 + mkdir -p /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-13.fc37.riscv64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-13.fc37.riscv64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-13.fc37.riscv64/usr/lib64/gems/ruby/hiredis-0.6.3/hiredis/ext + cp -a ./usr/lib64/gems/ruby/hiredis-0.6.3/gem.build_complete /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-13.fc37.riscv64/usr/lib64/gems/ruby/hiredis-0.6.3/ + cp -a ./usr/lib64/gems/ruby/hiredis-0.6.3/hiredis/ext/hiredis_ext.so /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-13.fc37.riscv64/usr/lib64/gems/ruby/hiredis-0.6.3/hiredis/ext + rm -rf /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-13.fc37.riscv64/usr/share/gems/gems/hiredis-0.6.3/ext/ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.6.3-13.fc37 --unique-debug-suffix -0.6.3-13.fc37.riscv64 --unique-debug-src-base rubygem-hiredis-0.6.3-13.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/hiredis-0.6.3 extracting debug info from /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-13.fc37.riscv64/usr/lib64/gems/ruby/hiredis-0.6.3/hiredis/ext/hiredis_ext.so original debug info size: 224kB, size after compression: 224kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 39 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.p3yfCM + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS ~/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3 ~/build/BUILD/hiredis-0.6.3 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hiredis-0.6.3 + pushd ./usr/share/gems/gems/hiredis-0.6.3 + cp -a /builddir/build/BUILD/test . + sed -i '/^ def test_recover_from_partial_write/ a skip' test/connection_test.rb + sed -i '/^ def test_eagain_on_write_followed_by_remote_drain/ a skip' test/connection_test.rb + sed -i -r '/(name or service not known)/ s|(/i)|\|(temporary failure in name resolution)\1|' test/connection_test.rb ++ dirs +1 + ruby '-Ilib:~/build/BUILD/hiredis-0.6.3/usr/lib64/gems/ruby/hiredis-0.6.3' -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' :85:in `require': /builddir/build/BUILD/hiredis-0.6.3/usr/lib64/gems/ruby/hiredis-0.6.3/hiredis/ext/hiredis_ext.so: undefined symbol: redisReaderGetObject - /builddir/build/BUILD/hiredis-0.6.3/usr/lib64/gems/ruby/hiredis-0.6.3/hiredis/ext/hiredis_ext.so (LoadError) from :85:in `require' from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/ext/connection.rb:1:in `' from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/helper.rb:4:in `require_relative' from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/helper.rb:4:in `' from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:3:in `require_relative' from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:3:in `' from :85:in `require' from :85:in `require' from :220:in `glob' from -e:1:in `
' error: Bad exit status from /var/tmp/rpm-tmp.p3yfCM (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.p3yfCM (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/rubygem-hiredis.spec