Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-json_spec.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678470464.690874/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-json_spec.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-json_spec-1.1.5-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-json_spec.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678470464.690874/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-json_spec.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-json_spec-1.1.5-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-json_spec.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678470464.690874/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-json_spec.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.moBsGH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf json_spec-1.1.5 + /usr/bin/gem unpack /builddir/build/SOURCES/json_spec-1.1.5.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/json_spec-1.1.5' + /usr/bin/gem spec /builddir/build/SOURCES/json_spec-1.1.5.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd json_spec-1.1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/json_spec-1.1.5.gem -l --ruby `did_you_mean' was not loaded. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.p7dIFZ + umask 022 + cd /builddir/build/BUILD + cd json_spec-1.1.5 + gem build json_spec.gemspec `did_you_mean' was not loaded. Successfully built RubyGem Name: json_spec Version: 1.1.5 File: json_spec-1.1.5.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection '\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection '\'' --with-ldflags='\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc json_spec-1.1.5.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/json_spec-1.1.5 Bin dir: /builddir/build/BUILD/json_spec-1.1.5/usr/bin Gem home: /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems Plugins dir: /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/plugins /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/.gitignore /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/.travis.yml /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/CHANGELOG.md /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/Gemfile /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/LICENSE.txt /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/README.md /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/Rakefile /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/equivalence.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/files.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/inclusion.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/memory.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/paths.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/sizes.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/step_definitions/steps.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/support/env.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/types.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/gemfiles/rspec2.gemfile /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/gemfiles/rspec3.gemfile /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/json_spec.gemspec /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/configuration.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/cucumber.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/errors.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/exclusion.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/helpers.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/be_json_eql.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/have_json_path.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/have_json_size.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/have_json_type.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/include_json.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/memory.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/messages.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/configuration_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/helpers_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/matchers/be_json_eql_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/matchers/have_json_path_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/matchers/have_json_size_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/matchers/have_json_type_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/matchers/include_json_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/matchers_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/memory_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/spec_helper.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/support/files/one.json /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/support/files/project/one.json /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/support/files/project/two.json /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/support/files/project/version/one.json /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/support/files/project/version/two.json /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/support/files/two.json Successfully installed json_spec-1.1.5 Parsing documentation for json_spec-1.1.5 Parsing sources... 7% [ 1/14] lib/json_spec.rb 14% [ 2/14] lib/json_spec/configuration.rb 21% [ 3/14] lib/json_spec/cucumber.rb 28% [ 4/14] lib/json_spec/errors.rb 35% [ 5/14] lib/json_spec/exclusion.rb 42% [ 6/14] lib/json_spec/helpers.rb 50% [ 7/14] lib/json_spec/matchers.rb 57% [ 8/14] lib/json_spec/matchers/be_json_eql.rb 64% [ 9/14] lib/json_spec/matchers/have_json_path.rb 71% [10/14] lib/json_spec/matchers/have_json_size.rb 78% [11/14] lib/json_spec/matchers/have_json_type.rb 85% [12/14] lib/json_spec/matchers/include_json.rb 92% [13/14] lib/json_spec/memory.rb 100% [14/14] lib/json_spec/messages.rb Installing ri documentation for json_spec-1.1.5 Installing darkfish documentation for json_spec-1.1.5 Done installing documentation for json_spec after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xLGEB2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-1.x86_64 + cd json_spec-1.1.5 + mkdir -p /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-1.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-json_spec-1.1.5-1.x86_64/usr/share/gems/ + rsync -a '--exclude=.*' ./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-json_spec-1.1.5-1.x86_64/usr/share/gems/ + '[' -d ./usr/bin ']' ~/build/BUILDROOT/rubygem-json_spec-1.1.5-1.x86_64 ~/build/BUILD/json_spec-1.1.5 + '[' -d ext ']' + pushd /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-1.x86_64 + touch filelist.lst + '[' -d /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-1.x86_64/usr/bin ']' + popd ~/build/BUILD/json_spec-1.1.5 + mv /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-1.x86_64/filelist.lst . + /usr/bin/find-debuginfo -j32 --strict-build-id -i --build-id-seed 1.1.5-1 --unique-debug-suffix -1.1.5-1.x86_64 --unique-debug-src-base rubygem-json_spec-1.1.5-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/json_spec-1.1.5 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Processing files: rubygem-json_spec-1.1.5-1.noarch warning: Empty %files file /builddir/build/BUILD/json_spec-1.1.5/filelist.lst `did_you_mean' was not loaded. `did_you_mean' was not loaded. `did_you_mean' was not loaded. Provides: rubygem(json_spec) = 1.1.5 rubygem-json_spec rubygem-json_spec = 1.1.5-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(multi_json) >= 1.0 with rubygem(multi_json) < 2) (rubygem(rspec) >= 2.0 with rubygem(rspec) < 4.0) ruby(rubygems) Processing files: rubygem-json_spec-help-1.1.5-1.noarch Provides: rubygem-json_spec-doc rubygem-json_spec-help = 1.1.5-1 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-json_spec-1.1.5-1.x86_64 error: Installed (but unpackaged) file(s) found: /usr/share/gems/gems/json_spec-1.1.5/.gitignore /usr/share/gems/gems/json_spec-1.1.5/.travis.yml Empty %files file /builddir/build/BUILD/json_spec-1.1.5/filelist.lst Installed (but unpackaged) file(s) found: /usr/share/gems/gems/json_spec-1.1.5/.gitignore /usr/share/gems/gems/json_spec-1.1.5/.travis.yml RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-json_spec.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 598, 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 --target x86_64 --nodeps /builddir/build/SPECS/rubygem-json_spec.spec