Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ruby.spec'], chrootPath='/var/lib/mock/module-ruby-2.6-8040020210930001031-9f9e2e7e-build-41871-8061/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=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ruby.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: i686 Building for target i686 Wrote: /builddir/build/SRPMS/ruby-2.6.7-107.module+el8.4.0+208+bbc2c0d0.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/ruby.spec'], chrootPath='/var/lib/mock/module-ruby-2.6-8040020210930001031-9f9e2e7e-build-41871-8061/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=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/ruby.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: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.o8A5ZI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ruby-2.6.7 + /usr/bin/xz -dc /builddir/build/SOURCES/ruby-2.6.7.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ruby-2.6.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf ext/psych/yaml + rm -rf ext/fiddle/libffi-3.2.1 + echo 'Patch #0 (ruby-2.3.0-ruby_version.patch):' Patch #0 (ruby-2.3.0-ruby_version.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac patching file template/ruby.pc.in patching file lib/rdoc/ri/paths.rb patching file tool/rbinstall.rb patching file lib/rubygems/defaults.rb patching file test/rubygems/test_gem.rb patching file configure.ac Patch #1 (ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch): + echo 'Patch #1 (ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac patching file loadpath.c patching file tool/mkconfig.rb Patch #2 (ruby-2.1.0-Enable-configuration-of-archlibdir.patch): + echo 'Patch #2 (ruby-2.1.0-Enable-configuration-of-archlibdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac Patch #3 (ruby-2.1.0-always-use-i386.patch): + echo 'Patch #3 (ruby-2.1.0-always-use-i386.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac Patch #4 (ruby-2.1.0-custom-rubygems-location.patch): + echo 'Patch #4 (ruby-2.1.0-custom-rubygems-location.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac patching file loadpath.c patching file template/verconf.h.tmpl patching file tool/rbinstall.rb Patch #5 (ruby-1.9.3-mkmf-verbose.patch): + echo 'Patch #5 (ruby-1.9.3-mkmf-verbose.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/mkmf.rb Patch #6 (ruby-2.1.0-Allow-to-specify-additional-preludes-by-configuratio.patch): + echo 'Patch #6 (ruby-2.1.0-Allow-to-specify-additional-preludes-by-configuratio.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in patching file common.mk patching file configure.ac Patch #7 (ruby-2.2.3-Generate-preludes-using-miniruby.patch): + echo 'Patch #7 (ruby-2.2.3-Generate-preludes-using-miniruby.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file common.mk Patch #9 (ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch): + echo 'Patch #9 (ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file test/fiddle/helper.rb Patch #11 (rubygems-3.0.3-Restore-gem-build-behavior-and-introdcue-the-C-flag-to-gem-build.patch): + echo 'Patch #11 (rubygems-3.0.3-Restore-gem-build-behavior-and-introdcue-the-C-flag-to-gem-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/rubygems/commands/build_command.rb patching file test/rubygems/test_gem_commands_build_command.rb Patch #12 (rubygems-3.0.3-Avoid-rdoc-hook-when-its-failed-to-load-rdoc-library.patch): + echo 'Patch #12 (rubygems-3.0.3-Avoid-rdoc-hook-when-its-failed-to-load-rdoc-library.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/rubygems/rdoc.rb Patch #22 (ruby-2.6.0-config-support-include-directive.patch): + echo 'Patch #22 (ruby-2.6.0-config-support-include-directive.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ext/openssl/lib/openssl/config.rb patching file test/openssl/test_config.rb Patch #24 (ruby-2.7.0-preview1-IO.select-on-all-platforms-to-wait-for-input-with-recvfr.patch): + echo 'Patch #24 (ruby-2.7.0-preview1-IO.select-on-all-platforms-to-wait-for-input-with-recvfr.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file spec/ruby/library/socket/socket/recvfrom_nonblock_spec.rb patching file spec/ruby/library/socket/socket/accept_nonblock_spec.rb patching file spec/ruby/library/socket/udpsocket/recvfrom_nonblock_spec.rb Patch #25 (ruby-2.6.3-fiddle-1.0.0-ffi-closure-alloc-default.patch): + echo 'Patch #25 (ruby-2.6.3-fiddle-1.0.0-ffi-closure-alloc-default.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ext/fiddle/closure.c Patch #26 (ruby-3.0.0-Convert-ip-addresses-to-canonical-form.patch): + echo 'Patch #26 (ruby-3.0.0-Convert-ip-addresses-to-canonical-form.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/resolv.rb Patch #27 (rubygem-bundler-2.1.0-dont-use-insecure-temporary-directory-as-home-directory.patch): + echo 'Patch #27 (rubygem-bundler-2.1.0-dont-use-insecure-temporary-directory-as-home-directory.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/bundler.rb patching file spec/bundler/bundler/bundler_spec.rb Hunk #1 succeeded at 233 (offset 1 line). Hunk #2 succeeded at 252 (offset 1 line). Hunk #3 succeeded at 277 (offset 1 line). patching file spec/bundler/bundler/settings_spec.rb + cp -a /builddir/build/SOURCES/ruby-exercise.stp . + cp -a /builddir/build/SOURCES/abrt_prelude.rb . Patch #28 (0001-Fix-timestamp-test.patch): + echo 'Patch #28 (0001-Fix-timestamp-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file spec/ruby/core/file/utime_spec.rb Patch #29 (0001-Skip-failed-tests.patch): + echo 'Patch #29 (0001-Skip-failed-tests.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file test/ruby/test_jit.rb Hunk #1 FAILED at 3. 1 out of 1 hunk FAILED -- saving rejects to file test/ruby/test_jit.rb.rej patching file test/ruby/test_rubyvm_mjit.rb error: Bad exit status from /var/tmp/rpm-tmp.o8A5ZI (%prep) Bad exit status from /var/tmp/rpm-tmp.o8A5ZI (%prep) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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 i686 --nodeps /builddir/build/SPECS/ruby.spec