Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-hashie.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678470284.905320/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-hashie.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-hashie-5.0.0-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-hashie.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678470284.905320/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-hashie.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-hashie-5.0.0-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-hashie.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678470284.905320/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-hashie.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.81kJTM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hashie-5.0.0 + /usr/bin/gem unpack /builddir/build/SOURCES/hashie-5.0.0.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/hashie-5.0.0' + /usr/bin/gem spec /builddir/build/SOURCES/hashie-5.0.0.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd hashie-5.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/hashie-5.0.0.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.QpwfsI + umask 022 + cd /builddir/build/BUILD + cd hashie-5.0.0 + gem build hashie.gemspec `did_you_mean' was not loaded. WARNING: open-ended dependency on bundler (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: hashie Version: 5.0.0 File: hashie-5.0.0.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 hashie-5.0.0.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/hashie-5.0.0 Bin dir: /builddir/build/BUILD/hashie-5.0.0/usr/bin Gem home: /builddir/build/BUILD/hashie-5.0.0/usr/share/gems Plugins dir: /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/plugins /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/.yardopts /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/CHANGELOG.md /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/CONTRIBUTING.md /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/LICENSE /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/README.md /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/Rakefile /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/UPGRADING.md /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/hashie.gemspec /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/array.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/clash.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/dash.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/active_support/core_ext/hash.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/array/pretty_inspect.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/coercion.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/dash/coercion.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/dash/indifferent_access.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/dash/predefined_values.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/dash/property_translation.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/deep_fetch.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/deep_find.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/deep_locate.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/deep_merge.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/ignore_undeclared.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/indifferent_access.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/key_conflict_warning.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/key_conversion.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/mash/define_accessors.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/mash/keep_original_keys.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/mash/permissive_respond_to.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/mash/safe_assignment.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/mash/symbolize_keys.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/merge_initializer.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/method_access.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/parsers/yaml_erb_parser.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/pretty_inspect.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/ruby_version.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/ruby_version_check.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/strict_key_access.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/stringify_keys.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/extensions/symbolize_keys.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/hash.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/logger.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/mash.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/railtie.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/rash.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/trash.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/utils.rb /builddir/build/BUILD/hashie-5.0.0/usr/share/gems/gems/hashie-5.0.0/lib/hashie/version.rb Successfully installed hashie-5.0.0 Parsing documentation for hashie-5.0.0 Parsing sources... 2% [ 1/41] lib/hashie.rb 4% [ 2/41] lib/hashie/array.rb 7% [ 3/41] lib/hashie/clash.rb 9% [ 4/41] lib/hashie/dash.rb 12% [ 5/41] lib/hashie/extensions/active_support/core_ext/hash.rb 14% [ 6/41] lib/hashie/extensions/array/pretty_inspect.rb 17% [ 7/41] lib/hashie/extensions/coercion.rb 19% [ 8/41] lib/hashie/extensions/dash/coercion.rb 21% [ 9/41] lib/hashie/extensions/dash/indifferent_access.rb 24% [10/41] lib/hashie/extensions/dash/predefined_values.rb 26% [11/41] lib/hashie/extensions/dash/property_translation.rb 29% [12/41] lib/hashie/extensions/deep_fetch.rb 31% [13/41] lib/hashie/extensions/deep_find.rb 34% [14/41] lib/hashie/extensions/deep_locate.rb 36% [15/41] lib/hashie/extensions/deep_merge.rb 39% [16/41] lib/hashie/extensions/ignore_undeclared.rb 41% [17/41] lib/hashie/extensions/indifferent_access.rb 43% [18/41] lib/hashie/extensions/key_conflict_warning.rb 46% [19/41] lib/hashie/extensions/key_conversion.rb 48% [20/41] lib/hashie/extensions/mash/define_accessors.rb 51% [21/41] lib/hashie/extensions/mash/keep_original_keys.rb 53% [22/41] lib/hashie/extensions/mash/permissive_respond_to.rb 56% [23/41] lib/hashie/extensions/mash/safe_assignment.rb 58% [24/41] lib/hashie/extensions/mash/symbolize_keys.rb 60% [25/41] lib/hashie/extensions/merge_initializer.rb 63% [26/41] lib/hashie/extensions/method_access.rb 65% [27/41] lib/hashie/extensions/parsers/yaml_erb_parser.rb 68% [28/41] lib/hashie/extensions/pretty_inspect.rb 70% [29/41] lib/hashie/extensions/ruby_version.rb 73% [30/41] lib/hashie/extensions/ruby_version_check.rb 75% [31/41] lib/hashie/extensions/strict_key_access.rb 78% [32/41] lib/hashie/extensions/stringify_keys.rb 80% [33/41] lib/hashie/extensions/symbolize_keys.rb 82% [34/41] lib/hashie/hash.rb 85% [35/41] lib/hashie/logger.rb 87% [36/41] lib/hashie/mash.rb 90% [37/41] lib/hashie/railtie.rb 92% [38/41] lib/hashie/rash.rb 95% [39/41] lib/hashie/trash.rb 97% [40/41] lib/hashie/utils.rb 100% [41/41] lib/hashie/version.rb Installing ri documentation for hashie-5.0.0 Installing darkfish documentation for hashie-5.0.0 Done installing documentation for hashie after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Jk36ct + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-hashie-5.0.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-hashie-5.0.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-hashie-5.0.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-hashie-5.0.0-1.x86_64 + cd hashie-5.0.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-hashie-5.0.0-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-hashie-5.0.0-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-hashie-5.0.0-1.x86_64/usr/share/gems/ + '[' -d ./usr/bin ']' ~/build/BUILDROOT/rubygem-hashie-5.0.0-1.x86_64 ~/build/BUILD/hashie-5.0.0 + '[' -d ext ']' + pushd /builddir/build/BUILDROOT/rubygem-hashie-5.0.0-1.x86_64 + touch filelist.lst + '[' -d /builddir/build/BUILDROOT/rubygem-hashie-5.0.0-1.x86_64/usr/bin ']' + popd ~/build/BUILD/hashie-5.0.0 + mv /builddir/build/BUILDROOT/rubygem-hashie-5.0.0-1.x86_64/filelist.lst . + /usr/bin/find-debuginfo -j32 --strict-build-id -i --build-id-seed 5.0.0-1 --unique-debug-suffix -5.0.0-1.x86_64 --unique-debug-src-base rubygem-hashie-5.0.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/hashie-5.0.0 + /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-hashie-5.0.0-1.noarch warning: Empty %files file /builddir/build/BUILD/hashie-5.0.0/filelist.lst `did_you_mean' was not loaded. `did_you_mean' was not loaded. `did_you_mean' was not loaded. Provides: rubygem(hashie) = 5.0.0 rubygem-hashie rubygem-hashie = 5.0.0-1 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-hashie-help-5.0.0-1.noarch Provides: rubygem-hashie-doc rubygem-hashie-help = 5.0.0-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-hashie-5.0.0-1.x86_64 error: Installed (but unpackaged) file(s) found: /usr/share/gems/gems/hashie-5.0.0/.yardopts Empty %files file /builddir/build/BUILD/hashie-5.0.0/filelist.lst Installed (but unpackaged) file(s) found: /usr/share/gems/gems/hashie-5.0.0/.yardopts 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-hashie.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-hashie.spec