Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-contracts.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64/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=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-contracts.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1612051200 Wrote: /builddir/build/SRPMS/rubygem-contracts-0.16.0-10.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/rubygem-contracts.spec"], chrootPath='/var/lib/mock/rocky-9-x86_64/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=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/rubygem-contracts.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1612051200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SHVNuV + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/contracts-0.16.0.gem Unpacked gem: '/builddir/build/BUILD/contracts-0.16.0' + cd /builddir/build/BUILD + cd contracts-0.16.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (rubygem-contracts-0.16.0-0001-Don-t-use-exceptions-for-control-flow.patch): + echo 'Patch #1 (rubygem-contracts-0.16.0-0001-Don-t-use-exceptions-for-control-flow.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/contracts/call_with.rb patching file lib/contracts/method_handler.rb Patch #2 (rubygem-contracts-0.16.0-0002-Update-spec-to-specify-error-class-to-suppress-RSpec.patch): + echo 'Patch #2 (rubygem-contracts-0.16.0-0002-Update-spec-to-specify-error-class-to-suppress-RSpec.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file spec/contracts_spec.rb patching file spec/methods_spec.rb Patch #3 (rubygem-contracts-0.16.0-0003-Fix-misspellings-in-comments.patch): + echo 'Patch #3 (rubygem-contracts-0.16.0-0003-Fix-misspellings-in-comments.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/contracts/call_with.rb patching file spec/ruby_version_specific/contracts_spec_2.1.rb Patch #4 (rubygem-contracts-0.16.0-0004-Wrapping-blocks-only-when-there-is-a-Func-check.-bug.patch): + echo 'Patch #4 (rubygem-contracts-0.16.0-0004-Wrapping-blocks-only-when-there-is-a-Func-check.-bug.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/contracts/call_with.rb + gem spec /builddir/build/SOURCES/contracts-0.16.0.gem -l --ruby + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qwSNKW + umask 022 + cd /builddir/build/BUILD + cd contracts-0.16.0 + gem build contracts.gemspec Successfully built RubyGem Name: contracts Version: 0.16.0 File: contracts-0.16.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc contracts-0.16.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/contracts-0.16.0 Bin dir: /builddir/build/BUILD/contracts-0.16.0/usr/bin Gem home: /builddir/build/BUILD/contracts-0.16.0/usr/share/gems Plugins dir: /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/plugins /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/.gitignore /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/.rspec /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/.rubocop.yml /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/.travis.yml /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/CHANGELOG.markdown /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/Gemfile /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/LICENSE /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/README.md /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/Rakefile /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/TODO.markdown /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/TUTORIAL.md /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/benchmarks/bench.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/benchmarks/hash.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/benchmarks/invariants.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/benchmarks/io.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/benchmarks/wrap_test.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/contracts.gemspec /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/cucumber.yml /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/README.md /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/basics/functype.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/basics/simple_example.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/README.md /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/and.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/any.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/args.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/array_of.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/bool.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/enum.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/eq.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/exactly.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/func.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/hash_of.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/int.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/keyword_args.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/maybe.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/nat.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/nat_pos.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/neg.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/none.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/not.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/num.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/or.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/pos.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/range_of.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/respond_to.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/send.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/set_of.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/builtin_contracts/xor.feature /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/features/support/env.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/attrs.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/builtin_contracts.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/call_with.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/core.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/decorators.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/engine.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/engine/base.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/engine/eigenclass.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/engine/target.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/errors.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/formatters.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/invariants.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/method_handler.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/method_reference.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/support.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/validators.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/lib/contracts/version.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/script/cucumber /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/script/docs-release /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/script/docs-staging /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/script/rubocop.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/attrs_spec.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/builtin_contracts_spec.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/contracts_spec.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/fixtures/fixtures.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/invariants_spec.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/methods_spec.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/module_spec.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/override_validators_spec.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/ruby_version_specific/contracts_spec_1.9.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/ruby_version_specific/contracts_spec_2.0.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/ruby_version_specific/contracts_spec_2.1.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/spec_helper.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/support.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/support_spec.rb /builddir/build/BUILD/contracts-0.16.0/usr/share/gems/gems/contracts-0.16.0/spec/validators_spec.rb Successfully installed contracts-0.16.0 Parsing documentation for contracts-0.16.0 Parsing sources... 5% [ 1/18] lib/contracts.rb 11% [ 2/18] lib/contracts/attrs.rb 16% [ 3/18] lib/contracts/builtin_contracts.rb 22% [ 4/18] lib/contracts/call_with.rb 27% [ 5/18] lib/contracts/core.rb 33% [ 6/18] lib/contracts/decorators.rb 38% [ 7/18] lib/contracts/engine.rb 44% [ 8/18] lib/contracts/engine/base.rb 50% [ 9/18] lib/contracts/engine/eigenclass.rb 55% [10/18] lib/contracts/engine/target.rb 61% [11/18] lib/contracts/errors.rb 66% [12/18] lib/contracts/formatters.rb 72% [13/18] lib/contracts/invariants.rb 77% [14/18] lib/contracts/method_handler.rb 83% [15/18] lib/contracts/method_reference.rb 88% [16/18] lib/contracts/support.rb 94% [17/18] lib/contracts/validators.rb 100% [18/18] lib/contracts/version.rb Installing ri documentation for contracts-0.16.0 Installing darkfish documentation for contracts-0.16.0 Done installing documentation for contracts after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MoVErB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-contracts-0.16.0-10.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-contracts-0.16.0-10.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-contracts-0.16.0-10.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-contracts-0.16.0-10.el9.x86_64 + cd contracts-0.16.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-contracts-0.16.0-10.el9.x86_64/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-contracts-0.16.0-10.el9.x86_64/usr/share/gems/ + rm -f /builddir/build/BUILDROOT/rubygem-contracts-0.16.0-10.el9.x86_64/usr/share/gems/cache/contracts-0.16.0.gem + pushd /builddir/build/BUILDROOT/rubygem-contracts-0.16.0-10.el9.x86_64/usr/share/gems/gems/contracts-0.16.0 ~/build/BUILDROOT/rubygem-contracts-0.16.0-10.el9.x86_64/usr/share/gems/gems/contracts-0.16.0 ~/build/BUILD/contracts-0.16.0 + rm -rf .gitignore .rspec .rubocop.yml .travis.yml Gemfile Rakefile contracts.gemspec cucumber.yml features/ script/ spec/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.16.0-10.el9 --unique-debug-suffix -0.16.0-10.el9.x86_64 --unique-debug-src-base rubygem-contracts-0.16.0-10.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/contracts-0.16.0 + /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.uV0cZh Processing files: rubygem-contracts-0.16.0-10.el9.noarch Provides: rubygem(contracts) = 0.16.0 rubygem-contracts = 0.16.0-10.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ruby(rubygems) Processing files: rubygem-contracts-doc-0.16.0-10.el9.noarch Provides: rubygem-contracts-doc = 0.16.0-10.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-contracts-0.16.0-10.el9.x86_64 Wrote: /builddir/build/RPMS/rubygem-contracts-0.16.0-10.el9.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-contracts-doc-0.16.0-10.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xOx6ES + umask 022 + cd /builddir/build/BUILD + cd contracts-0.16.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-contracts-0.16.0-10.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0