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-prawn-templates.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-332277-15387/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-prawn-templates.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-prawn-templates-0.1.2-7.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-prawn-templates.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-332277-15387/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-prawn-templates.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.40waez + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prawn-templates-0.1.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rubygem-prawn-templates-0.1.2-spec-data.tgz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/prawn-templates-0.1.2.gem Unpacked gem: '/builddir/build/BUILD/prawn-templates-0.1.2' + STATUS=0 + '[' 0 -ne 0 ']' + cd prawn-templates-0.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv /builddir/build/BUILD/spec /builddir/build/BUILD/data . + read -d '' gemspec_remove_dep_script + : + ruby + echo 'gemspec_file = '\''/builddir/build/BUILD/prawn-templates-0.1.2.gemspec'\'' name = '\''pdf-reader'\'' requirements = "~> 2.0" type = :runtime spec = Gem::Specification.load(gemspec_file) abort("#{gemspec_file} is not accessible.") unless spec dep = spec.dependencies.detect { |d| d.type == type && d.name == name } if dep if requirements requirements = Gem::Requirement.create(requirements).requirements requirements.each do |r| unless dep.requirement.requirements.reject! { |dependency_requirements| dependency_requirements == r } abort("Requirement '\''#{r.first} #{r.last}'\'' was not possible to remove for dependency '\''#{dep}'\''!") end end spec.dependencies.delete dep if dep.requirement.requirements.empty? else spec.dependencies.delete dep end else abort("Dependency '\''#{name}'\'' was not found!") end File.write gemspec_file, spec.to_ruby' + unset -v gemspec_remove_dep_script + read -d '' gemspec_add_dep_script + : + echo 'gemspec_file = '\''/builddir/build/BUILD/prawn-templates-0.1.2.gemspec'\'' name = '\''pdf-reader'\'' requirements = ">= 2.0" type = :runtime spec = Gem::Specification.load(gemspec_file) abort("#{gemspec_file} is not accessible.") unless spec dep = spec.dependencies.detect { |d| d.type == type && d.name == name } if dep dep.requirement.concat requirements else spec.public_send "add_#{type}_dependency", name, requirements end + ruby File.write gemspec_file, spec.to_ruby' + unset -v gemspec_add_dep_script + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HEKVmS + 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 prawn-templates-0.1.2 + gem build ../prawn-templates-0.1.2.gemspec WARNING: open-ended dependency on pdf-reader (>= 2.0) is not recommended if pdf-reader is semantically versioned, use: add_runtime_dependency 'pdf-reader', '~> 2.0' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: prawn-templates Version: 0.1.2 File: prawn-templates-0.1.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 prawn-templates-0.1.2.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/prawn-templates-0.1.2 Bin dir: /builddir/build/BUILD/prawn-templates-0.1.2/usr/bin Gem home: /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems Plugins dir: /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems/plugins /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems/gems/prawn-templates-0.1.2/COPYING /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems/gems/prawn-templates-0.1.2/GPLv2 /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems/gems/prawn-templates-0.1.2/GPLv3 /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems/gems/prawn-templates-0.1.2/LICENSE /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems/gems/prawn-templates-0.1.2/lib/pdf/core/document_state.rb /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems/gems/prawn-templates-0.1.2/lib/pdf/core/errors.rb /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems/gems/prawn-templates-0.1.2/lib/pdf/core/object_store.rb /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems/gems/prawn-templates-0.1.2/lib/pdf/core/page.rb /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems/gems/prawn-templates-0.1.2/lib/prawn/document/internals.rb /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems/gems/prawn-templates-0.1.2/lib/prawn/templates.rb /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems/gems/prawn-templates-0.1.2/lib/prawn/text.rb /builddir/build/BUILD/prawn-templates-0.1.2/usr/share/gems/gems/prawn-templates-0.1.2/prawn-templates.gemspec Successfully installed prawn-templates-0.1.2 Parsing documentation for prawn-templates-0.1.2 Parsing sources... 14% [ 1/ 7] lib/pdf/core/document_state.rb 28% [ 2/ 7] lib/pdf/core/errors.rb 42% [ 3/ 7] lib/pdf/core/object_store.rb 57% [ 4/ 7] lib/pdf/core/page.rb 71% [ 5/ 7] lib/prawn/document/internals.rb 85% [ 6/ 7] lib/prawn/templates.rb 100% [ 7/ 7] lib/prawn/text.rb Installing ri documentation for prawn-templates-0.1.2 Installing darkfish documentation for prawn-templates-0.1.2 Done installing documentation for prawn-templates after 6 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dRWglP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-prawn-templates-0.1.2-7.fc37.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-prawn-templates-0.1.2-7.fc37.noarch ++ dirname /builddir/build/BUILDROOT/rubygem-prawn-templates-0.1.2-7.fc37.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-prawn-templates-0.1.2-7.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 prawn-templates-0.1.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-prawn-templates-0.1.2-7.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-prawn-templates-0.1.2-7.fc37.noarch/usr/share/gems/ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.1.2-7.fc37 --unique-debug-suffix -0.1.2-7.fc37.noarch --unique-debug-src-base rubygem-prawn-templates-0.1.2-7.fc37.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/prawn-templates-0.1.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 + /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.pk2Ylx + 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 prawn-templates-0.1.2 + sed -i '/require '\''bundler'\''/ s/^/#/' spec/spec_helper.rb + sed -i '/Bundler/ s/^/#/' spec/spec_helper.rb + rspec spec PDF::Core specs: Running on Ruby Version: 3.1.3 ............................................. Finished in 6.6 seconds (files took 6.51 seconds to load) 45 examples, 0 failures + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-prawn-templates-0.1.2-7.fc37.noarch Provides: rubygem(prawn-templates) = 0.1.2 rubygem-prawn-templates = 0.1.2-7.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(prawn) >= 2.2 with rubygem(prawn) < 3) ruby(rubygems) >= 1.3.6 rubygem(pdf-reader) >= 2.0 Processing files: rubygem-prawn-templates-doc-0.1.2-7.fc37.noarch Provides: rubygem-prawn-templates-doc = 0.1.2-7.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-prawn-templates-0.1.2-7.fc37.noarch Wrote: /builddir/build/RPMS/rubygem-prawn-templates-0.1.2-7.fc37.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-prawn-templates-doc-0.1.2-7.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZTNKC6 + umask 022 + cd /builddir/build/BUILD + cd prawn-templates-0.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-prawn-templates-0.1.2-7.fc37.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.6VasXF + umask 022 + cd /builddir/build/BUILD + rm -rf prawn-templates-0.1.2 prawn-templates-0.1.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0