Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-rubygems-mirror.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678472777.726326/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-rubygems-mirror.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-rubygems-mirror-1.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-rubygems-mirror.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678472777.726326/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-rubygems-mirror.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-rubygems-mirror-1.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-rubygems-mirror.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678472777.726326/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-rubygems-mirror.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.bqr3lb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rubygems-mirror-1.3.0 + /usr/bin/gem unpack /builddir/build/SOURCES/rubygems-mirror-1.3.0.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/rubygems-mirror-1.3.0' + /usr/bin/gem spec /builddir/build/SOURCES/rubygems-mirror-1.3.0.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd rubygems-mirror-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/rubygems-mirror-1.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.CDfcpj + umask 022 + cd /builddir/build/BUILD + cd rubygems-mirror-1.3.0 + gem build rubygems-mirror.gemspec `did_you_mean' was not loaded. Successfully built RubyGem Name: rubygems-mirror Version: 1.3.0 File: rubygems-mirror-1.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 rubygems-mirror-1.3.0.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rubygems-mirror-1.3.0 Bin dir: /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/bin Gem home: /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems Plugins dir: /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/plugins /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/CHANGELOG.rdoc /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/Manifest.txt /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/README.rdoc /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/Rakefile /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems/mirror.rb /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems/mirror/command.rb /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems/mirror/fetcher.rb /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems/mirror/pool.rb /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems/mirror/test_setup.rb /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems/mirror/version.rb /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/lib/rubygems_plugin.rb /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/pkg/rubygems-mirror-1.2.0/CHANGELOG.rdoc /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/pkg/rubygems-mirror-1.2.0/README.rdoc /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/gems/rubygems-mirror-1.3.0/test/test_gem_mirror.rb /builddir/build/BUILD/rubygems-mirror-1.3.0/usr/share/gems/plugins/rubygems-mirror_plugin.rb Successfully installed rubygems-mirror-1.3.0 Parsing documentation for rubygems-mirror-1.3.0 Parsing sources... 8% [ 1/12] CHANGELOG.rdoc 16% [ 2/12] Manifest.txt 25% [ 3/12] README.rdoc 33% [ 4/12] lib/rubygems/mirror.rb 41% [ 5/12] lib/rubygems/mirror/command.rb 50% [ 6/12] lib/rubygems/mirror/fetcher.rb 58% [ 7/12] lib/rubygems/mirror/pool.rb 66% [ 8/12] lib/rubygems/mirror/test_setup.rb 75% [ 9/12] lib/rubygems/mirror/version.rb 83% [10/12] lib/rubygems_plugin.rb 91% [11/12] pkg/rubygems-mirror-1.2.0/CHANGELOG.rdoc 100% [12/12] pkg/rubygems-mirror-1.2.0/README.rdoc Installing ri documentation for rubygems-mirror-1.3.0 Installing darkfish documentation for rubygems-mirror-1.3.0 Done installing documentation for rubygems-mirror after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AMVnXC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-rubygems-mirror-1.3.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-rubygems-mirror-1.3.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-rubygems-mirror-1.3.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-rubygems-mirror-1.3.0-1.x86_64 + cd rubygems-mirror-1.3.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-rubygems-mirror-1.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-rubygems-mirror-1.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-rubygems-mirror-1.3.0-1.x86_64/usr/share/gems/ + '[' -d ./usr/bin ']' ~/build/BUILDROOT/rubygem-rubygems-mirror-1.3.0-1.x86_64 ~/build/BUILD/rubygems-mirror-1.3.0 + '[' -d ext ']' + pushd /builddir/build/BUILDROOT/rubygem-rubygems-mirror-1.3.0-1.x86_64 + touch filelist.lst + '[' -d /builddir/build/BUILDROOT/rubygem-rubygems-mirror-1.3.0-1.x86_64/usr/bin ']' + popd ~/build/BUILD/rubygems-mirror-1.3.0 + mv /builddir/build/BUILDROOT/rubygem-rubygems-mirror-1.3.0-1.x86_64/filelist.lst . + /usr/bin/find-debuginfo -j32 --strict-build-id -i --build-id-seed 1.3.0-1 --unique-debug-suffix -1.3.0-1.x86_64 --unique-debug-src-base rubygem-rubygems-mirror-1.3.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/rubygems-mirror-1.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-rubygems-mirror-1.3.0-1.noarch warning: Empty %files file /builddir/build/BUILD/rubygems-mirror-1.3.0/filelist.lst `did_you_mean' was not loaded. `did_you_mean' was not loaded. `did_you_mean' was not loaded. Provides: rubygem(rubygems-mirror) = 1.3.0 rubygem-rubygems-mirror rubygem-rubygems-mirror = 1.3.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(net-http-persistent) >= 2.9 with rubygem(net-http-persistent) < 3) ruby(rubygems) Processing files: rubygem-rubygems-mirror-help-1.3.0-1.noarch Provides: rubygem-rubygems-mirror-doc rubygem-rubygems-mirror-help = 1.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-rubygems-mirror-1.3.0-1.x86_64 error: Installed (but unpackaged) file(s) found: /usr/share/gems/plugins/rubygems-mirror_plugin.rb Empty %files file /builddir/build/BUILD/rubygems-mirror-1.3.0/filelist.lst Installed (but unpackaged) file(s) found: /usr/share/gems/plugins/rubygems-mirror_plugin.rb 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-rubygems-mirror.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-rubygems-mirror.spec