Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-file-tail.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678477917.508674/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-file-tail.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-file-tail-1.2.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-file-tail.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678477917.508674/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-file-tail.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-file-tail-1.2.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-file-tail.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678477917.508674/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-file-tail.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.6YCUbQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf file-tail-1.2.0 + /usr/bin/gem unpack /builddir/build/SOURCES/file-tail-1.2.0.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/file-tail-1.2.0' + /usr/bin/gem spec /builddir/build/SOURCES/file-tail-1.2.0.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd file-tail-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/file-tail-1.2.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.lVdcod + umask 022 + cd /builddir/build/BUILD + cd file-tail-1.2.0 + gem build file-tail.gemspec `did_you_mean' was not loaded. Successfully built RubyGem Name: file-tail Version: 1.2.0 File: file-tail-1.2.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 file-tail-1.2.0.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/file-tail-1.2.0 Bin dir: /builddir/build/BUILD/file-tail-1.2.0/usr/bin Gem home: /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems Plugins dir: /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/plugins /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/.gitignore /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/.travis.yml /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/CHANGES /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/COPYING /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/Gemfile /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/README.md /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/Rakefile /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/VERSION /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/bin/rtail /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/examples/pager.rb /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/examples/tail.rb /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/file-tail.gemspec /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/lib/file-tail.rb /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/lib/file/tail.rb /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/lib/file/tail/group.rb /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/lib/file/tail/line_extension.rb /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/lib/file/tail/logfile.rb /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/lib/file/tail/tailer.rb /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/lib/file/tail/version.rb /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/tests/file_tail_group_test.rb /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/tests/file_tail_test.rb /builddir/build/BUILD/file-tail-1.2.0/usr/share/gems/gems/file-tail-1.2.0/tests/test_helper.rb Successfully installed file-tail-1.2.0 Parsing documentation for file-tail-1.2.0 Parsing sources... 12% [ 1/ 8] README.md 25% [ 2/ 8] lib/file-tail.rb 37% [ 3/ 8] lib/file/tail.rb 50% [ 4/ 8] lib/file/tail/group.rb 62% [ 5/ 8] lib/file/tail/line_extension.rb 75% [ 6/ 8] lib/file/tail/logfile.rb 87% [ 7/ 8] lib/file/tail/tailer.rb 100% [ 8/ 8] lib/file/tail/version.rb Installing ri documentation for file-tail-1.2.0 Installing darkfish documentation for file-tail-1.2.0 Done installing documentation for file-tail after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zGzcWO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-file-tail-1.2.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-file-tail-1.2.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-file-tail-1.2.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-file-tail-1.2.0-1.x86_64 + cd file-tail-1.2.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-file-tail-1.2.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-file-tail-1.2.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-file-tail-1.2.0-1.x86_64/usr/share/gems/ + '[' -d ./usr/bin ']' ~/build/BUILDROOT/rubygem-file-tail-1.2.0-1.x86_64 ~/build/BUILD/file-tail-1.2.0 + '[' -d ext ']' + pushd /builddir/build/BUILDROOT/rubygem-file-tail-1.2.0-1.x86_64 + touch filelist.lst + '[' -d /builddir/build/BUILDROOT/rubygem-file-tail-1.2.0-1.x86_64/usr/bin ']' + popd ~/build/BUILD/file-tail-1.2.0 + mv /builddir/build/BUILDROOT/rubygem-file-tail-1.2.0-1.x86_64/filelist.lst . + /usr/bin/find-debuginfo -j32 --strict-build-id -i --build-id-seed 1.2.0-1 --unique-debug-suffix -1.2.0-1.x86_64 --unique-debug-src-base rubygem-file-tail-1.2.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/file-tail-1.2.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-file-tail-1.2.0-1.noarch warning: Empty %files file /builddir/build/BUILD/file-tail-1.2.0/filelist.lst `did_you_mean' was not loaded. `did_you_mean' was not loaded. `did_you_mean' was not loaded. Provides: rubygem(file-tail) = 1.2.0 rubygem-file-tail rubygem-file-tail = 1.2.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(tins) >= 1.0 with rubygem(tins) < 2) /usr/bin/env ruby(rubygems) Processing files: rubygem-file-tail-help-1.2.0-1.noarch Provides: rubygem-file-tail-doc rubygem-file-tail-help = 1.2.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-file-tail-1.2.0-1.x86_64 RPM build errors: error: Installed (but unpackaged) file(s) found: /usr/share/gems/gems/file-tail-1.2.0/.gitignore /usr/share/gems/gems/file-tail-1.2.0/.travis.yml Empty %files file /builddir/build/BUILD/file-tail-1.2.0/filelist.lst Installed (but unpackaged) file(s) found: /usr/share/gems/gems/file-tail-1.2.0/.gitignore /usr/share/gems/gems/file-tail-1.2.0/.travis.yml 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-file-tail.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-file-tail.spec