Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rubygem-hiredis.spec'], chrootPath='/var/lib/mock/f30-build-38224-22056/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=345600uid=995gid=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 Wrote: /builddir/build/SRPMS/rubygem-hiredis-0.6.1-2.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-hiredis.spec'], chrootPath='/var/lib/mock/f30-build-38224-22056/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=345600uid=995gid=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZLNTj6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hiredis-0.6.1 + /usr/bin/gem unpack /builddir/build/SOURCES/hiredis-0.6.1.gem Unpacked gem: '/builddir/build/BUILD/hiredis-0.6.1' + /usr/bin/gem spec /builddir/build/SOURCES/hiredis-0.6.1.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd hiredis-0.6.1 + /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.1.gemspec'\'' BUILDSTDERR: BUILDSTDERR: abort("gemspec_remove_file: Use only one '\''-t'\'' or '\''-r'\'' at a time.") if "" == "-t-r" BUILDSTDERR: BUILDSTDERR: filenames = Dir.glob('\''vendor/**/*'\'') BUILDSTDERR: filenames = Array(filenames) BUILDSTDERR: BUILDSTDERR: spec = Gem::Specification.load(gemspec_file) BUILDSTDERR: abort("#{gemspec_file} is not accessible.") unless spec BUILDSTDERR: BUILDSTDERR: spec.files -= filenames BUILDSTDERR: File.write gemspec_file, spec.to_ruby' + ruby + unset -v gemspec_remove_file_script + rm -rf ./vendor Patch #0 (rubygem-hiredis-0.6.1-Build-against-system-hiredis.patch): + echo '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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BtiVOF + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.6.1 + gem build ../hiredis-0.6.1.gemspec BUILDSTDERR: WARNING: description and summary are identical BUILDSTDERR: WARNING: pessimistic dependency on minitest (~> 5.5.1, development) may be overly strict BUILDSTDERR: if minitest is semantically versioned, use: BUILDSTDERR: add_development_dependency 'minitest', '~> 5.5', '>= 5.5.1' BUILDSTDERR: WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: hiredis Version: 0.6.1 File: hiredis-0.6.1.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'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc hiredis-0.6.1.gem BUILDSTDERR: WARNING: You build with buildroot. BUILDSTDERR: Build root: /builddir/build/BUILD/hiredis-0.6.1 BUILDSTDERR: Bin dir: /builddir/build/BUILD/hiredis-0.6.1/usr/bin BUILDSTDERR: Gem home: /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/COPYING /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/Rakefile /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/ext/hiredis_ext/connection.c /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/ext/hiredis_ext/extconf.rb /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/ext/hiredis_ext/hiredis_ext.c /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/ext/hiredis_ext/hiredis_ext.h /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/ext/hiredis_ext/reader.c /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/lib/hiredis.rb /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/lib/hiredis/connection.rb /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/lib/hiredis/ext/connection.rb /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/lib/hiredis/ext/reader.rb /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/lib/hiredis/reader.rb /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/lib/hiredis/ruby/connection.rb /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/lib/hiredis/ruby/reader.rb /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/lib/hiredis/version.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/ext/hiredis_ext /usr/bin/ruby -r ./siteconf20181206-30600-oly1e4.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.1/usr/share/gems/gems/hiredis-0.6.1/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.1/usr/share/gems/gems/hiredis-0.6.1/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 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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lruby -lhiredis -lc current directory: /builddir/build/BUILD/hiredis-0.6.1/usr/share/gems/gems/hiredis-0.6.1/ext/hiredis_ext make "DESTDIR=" install /usr/bin/mkdir -p . ./.gem.20181206-30600-12ums51/hiredis/ext exit > .sitearchdir.-.hiredis.-.ext.time /usr/bin/install -c -m 0755 hiredis_ext.so ./.gem.20181206-30600-12ums51/hiredis/ext Successfully installed hiredis-0.6.1 Parsing documentation for hiredis-0.6.1 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.1 Installing darkfish documentation for hiredis-0.6.1 Done installing documentation for hiredis after 40 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tsD9ZK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.riscv64 + cd hiredis-0.6.1 + mkdir -p /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.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.1-2.fc30.riscv64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.riscv64/usr/lib64/gems/ruby/hiredis-0.6.1/hiredis/ext + cp -a ./usr/lib64/gems/ruby/hiredis-0.6.1/gem.build_complete /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.riscv64/usr/lib64/gems/ruby/hiredis-0.6.1/ + cp -a ./usr/lib64/gems/ruby/hiredis-0.6.1/hiredis/ext/hiredis_ext.so /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.riscv64/usr/lib64/gems/ruby/hiredis-0.6.1/hiredis/ext + rm -rf /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.riscv64/usr/share/gems/gems/hiredis-0.6.1/ext/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.6.1-2.fc30 --unique-debug-suffix -0.6.1-2.fc30.riscv64 --unique-debug-src-base rubygem-hiredis-0.6.1-2.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/hiredis-0.6.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.riscv64/usr/lib64/gems/ruby/hiredis-0.6.1/hiredis/ext/hiredis_ext.so extracting debug info from /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.riscv64/usr/lib64/gems/ruby/hiredis-0.6.1/hiredis/ext/hiredis_ext.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 38 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/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.X4mmmC Processing files: rubygem-hiredis-0.6.1-2.fc30.riscv64 BUILDSTDERR: warning: File not found: /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.riscv64/usr/share/gems/gems/hiredis-0.6.1/ext Provides: rubygem(hiredis) = 0.6.1-1 rubygem-hiredis = 0.6.1-2.fc30 rubygem-hiredis(riscv-64) = 0.6.1-2.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libhiredis.so.0.13()(64bit) libruby.so.2.5()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-hiredis-doc-0.6.1-2.fc30.noarch Provides: rubygem-hiredis-doc = 0.6.1-2.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-hiredis-debugsource-0.6.1-2.fc30.riscv64 Provides: rubygem-hiredis-debugsource = 0.6.1-2.fc30 rubygem-hiredis-debugsource(riscv-64) = 0.6.1-2.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rubygem-hiredis-debuginfo-0.6.1-2.fc30.riscv64 Provides: debuginfo(build-id) = 68324eacde913df6404cac1a0cd43c5cdb365e5d rubygem-hiredis-debuginfo = 0.6.1-2.fc30 rubygem-hiredis-debuginfo(riscv-64) = 0.6.1-2.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-hiredis-debugsource(riscv-64) = 0.6.1-2.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.riscv64 Wrote: /builddir/build/RPMS/rubygem-hiredis-0.6.1-2.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-hiredis-doc-0.6.1-2.fc30.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-hiredis-debugsource-0.6.1-2.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/rubygem-hiredis-debuginfo-0.6.1-2.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CLYEmD + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.6.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-hiredis-0.6.1-2.fc30.riscv64 + exit 0 Child return code was: 0