Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rubygem-hiredis.spec'], chrootPath='/var/lib/mock/f33-build-213543-48415/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=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Wrote: /builddir/build/SRPMS/rubygem-hiredis-0.6.3-3.fc33.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/f33-build-213543-48415/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=432000uid=987gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.W7plJO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hiredis-0.6.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/hiredis-0.6.3-tests.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gem unpack /builddir/build/SOURCES/hiredis-0.6.3.gem Unpacked gem: '/builddir/build/BUILD/hiredis-0.6.3' + /usr/bin/gem spec /builddir/build/SOURCES/hiredis-0.6.3.gem --ruby + 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 -p1 --fuzz=0 patching file ext/hiredis_ext/extconf.rb + echo 'Patch #1 (rubygem-hiredis-0.6.3-Support-older-hiredis-version.patch):' Patch #1 (rubygem-hiredis-0.6.3-Support-older-hiredis-version.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ext/hiredis_ext/connection.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vVAPiO + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.6.3 + gem build ../hiredis-0.6.3.gemspec WARNING: description and summary are identical WARNING: See http://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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' ' + 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 /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", "./siteconf20200509-21955-15e55uc.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 -f hiredis_ext.so *.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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 '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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 rm -f hiredis_ext.so gcc -shared -o hiredis_ext.so connection.o hiredis_ext.o reader.o -L. -L/usr/lib64 -L. -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.20200509-21955-v2squg/hiredis/ext exit > .sitearchdir.-.hiredis.-.ext.time /usr/bin/install -c -m 0755 hiredis_ext.so ./.gem.20200509-21955-v2squg/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 ./siteconf20200509-21955-15e55uc.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 10 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tTZF2Q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-3.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-3.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-3.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-3.fc33.riscv64 + cd hiredis-0.6.3 + mkdir -p /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-3.fc33.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/specifications /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-3.fc33.riscv64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-3.fc33.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-3.fc33.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-3.fc33.riscv64/usr/lib64/gems/ruby/hiredis-0.6.3/hiredis/ext + rm -rf /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-3.fc33.riscv64/usr/share/gems/gems/hiredis-0.6.3/ext/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.6.3-3.fc33 --unique-debug-suffix -0.6.3-3.fc33.riscv64 --unique-debug-src-base rubygem-hiredis-0.6.3-3.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/hiredis-0.6.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-3.fc33.riscv64/usr/lib64/gems/ruby/hiredis-0.6.3/hiredis/ext/hiredis_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-3.fc33.riscv64/usr/lib64/gems/ruby/hiredis-0.6.3/hiredis/ext/hiredis_ext.so original debug info size: 104kB, size after compression: 104kB /usr/lib/rpm/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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.YLVhsO + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.6.3 + pushd ./usr/share/gems/gems/hiredis-0.6.3 ~/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3 ~/build/BUILD/hiredis-0.6.3 + tar xzf /builddir/build/SOURCES/hiredis-0.6.3-tests.tgz + sed -i '/^ def test_recover_from_partial_write/ a skip' 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)' Run options: --seed 6179 # Running: ..........DEPRECATED: Use assert_nil if expecting nil from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/reader_test.rb:34. This will fail in Minitest 6. .DEPRECATED: Use assert_nil if expecting nil from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/reader_test.rb:104. This will fail in Minitest 6. .....E...........S...E......DEPRECATED: Use assert_nil if expecting nil from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/reader_test.rb:104. This will fail in Minitest 6. .......DEPRECATED: Use assert_nil if expecting nil from /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/reader_test.rb:34. This will fail in Minitest 6. ..... Finished in 2.269549s, 22.4714 runs/s, 29.0807 assertions/s. 1) Error: ExtConnectionTest#test_no_eagain_after_cumulative_wait_exceeds_timeout: Errno::EAGAIN: Resource temporarily unavailable /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/ext/connection.rb:19:in `read' /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/ext/connection.rb:19:in `read' /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:381:in `block in test_no_eagain_after_cumulative_wait_exceeds_timeout' /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:73:in `listen' /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:362:in `test_no_eagain_after_cumulative_wait_exceeds_timeout' 2) Error: ExtConnectionTest#test_eagain_on_write_followed_by_remote_drain: Errno::EAGAIN: Resource temporarily unavailable /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:353:in `flush' /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:353:in `block in test_eagain_on_write_followed_by_remote_drain' /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:73:in `listen' /builddir/build/BUILD/hiredis-0.6.3/usr/share/gems/gems/hiredis-0.6.3/test/connection_test.rb:329:in `test_eagain_on_write_followed_by_remote_drain' 51 runs, 66 assertions, 0 failures, 2 errors, 1 skips You have skipped tests. Run with --verbose for details. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.YLVhsO (%check) Bad exit status from /var/tmp/rpm-tmp.YLVhsO (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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