Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rubygem-ruby_version.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-286532-14645/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rubygem-ruby_version.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 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/rubygem-ruby_version-1.0.2-4.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rubygem-ruby_version.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-286532-14645/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rubygem-ruby_version.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 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hmFJm3 + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/ruby_version-1.0.2.gem Unpacked gem: '/builddir/build/BUILD/ruby_version-1.0.2' + cd /builddir/build/BUILD + cd ruby_version-1.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/ruby_version-1.0.2.gem -l --ruby + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dgbyHK + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 ruby_version-1.0.2 + gem build ruby_version.gemspec Successfully built RubyGem Name: ruby_version Version: 1.0.2 File: ruby_version-1.0.2.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 -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 -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 -Wl,--build-id=sha1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc ruby_version-1.0.2.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/ruby_version-1.0.2 Bin dir: /builddir/build/BUILD/ruby_version-1.0.2/usr/bin Gem home: /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems Plugins dir: /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/plugins /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/.gitignore /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/.rspec /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/.travis.yml /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/ChangeLog.md /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/Gemfile /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/Gemfile.lock /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/LICENSE.txt /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/README.rdoc /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/Rakefile /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/lib/ruby_version.rb /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/pkg/ruby_version-1.0.0.gem /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/pkg/ruby_version-1.0.1.gem /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/ruby_version.gemspec /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/spec/ruby_version_spec.rb /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/spec/spec_helper.rb Successfully installed ruby_version-1.0.2 Parsing documentation for ruby_version-1.0.2 Parsing sources... 100% [ 1/ 1] lib/ruby_version.rb Installing ri documentation for ruby_version-1.0.2 Installing darkfish documentation for ruby_version-1.0.2 Done installing documentation for ruby_version after 4 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IbeHEo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.2-4.fc37.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.2-4.fc37.noarch ++ dirname /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.2-4.fc37.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.2-4.fc37.noarch + 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 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 ruby_version-1.0.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.2-4.fc37.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-ruby_version-1.0.2-4.fc37.noarch/usr/share/gems/ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.0.2-4.fc37 --unique-debug-suffix -1.0.2-4.fc37.noarch --unique-debug-src-base rubygem-ruby_version-1.0.2-4.fc37.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ruby_version-1.0.2 + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/share/gems/gems/ruby_version-1.0.2/Gemfile.lock is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qG7MbG + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 ruby_version-1.0.2 + pushd ./usr/share/gems/gems/ruby_version-1.0.2 ~/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2 ~/build/BUILD/ruby_version-1.0.2 + rspec -Ilib RubyVersion should display RUBY_VERSION if called directly (to_s) should define some accessors with "is" method, with parameter should check for main version (1.8 or 1.9) when Float paramater is given should check with string comparison if parameter is not Float with "is" method, without parameter, but method chaining should return a string for usage with comparison operators should create some handy compare aliases also allows to check for the release dates Deprecation Warnings: Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /builddir/build/BUILD/ruby_version-1.0.2/usr/share/gems/gems/ruby_version-1.0.2/spec/ruby_version_spec.rb:10:in `block (2 levels) in '. 1 deprecation warning total Finished in 0.13622 seconds (files took 2.58 seconds to load) 7 examples, 0 failures If you need more of the backtrace for any of these deprecations to identify where to make the necessary changes, you can configure `config.raise_errors_for_deprecations!`, and it will turn the deprecation warnings into errors, giving you the full backtrace. + popd ~/build/BUILD/ruby_version-1.0.2 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-ruby_version-1.0.2-4.fc37.noarch Provides: rubygem(ruby_version) = 1.0.2 rubygem-ruby_version = 1.0.2-4.fc37 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-ruby_version-doc-1.0.2-4.fc37.noarch Provides: rubygem-ruby_version-doc = 1.0.2-4.fc37 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-ruby_version-1.0.2-4.fc37.noarch Wrote: /builddir/build/RPMS/rubygem-ruby_version-1.0.2-4.fc37.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-ruby_version-doc-1.0.2-4.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BdyipK + umask 022 + cd /builddir/build/BUILD + cd ruby_version-1.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-ruby_version-1.0.2-4.fc37.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.c2vVkk + umask 022 + cd /builddir/build/BUILD + rm -rf ruby_version-1.0.2 ruby_version-1.0.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0