Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-hrx.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678473294.388045/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-hrx.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-hrx-1.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-hrx.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678473294.388045/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-hrx.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-hrx-1.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-hrx.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678473294.388045/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-hrx.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.dpBAQ2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hrx-1.0.0 + /usr/bin/gem unpack /builddir/build/SOURCES/hrx-1.0.0.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/hrx-1.0.0' + /usr/bin/gem spec /builddir/build/SOURCES/hrx-1.0.0.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd hrx-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/hrx-1.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.GwcjTy + umask 022 + cd /builddir/build/BUILD + cd hrx-1.0.0 + gem build hrx.gemspec `did_you_mean' was not loaded. Successfully built RubyGem Name: hrx Version: 1.0.0 File: hrx-1.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 hrx-1.0.0.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/hrx-1.0.0 Bin dir: /builddir/build/BUILD/hrx-1.0.0/usr/bin Gem home: /builddir/build/BUILD/hrx-1.0.0/usr/share/gems Plugins dir: /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/plugins /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/.gitignore /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/.rdoc_options /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/.rspec /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/CONTRIBUTING.md /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/Gemfile /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/LICENSE /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/README.md /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/hrx.gemspec /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/lib/hrx.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/lib/hrx/archive.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/lib/hrx/directory.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/lib/hrx/error.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/lib/hrx/file.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/lib/hrx/ordered_node.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/lib/hrx/parse_error.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/lib/hrx/util.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/spec/archive_spec.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/spec/child_archive_spec.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/spec/directory_spec.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/spec/file_spec.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/spec/ordered_node_spec.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/spec/parse_spec.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/spec/spec_helper.rb /builddir/build/BUILD/hrx-1.0.0/usr/share/gems/gems/hrx-1.0.0/spec/validates_path.rb Successfully installed hrx-1.0.0 Parsing documentation for hrx-1.0.0 Parsing sources... 12% [ 1/ 8] lib/hrx.rb 25% [ 2/ 8] lib/hrx/archive.rb 37% [ 3/ 8] lib/hrx/directory.rb 50% [ 4/ 8] lib/hrx/error.rb 62% [ 5/ 8] lib/hrx/file.rb 75% [ 6/ 8] lib/hrx/ordered_node.rb 87% [ 7/ 8] lib/hrx/parse_error.rb 100% [ 8/ 8] lib/hrx/util.rb Installing ri documentation for hrx-1.0.0 Installing darkfish documentation for hrx-1.0.0 Done installing documentation for hrx after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JVpgUr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-hrx-1.0.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-hrx-1.0.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-hrx-1.0.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-hrx-1.0.0-1.x86_64 + cd hrx-1.0.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-hrx-1.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-hrx-1.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-hrx-1.0.0-1.x86_64/usr/share/gems/ + '[' -d ./usr/bin ']' ~/build/BUILDROOT/rubygem-hrx-1.0.0-1.x86_64 ~/build/BUILD/hrx-1.0.0 + '[' -d ext ']' + pushd /builddir/build/BUILDROOT/rubygem-hrx-1.0.0-1.x86_64 + touch filelist.lst + '[' -d /builddir/build/BUILDROOT/rubygem-hrx-1.0.0-1.x86_64/usr/bin ']' + popd ~/build/BUILD/hrx-1.0.0 + mv /builddir/build/BUILDROOT/rubygem-hrx-1.0.0-1.x86_64/filelist.lst . + /usr/bin/find-debuginfo -j32 --strict-build-id -i --build-id-seed 1.0.0-1 --unique-debug-suffix -1.0.0-1.x86_64 --unique-debug-src-base rubygem-hrx-1.0.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/hrx-1.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-hrx-1.0.0-1.noarch warning: Empty %files file /builddir/build/BUILD/hrx-1.0.0/filelist.lst `did_you_mean' was not loaded. `did_you_mean' was not loaded. `did_you_mean' was not loaded. Provides: rubygem(hrx) = 1.0.0 rubygem-hrx rubygem-hrx = 1.0.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(linked-list) >= 0.0.13 with rubygem(linked-list) < 0.1) ruby(rubygems) Processing files: rubygem-hrx-help-1.0.0-1.noarch Provides: rubygem-hrx-doc rubygem-hrx-help = 1.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-hrx-1.0.0-1.x86_64 RPM build errors: error: Installed (but unpackaged) file(s) found: /usr/share/gems/gems/hrx-1.0.0/.gitignore /usr/share/gems/gems/hrx-1.0.0/.rdoc_options /usr/share/gems/gems/hrx-1.0.0/.rspec Empty %files file /builddir/build/BUILD/hrx-1.0.0/filelist.lst Installed (but unpackaged) file(s) found: /usr/share/gems/gems/hrx-1.0.0/.gitignore /usr/share/gems/gems/hrx-1.0.0/.rdoc_options /usr/share/gems/gems/hrx-1.0.0/.rspec 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-hrx.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-hrx.spec