Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rubygem-hiredis.spec'], chrootPath='/var/lib/mock/rocky-9-ppc64le/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=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1618531200 Wrote: /builddir/build/SRPMS/rubygem-hiredis-0.6.3-9.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/rubygem-hiredis.spec"], chrootPath='/var/lib/mock/rocky-9-ppc64le/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=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1618531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.klZDsv + 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 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 Patch #1 (rubygem-hiredis-0.6.3-Support-older-hiredis-version.patch): + echo '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.mNQXA3 + 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 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 -m64 -mcpu=power9 -mtune=power9 -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 -m64 -mcpu=power9 -mtune=power9 -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 '\'' ' + 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", "./siteconf20220117-1426892-k10m0g.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 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -m64 -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 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -m64 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -m64 -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 -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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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.20220117-1426892-gectds/hiredis/ext exit > .sitearchdir.-.hiredis.-.ext.time /usr/bin/install -c -m 0755 hiredis_ext.so ./.gem.20220117-1426892-gectds/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 ./siteconf20220117-1426892-k10m0g.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 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fjTzIw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-9.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-9.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-9.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-9.el9.ppc64le + cd hiredis-0.6.3 + mkdir -p /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-9.el9.ppc64le/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-9.el9.ppc64le/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-9.el9.ppc64le/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-9.el9.ppc64le/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-9.el9.ppc64le/usr/lib64/gems/ruby/hiredis-0.6.3/hiredis/ext + rm -rf /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-9.el9.ppc64le/usr/share/gems/gems/hiredis-0.6.3/ext/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.6.3-9.el9 --unique-debug-suffix -0.6.3-9.el9.ppc64le --unique-debug-src-base rubygem-hiredis-0.6.3-9.el9.ppc64le --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-9.el9.ppc64le/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-9.el9.ppc64le/usr/lib64/gems/ruby/hiredis-0.6.3/hiredis/ext/hiredis_ext.so original debug info size: 120kB, size after compression: 116kB /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 '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.2IHSs3 Processing files: rubygem-hiredis-0.6.3-9.el9.ppc64le warning: File not found: /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-9.el9.ppc64le/usr/share/gems/gems/hiredis-0.6.3/ext Provides: rubygem(hiredis) = 0.6.3 rubygem-hiredis = 0.6.3-9.el9 rubygem-hiredis(ppc-64) = 0.6.3-9.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libhiredis.so.0.13()(64bit) libruby.so.3.0()(64bit) rtld(GNU_HASH) ruby(rubygems) Processing files: rubygem-hiredis-doc-0.6.3-9.el9.noarch Provides: rubygem-hiredis-doc = 0.6.3-9.el9 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.3-9.el9.ppc64le Provides: rubygem-hiredis-debugsource = 0.6.3-9.el9 rubygem-hiredis-debugsource(ppc-64) = 0.6.3-9.el9 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.3-9.el9.ppc64le Provides: debuginfo(build-id) = e0358cdb60b8b82506a161da9b7f971a5b0dfe73 rubygem-hiredis-debuginfo = 0.6.3-9.el9 rubygem-hiredis-debuginfo(ppc-64) = 0.6.3-9.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rubygem-hiredis-debugsource(ppc-64) = 0.6.3-9.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-9.el9.ppc64le Wrote: /builddir/build/RPMS/rubygem-hiredis-debugsource-0.6.3-9.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/rubygem-hiredis-0.6.3-9.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/rubygem-hiredis-debuginfo-0.6.3-9.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/rubygem-hiredis-doc-0.6.3-9.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tBs98O + umask 022 + cd /builddir/build/BUILD + cd hiredis-0.6.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-hiredis-0.6.3-9.el9.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0