Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-rsolr.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678474230.136682/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-rsolr.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-rsolr-2.5.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-rsolr.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678474230.136682/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-rsolr.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-rsolr-2.5.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-rsolr.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678474230.136682/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-rsolr.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.KQKj70 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rsolr-2.5.0 + /usr/bin/gem unpack /builddir/build/SOURCES/rsolr-2.5.0.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/rsolr-2.5.0' + /usr/bin/gem spec /builddir/build/SOURCES/rsolr-2.5.0.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd rsolr-2.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/rsolr-2.5.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.XBNIG2 + umask 022 + cd /builddir/build/BUILD + cd rsolr-2.5.0 + gem build rsolr.gemspec `did_you_mean' was not loaded. WARNING: open-ended dependency on builder (>= 2.1.2) is not recommended if builder is semantically versioned, use: add_runtime_dependency 'builder', '~> 2.1', '>= 2.1.2' WARNING: open-ended dependency on activesupport (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on nokogiri (>= 1.4.0, development) is not recommended if nokogiri is semantically versioned, use: add_development_dependency 'nokogiri', '~> 1.4', '>= 1.4.0' WARNING: open-ended dependency on rake (>= 10.0, development) is not recommended if rake is semantically versioned, use: add_development_dependency 'rake', '~> 10.0' WARNING: open-ended dependency on rdoc (>= 4.0, development) is not recommended if rdoc is semantically versioned, use: add_development_dependency 'rdoc', '~> 4.0' WARNING: open-ended dependency on simplecov (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on solr_wrapper (>= 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: rsolr Version: 2.5.0 File: rsolr-2.5.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 rsolr-2.5.0.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rsolr-2.5.0 Bin dir: /builddir/build/BUILD/rsolr-2.5.0/usr/bin Gem home: /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems Plugins dir: /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/plugins /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/.github/workflows/ruby.yml /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/.gitignore /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/.rspec /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/CHANGES.txt /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/Gemfile /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/LICENSE /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/README.rdoc /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/Rakefile /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/lib/rsolr.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/lib/rsolr/char.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/lib/rsolr/client.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/lib/rsolr/document.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/lib/rsolr/error.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/lib/rsolr/field.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/lib/rsolr/generator.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/lib/rsolr/json.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/lib/rsolr/response.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/lib/rsolr/uri.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/lib/rsolr/version.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/lib/rsolr/xml.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/rsolr.gemspec /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/api/client_spec.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/api/document_spec.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/api/error_spec.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/api/json_spec.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/api/pagination_spec.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/api/rsolr_spec.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/api/uri_spec.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/api/xml_spec.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/fixtures/basic_configs/_rest_managed.json /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/fixtures/basic_configs/currency.xml /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/fixtures/basic_configs/lang/stopwords_en.txt /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/fixtures/basic_configs/protwords.txt /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/fixtures/basic_configs/schema.xml /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/fixtures/basic_configs/solrconfig.xml /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/fixtures/basic_configs/stopwords.txt /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/fixtures/basic_configs/synonyms.txt /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/integration/solr5_spec.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/lib/rsolr/client_spec.rb /builddir/build/BUILD/rsolr-2.5.0/usr/share/gems/gems/rsolr-2.5.0/spec/spec_helper.rb Successfully installed rsolr-2.5.0 Parsing documentation for rsolr-2.5.0 Parsing sources... 8% [ 1/12] lib/rsolr.rb 16% [ 2/12] lib/rsolr/char.rb 25% [ 3/12] lib/rsolr/client.rb 33% [ 4/12] lib/rsolr/document.rb 41% [ 5/12] lib/rsolr/error.rb 50% [ 6/12] lib/rsolr/field.rb 58% [ 7/12] lib/rsolr/generator.rb 66% [ 8/12] lib/rsolr/json.rb 75% [ 9/12] lib/rsolr/response.rb 83% [10/12] lib/rsolr/uri.rb 91% [11/12] lib/rsolr/version.rb 100% [12/12] lib/rsolr/xml.rb Installing ri documentation for rsolr-2.5.0 Installing darkfish documentation for rsolr-2.5.0 Done installing documentation for rsolr after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Kwvnc8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-rsolr-2.5.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-rsolr-2.5.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-rsolr-2.5.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-rsolr-2.5.0-1.x86_64 + cd rsolr-2.5.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-rsolr-2.5.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-rsolr-2.5.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-rsolr-2.5.0-1.x86_64/usr/share/gems/ + '[' -d ./usr/bin ']' ~/build/BUILDROOT/rubygem-rsolr-2.5.0-1.x86_64 ~/build/BUILD/rsolr-2.5.0 + '[' -d ext ']' + pushd /builddir/build/BUILDROOT/rubygem-rsolr-2.5.0-1.x86_64 + touch filelist.lst + '[' -d /builddir/build/BUILDROOT/rubygem-rsolr-2.5.0-1.x86_64/usr/bin ']' ~/build/BUILD/rsolr-2.5.0 + popd + mv /builddir/build/BUILDROOT/rubygem-rsolr-2.5.0-1.x86_64/filelist.lst . + /usr/bin/find-debuginfo -j32 --strict-build-id -i --build-id-seed 2.5.0-1 --unique-debug-suffix -2.5.0-1.x86_64 --unique-debug-src-base rubygem-rsolr-2.5.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/rsolr-2.5.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-rsolr-2.5.0-1.noarch warning: Empty %files file /builddir/build/BUILD/rsolr-2.5.0/filelist.lst `did_you_mean' was not loaded. `did_you_mean' was not loaded. `did_you_mean' was not loaded. Provides: rubygem(rsolr) = 2.5.0 rubygem-rsolr rubygem-rsolr = 2.5.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(faraday) >= 0.9 with rubygem(faraday) < 3) ruby(rubygems) rubygem(builder) >= 2.1.2 Conflicts: rubygem(faraday) = 2.0.0 Processing files: rubygem-rsolr-help-2.5.0-1.noarch Provides: rubygem-rsolr-doc rubygem-rsolr-help = 2.5.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-rsolr-2.5.0-1.x86_64 error: Installed (but unpackaged) file(s) found: /usr/share/gems/gems/rsolr-2.5.0/.github/workflows/ruby.yml /usr/share/gems/gems/rsolr-2.5.0/.gitignore /usr/share/gems/gems/rsolr-2.5.0/.rspec Empty %files file /builddir/build/BUILD/rsolr-2.5.0/filelist.lst Installed (but unpackaged) file(s) found: /usr/share/gems/gems/rsolr-2.5.0/.github/workflows/ruby.yml /usr/share/gems/gems/rsolr-2.5.0/.gitignore /usr/share/gems/gems/rsolr-2.5.0/.rspec 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-rsolr.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-rsolr.spec