Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-fake_ftp.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678477947.359232/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-fake_ftp.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-fake_ftp-0.3.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-fake_ftp.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678477947.359232/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-fake_ftp.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-fake_ftp-0.3.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-fake_ftp.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678477947.359232/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-fake_ftp.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.L24glH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fake_ftp-0.3.0 + /usr/bin/gem unpack /builddir/build/SOURCES/fake_ftp-0.3.0.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/fake_ftp-0.3.0' + /usr/bin/gem spec /builddir/build/SOURCES/fake_ftp-0.3.0.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd fake_ftp-0.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/fake_ftp-0.3.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.lmGGzr + umask 022 + cd /builddir/build/BUILD + cd fake_ftp-0.3.0 + gem build fake_ftp.gemspec `did_you_mean' was not loaded. Successfully built RubyGem Name: fake_ftp Version: 0.3.0 File: fake_ftp-0.3.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 fake_ftp-0.3.0.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/fake_ftp-0.3.0 Bin dir: /builddir/build/BUILD/fake_ftp-0.3.0/usr/bin Gem home: /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems Plugins dir: /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/plugins /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.codeclimate.yml /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.gitignore /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.rspec /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.rubocop.yml /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.rubocop_todo.yml /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.simplecov /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/.travis.yml /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/CHANGELOG.md /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/CONTRIBUTORS.md /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/Gemfile /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/Guardfile /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/LICENSE.md /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/README.md /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/Rakefile /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/fake_ftp.gemspec /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/file.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/acct.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/cdup.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/cwd.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/dele.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/list.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/mdtm.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/mkd.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/nlst.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/pass.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/pasv.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/port.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/pwd.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/quit.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/retr.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/rnfr.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/rnto.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/site.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/size.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/stor.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/type.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/user.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/server_commands/wat.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/lib/fake_ftp/version.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/fixtures/invisible_bike.jpg /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/fixtures/text_file.txt /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/functional/server_spec.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/integration/server_spec.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/models/fake_ftp/file_spec.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/models/fake_ftp/server_spec.rb /builddir/build/BUILD/fake_ftp-0.3.0/usr/share/gems/gems/fake_ftp-0.3.0/spec/spec_helper.rb Successfully installed fake_ftp-0.3.0 Parsing documentation for fake_ftp-0.3.0 Parsing sources... 3% [ 1/27] lib/fake_ftp.rb 7% [ 2/27] lib/fake_ftp/file.rb 11% [ 3/27] lib/fake_ftp/server.rb 14% [ 4/27] lib/fake_ftp/server_commands.rb 18% [ 5/27] lib/fake_ftp/server_commands/acct.rb 22% [ 6/27] lib/fake_ftp/server_commands/cdup.rb 25% [ 7/27] lib/fake_ftp/server_commands/cwd.rb 29% [ 8/27] lib/fake_ftp/server_commands/dele.rb 33% [ 9/27] lib/fake_ftp/server_commands/list.rb 37% [10/27] lib/fake_ftp/server_commands/mdtm.rb 40% [11/27] lib/fake_ftp/server_commands/mkd.rb 44% [12/27] lib/fake_ftp/server_commands/nlst.rb 48% [13/27] lib/fake_ftp/server_commands/pass.rb 51% [14/27] lib/fake_ftp/server_commands/pasv.rb 55% [15/27] lib/fake_ftp/server_commands/port.rb 59% [16/27] lib/fake_ftp/server_commands/pwd.rb 62% [17/27] lib/fake_ftp/server_commands/quit.rb 66% [18/27] lib/fake_ftp/server_commands/retr.rb 70% [19/27] lib/fake_ftp/server_commands/rnfr.rb 74% [20/27] lib/fake_ftp/server_commands/rnto.rb 77% [21/27] lib/fake_ftp/server_commands/site.rb 81% [22/27] lib/fake_ftp/server_commands/size.rb 85% [23/27] lib/fake_ftp/server_commands/stor.rb 88% [24/27] lib/fake_ftp/server_commands/type.rb 92% [25/27] lib/fake_ftp/server_commands/user.rb 96% [26/27] lib/fake_ftp/server_commands/wat.rb 100% [27/27] lib/fake_ftp/version.rb Installing ri documentation for fake_ftp-0.3.0 Installing darkfish documentation for fake_ftp-0.3.0 Done installing documentation for fake_ftp after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LRSgOS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-1.x86_64 + cd fake_ftp-0.3.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.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-fake_ftp-0.3.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-fake_ftp-0.3.0-1.x86_64/usr/share/gems/ + '[' -d ./usr/bin ']' ~/build/BUILDROOT/rubygem-fake_ftp-0.3.0-1.x86_64 ~/build/BUILD/fake_ftp-0.3.0 + '[' -d ext ']' + pushd /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-1.x86_64 + touch filelist.lst + '[' -d /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-1.x86_64/usr/bin ']' + popd ~/build/BUILD/fake_ftp-0.3.0 + mv /builddir/build/BUILDROOT/rubygem-fake_ftp-0.3.0-1.x86_64/filelist.lst . + /usr/bin/find-debuginfo -j32 --strict-build-id -i --build-id-seed 0.3.0-1 --unique-debug-suffix -0.3.0-1.x86_64 --unique-debug-src-base rubygem-fake_ftp-0.3.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/fake_ftp-0.3.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-fake_ftp-0.3.0-1.noarch warning: Empty %files file /builddir/build/BUILD/fake_ftp-0.3.0/filelist.lst `did_you_mean' was not loaded. `did_you_mean' was not loaded. `did_you_mean' was not loaded. Provides: rubygem(fake_ftp) = 0.3.0 rubygem-fake_ftp rubygem-fake_ftp = 0.3.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-fake_ftp-help-0.3.0-1.noarch Provides: rubygem-fake_ftp-doc rubygem-fake_ftp-help = 0.3.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-fake_ftp-0.3.0-1.x86_64 error: Installed (but unpackaged) file(s) found: /usr/share/gems/gems/fake_ftp-0.3.0/.codeclimate.yml /usr/share/gems/gems/fake_ftp-0.3.0/.gitignore /usr/share/gems/gems/fake_ftp-0.3.0/.rspec /usr/share/gems/gems/fake_ftp-0.3.0/.rubocop.yml /usr/share/gems/gems/fake_ftp-0.3.0/.rubocop_todo.yml /usr/share/gems/gems/fake_ftp-0.3.0/.simplecov /usr/share/gems/gems/fake_ftp-0.3.0/.travis.yml Empty %files file /builddir/build/BUILD/fake_ftp-0.3.0/filelist.lst Installed (but unpackaged) file(s) found: /usr/share/gems/gems/fake_ftp-0.3.0/.codeclimate.yml /usr/share/gems/gems/fake_ftp-0.3.0/.gitignore /usr/share/gems/gems/fake_ftp-0.3.0/.rspec /usr/share/gems/gems/fake_ftp-0.3.0/.rubocop.yml /usr/share/gems/gems/fake_ftp-0.3.0/.rubocop_todo.yml /usr/share/gems/gems/fake_ftp-0.3.0/.simplecov /usr/share/gems/gems/fake_ftp-0.3.0/.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-fake_ftp.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-fake_ftp.spec