Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-rspec-support.spec'], chrootPath='/var/lib/mock/dist-ocs23-rebuild-test-0-build-295620-28700/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-rspec-support.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/rubygem-rspec-support-3.12.0-7.ocs23.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-rspec-support.spec'], chrootPath='/var/lib/mock/dist-ocs23-rebuild-test-0-build-295620-28700/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-rspec-support.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T11jsu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rspec-support-3.12.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v3.12.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rspec-support-3.12.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/rspec-support-3.12.0.gem -l --ruby + echo 'Patch #3000 (rubygem-rspec-support-3.12.0-pend-lock-fiber-test.patch):' Patch #3000 (rubygem-rspec-support-3.12.0-pend-lock-fiber-test.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/rspec/support/reentrant_mutex_spec.rb Patch #3001 (rubygem-rspec-support-3.2.1-callerfilter-searchpath-regex.patch): + echo 'Patch #3001 (rubygem-rspec-support-3.2.1-callerfilter-searchpath-regex.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/rspec/support/caller_filter_spec.rb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JCmE5B + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rspec-support-3.12.0 + gem build rspec-support.gemspec WARNING: expected RubyGems version 3.5.16, was 3.1.6 WARNING: open-ended dependency on rake (> 10.0.0, development) is not recommended if rake is semantically versioned, use: add_development_dependency "rake", "~> 10.0", "> 10.0.0" WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: rspec-support Version: 3.12.0 File: rspec-support-3.12.0.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc rspec-support-3.12.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rspec-support-3.12.0 Bin dir: /builddir/build/BUILD/rspec-support-3.12.0/usr/bin Gem home: /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems Plugins dir: /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/plugins /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/Changelog.md /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/LICENSE.md /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/README.md /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/caller_filter.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/comparable_version.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/differ.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/directory_maker.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/encoded_string.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/fuzzy_matcher.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/hunk_generator.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/matcher_definition.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/method_signature_verifier.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/mutex.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/object_formatter.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/recursive_const_methods.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/reentrant_mutex.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/ruby_features.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/source.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/source/location.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/source/node.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/source/token.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/spec.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/spec/deprecation_helpers.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/spec/diff_helpers.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/spec/formatting_support.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/spec/in_sub_process.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/spec/library_wide_checks.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/spec/shell_out.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/spec/stderr_splitter.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/spec/string_matcher.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/spec/with_isolated_directory.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/spec/with_isolated_stderr.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/version.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/warnings.rb /builddir/build/BUILD/rspec-support-3.12.0/usr/share/gems/gems/rspec-support-3.12.0/lib/rspec/support/with_keywords_when_needed.rb Successfully installed rspec-support-3.12.0 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wW1FJ5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-rspec-support-3.12.0-7.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-rspec-support-3.12.0-7.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/rubygem-rspec-support-3.12.0-7.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-rspec-support-3.12.0-7.ocs23.noarch + cd rspec-support-3.12.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-rspec-support-3.12.0-7.ocs23.noarch/usr/share/gems + cp -pa ./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-rspec-support-3.12.0-7.ocs23.noarch/usr/share/gems/ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.12.0-7.ocs23 --unique-debug-suffix -3.12.0-7.ocs23.noarch --unique-debug-src-base rubygem-rspec-support-3.12.0-7.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/rspec-support-3.12.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kA4XLB + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rspec-support-3.12.0 + LANG=C.UTF-8 + FAILFILE=() + FAILTEST=() + (( i = 0 )) + (( i < 0 )) ++ pwd + export RUBYLIB=/builddir/build/BUILD/rspec-support-3.12.0/lib + RUBYLIB=/builddir/build/BUILD/rspec-support-3.12.0/lib + rspec spec/ Simplecov could not be loaded Randomized with seed 13618 .....................................................................................................................................................................................................................................................................................................................................................................................................................*................................................................................fatal: not a git repository (or any of the parent directories): .git ...........................................................*....... Pending: (Failures listed here are expected and do not affect your suite's status) 1) RSpec::Support::ShellOut can shell out to ruby with the current load path # Need to investigate why this is failing -- see https://travis-ci.org/rspec/rspec-core/jobs/60327106 and https://travis-ci.org/rspec/rspec-support/jobs/60296920 for examples # ./spec/rspec/support/spec/shell_out_spec.rb:22 2) RSpecHelpers#expect_warn_deprecation fails when there were no deprecations # No reason given Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure } expected /received: 0 times/ but nothing was raised # ./spec/rspec/support/deprecation_helpers_spec.rb:66:in `block (4 levels) in ' # ./spec/rspec/support/deprecation_helpers_spec.rb:65:in `block (3 levels) in ' Finished in 0.95084 seconds (files took 0.2163 seconds to load) 553 examples, 0 failures, 2 pending Randomized with seed 13618 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-rspec-support-3.12.0-7.ocs23.noarch error: File not found: /builddir/build/BUILDROOT/rubygem-rspec-support-3.12.0-7.ocs23.noarch/usr/share/gems/doc/rspec-support-3.12.0 RPM build warnings: RPM build errors: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) File not found: /builddir/build/BUILDROOT/rubygem-rspec-support-3.12.0-7.ocs23.noarch/usr/share/gems/doc/rspec-support-3.12.0 Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-rspec-support.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-rspec-support.spec