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-mocks.spec'], chrootPath='/var/lib/mock/dist-ocs23-rebuild-test-0-build-295833-28715/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-mocks.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/rubygem-rspec-mocks-3.12.4-7.ocs23.src.rpm 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-mocks.spec'], chrootPath='/var/lib/mock/dist-ocs23-rebuild-test-0-build-295833-28715/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-mocks.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.at9W0t + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/rspec-mocks-3.12.4.gem Unpacked gem: '/builddir/build/BUILD/rspec-mocks-3.12.4' + cd /builddir/build/BUILD + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v3.12.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rspec-mocks-3.12.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i cucumber.yml -e 's|~@wip|not @wip|' + sed -i features/support/disallow_certain_apis.rb -e 's|~@allow-old-syntax|not @allow-old-syntax|' + gem specification /builddir/build/SOURCES/rspec-mocks-3.12.4.gem -l --ruby + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hK94g4 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-mocks-3.12.4 + gem build rspec-mocks.gemspec WARNING: expected RubyGems version 3.5.16, was 3.4.1 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: open-ended dependency on cucumber (>= 1.3, development) is not recommended if cucumber is semantically versioned, use: add_development_dependency "cucumber", "~> 1.3" WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: rspec-mocks Version: 3.12.4 File: rspec-mocks-3.12.4.gem + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ehobc2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-rspec-mocks-3.12.4-7.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-rspec-mocks-3.12.4-7.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/rubygem-rspec-mocks-3.12.4-7.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-rspec-mocks-3.12.4-7.ocs23.noarch + cd rspec-mocks-3.12.4 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-mocks-3.12.4.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rspec-mocks-3.12.4 Bin dir: /builddir/build/BUILD/rspec-mocks-3.12.4/usr/bin Gem home: /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems Plugins dir: /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/plugins /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/.document /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/.yardopts /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/Changelog.md /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/LICENSE.md /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/README.md /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/any_instance.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/any_instance/chain.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/any_instance/error_generator.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/any_instance/expect_chain_chain.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/any_instance/expectation_chain.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/any_instance/message_chains.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/any_instance/proxy.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/any_instance/recorder.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/any_instance/stub_chain.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/any_instance/stub_chain_chain.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/argument_list_matcher.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/argument_matchers.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/configuration.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/error_generator.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/example_methods.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/instance_method_stasher.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/marshal_extension.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/matchers/expectation_customization.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/matchers/have_received.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/matchers/receive.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/matchers/receive_message_chain.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/matchers/receive_messages.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/message_chain.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/message_expectation.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/method_double.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/method_reference.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/minitest_integration.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/mutate_const.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/object_reference.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/order_group.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/proxy.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/space.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/standalone.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/syntax.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/targets.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/test_double.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/verifying_double.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/verifying_message_expectation.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/verifying_proxy.rb /builddir/build/BUILD/rspec-mocks-3.12.4/usr/share/gems/gems/rspec-mocks-3.12.4/lib/rspec/mocks/version.rb Successfully installed rspec-mocks-3.12.4 1 gem installed + mkdir -p /builddir/build/BUILDROOT/rubygem-rspec-mocks-3.12.4-7.ocs23.noarch/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-rspec-mocks-3.12.4-7.ocs23.noarch/usr/share/gems/ + rm -f /builddir/build/BUILDROOT/rubygem-rspec-mocks-3.12.4-7.ocs23.noarch/usr/share/gems/gems/rspec-mocks-3.12.4/.document /builddir/build/BUILDROOT/rubygem-rspec-mocks-3.12.4-7.ocs23.noarch/usr/share/gems/gems/rspec-mocks-3.12.4/.yardopts + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.12.4-7.ocs23 --unique-debug-suffix -3.12.4-7.ocs23.noarch --unique-debug-src-base rubygem-rspec-mocks-3.12.4-7.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/rspec-mocks-3.12.4 + /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.M5cAxf + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-mocks-3.12.4 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-rspec-mocks-3.12.4-7.ocs23.noarch error: File not found: /builddir/build/BUILDROOT/rubygem-rspec-mocks-3.12.4-7.ocs23.noarch/usr/share/gems/doc/rspec-mocks-3.12.4 RPM build errors: File not found: /builddir/build/BUILDROOT/rubygem-rspec-mocks-3.12.4-7.ocs23.noarch/usr/share/gems/doc/rspec-mocks-3.12.4 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-mocks.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-mocks.spec