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-cucumber-gherkin.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-80404-53652/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=991gid=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-cucumber-gherkin.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-cucumber-gherkin-22.0.0-1.oc9.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-cucumber-gherkin.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-80404-53652/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=991gid=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-cucumber-gherkin.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.D7qen2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cucumber-gherkin-22.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rubygem-cucumber-gherkin-22.0.0-testdata.txz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cucumber-gherkin-22.0.0.gem Unpacked gem: '/builddir/build/BUILD/cucumber-gherkin-22.0.0' + STATUS=0 + '[' 0 -ne 0 ']' + cd cucumber-gherkin-22.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + read -d '' gemspec_remove_dep_script + : + echo 'gemspec_file = '\''/builddir/build/BUILD/cucumber-gherkin-22.0.0.gemspec'\'' name = '\''cucumber-messages'\'' requirements = "~> 17.1", ">= 17.1.1" 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' + ruby + unset -v gemspec_remove_dep_script + read -d '' gemspec_add_dep_script + : + echo 'gemspec_file = '\''/builddir/build/BUILD/cucumber-gherkin-22.0.0.gemspec'\'' name = '\''cucumber-messages'\'' requirements = ">= 17.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 File.write gemspec_file, spec.to_ruby' + ruby + unset -v gemspec_add_dep_script + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sbOCPQ + 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 cucumber-gherkin-22.0.0 + gem build ../cucumber-gherkin-22.0.0.gemspec WARNING: open-ended dependency on cucumber-messages (>= 17.0) is not recommended if cucumber-messages is semantically versioned, use: add_runtime_dependency 'cucumber-messages', '~> 17.0' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: cucumber-gherkin Version: 22.0.0 File: cucumber-gherkin-22.0.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 -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 cucumber-gherkin-22.0.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/cucumber-gherkin-22.0.0 Bin dir: /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/bin Gem home: /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems Plugins dir: /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/plugins /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/LICENSE /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/README.md /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/bin/gherkin /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/bin/gherkin-ruby /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/ast_builder.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/ast_node.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/dialect.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/errors.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/gherkin-languages.json /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/gherkin_line.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/parser.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/pickles/compiler.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/query.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/stream/parser_message_stream.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/token.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/token_formatter_builder.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/token_matcher.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/lib/gherkin/token_scanner.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/spec/capture_warnings.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/spec/gherkin/dialect_spec.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/spec/gherkin/gherkin_line_spec.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/spec/gherkin/gherkin_spec.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/spec/gherkin/parser_spec.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/spec/gherkin/query_spec.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0/spec/gherkin/stream/parser_message_stream_spec.rb /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/bin/gherkin-ruby /builddir/build/BUILD/cucumber-gherkin-22.0.0/usr/bin/gherkin Successfully installed cucumber-gherkin-22.0.0 Parsing documentation for cucumber-gherkin-22.0.0 Parsing sources... 6% [ 1/15] lib/gherkin.rb 13% [ 2/15] lib/gherkin/ast_builder.rb 20% [ 3/15] lib/gherkin/ast_node.rb 26% [ 4/15] lib/gherkin/dialect.rb 33% [ 5/15] lib/gherkin/errors.rb 40% [ 6/15] lib/gherkin/gherkin-languages.json 46% [ 7/15] lib/gherkin/gherkin_line.rb 53% [ 8/15] lib/gherkin/parser.rb 60% [ 9/15] lib/gherkin/pickles/compiler.rb 66% [10/15] lib/gherkin/query.rb 73% [11/15] lib/gherkin/stream/parser_message_stream.rb 80% [12/15] lib/gherkin/token.rb 86% [13/15] lib/gherkin/token_formatter_builder.rb 93% [14/15] lib/gherkin/token_matcher.rb 100% [15/15] lib/gherkin/token_scanner.rb Installing ri documentation for cucumber-gherkin-22.0.0 Installing darkfish documentation for cucumber-gherkin-22.0.0 Done installing documentation for cucumber-gherkin after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nGjctk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-22.0.0-1.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-22.0.0-1.oc9.noarch ++ dirname /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-22.0.0-1.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-22.0.0-1.oc9.noarch + cd cucumber-gherkin-22.0.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-22.0.0-1.oc9.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-cucumber-gherkin-22.0.0-1.oc9.noarch/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-22.0.0-1.oc9.noarch/usr/bin + cp -a ./usr/bin/gherkin ./usr/bin/gherkin-ruby /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-22.0.0-1.oc9.noarch/usr/bin/ + find /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-22.0.0-1.oc9.noarch/usr/share/gems/gems/cucumber-gherkin-22.0.0/bin -type f + xargs chmod a+x + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 22.0.0-1.oc9 --unique-debug-suffix -22.0.0-1.oc9.noarch --unique-debug-src-base rubygem-cucumber-gherkin-22.0.0-1.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/cucumber-gherkin-22.0.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-mangle-shebangs mangling shebang in /usr/share/gems/gems/cucumber-gherkin-22.0.0/bin/gherkin-ruby from /usr/bin/env ruby to #!/usr/bin/ruby mangling shebang in /usr/share/gems/gems/cucumber-gherkin-22.0.0/bin/gherkin from /usr/bin/env ruby to #!/usr/bin/ruby + /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.8wVsFz + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/cucumber-gherkin-22.0.0/usr/share/gems/gems/cucumber-gherkin-22.0.0 ~/build/BUILD/cucumber-gherkin-22.0.0 + 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 cucumber-gherkin-22.0.0 + pushd ./usr/share/gems/gems/cucumber-gherkin-22.0.0 + ln -s /builddir/build/BUILD/testdata testdata + rspec spec ........................... Finished in 0.02272 seconds (files took 0.10157 seconds to load) 27 examples, 0 failures + popd ~/build/BUILD/cucumber-gherkin-22.0.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-cucumber-gherkin-22.0.0-1.oc9.noarch Provides: rubygem(cucumber-gherkin) = 22.0.0 rubygem-cucumber-gherkin = 22.0.0-1.oc9 rubygem-gherkin = 22.0.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/ruby ruby(rubygems) rubygem(cucumber-messages) >= 17.0 Processing files: rubygem-cucumber-gherkin-doc-22.0.0-1.oc9.noarch Provides: rubygem-cucumber-gherkin-doc = 22.0.0-1.oc9 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-cucumber-gherkin-22.0.0-1.oc9.noarch Wrote: /builddir/build/RPMS/rubygem-cucumber-gherkin-22.0.0-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-cucumber-gherkin-doc-22.0.0-1.oc9.noarch.rpm Child return code was: 0