Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-pdfkit.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678472411.124270/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-pdfkit.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-pdfkit-0.8.7.2-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-pdfkit.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678472411.124270/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-pdfkit.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-pdfkit-0.8.7.2-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-pdfkit.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678472411.124270/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-pdfkit.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.nFlerT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pdfkit-0.8.7.2 + /usr/bin/gem unpack /builddir/build/SOURCES/pdfkit-0.8.7.2.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/pdfkit-0.8.7.2' + /usr/bin/gem spec /builddir/build/SOURCES/pdfkit-0.8.7.2.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd pdfkit-0.8.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/pdfkit-0.8.7.2.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.lU4wLv + umask 022 + cd /builddir/build/BUILD + cd pdfkit-0.8.7.2 + gem build pdfkit.gemspec `did_you_mean' was not loaded. WARNING: open-ended dependency on activesupport (>= 4.1.11, development) is not recommended if activesupport is semantically versioned, use: add_development_dependency 'activesupport', '~> 4.1', '>= 4.1.11' WARNING: open-ended dependency on mocha (>= 0.9.10, development) is not recommended if mocha is semantically versioned, use: add_development_dependency 'mocha', '~> 0.9', '>= 0.9.10' WARNING: open-ended dependency on rack-test (>= 0.5.6, development) is not recommended if rack-test is semantically versioned, use: add_development_dependency 'rack-test', '~> 0.5', '>= 0.5.6' WARNING: open-ended dependency on rake (>= 12.3.3, development) is not recommended if rake is semantically versioned, use: add_development_dependency 'rake', '~> 12.3', '>= 12.3.3' WARNING: open-ended dependency on rdoc (>= 4.0.1, development) is not recommended if rdoc is semantically versioned, use: add_development_dependency 'rdoc', '~> 4.0', '>= 4.0.1' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: pdfkit Version: 0.8.7.2 File: pdfkit-0.8.7.2.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 pdfkit-0.8.7.2.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/pdfkit-0.8.7.2 Bin dir: /builddir/build/BUILD/pdfkit-0.8.7.2/usr/bin Gem home: /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems Plugins dir: /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/plugins /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/.document /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/.github/workflows/release-drafter.yml /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/.github/workflows/stale.yml /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/.github/workflows/test.yml /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/.gitignore /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/.rspec /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/.ruby-gemset /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/.ruby-version /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/.travis.yml /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/CHANGELOG.md /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/Gemfile /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/LICENSE /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/POST_INSTALL /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/README.md /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/Rakefile /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/lib/pdfkit.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/lib/pdfkit/configuration.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/lib/pdfkit/html_preprocessor.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/lib/pdfkit/middleware.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/lib/pdfkit/os.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/lib/pdfkit/pdfkit.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/lib/pdfkit/source.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/lib/pdfkit/version.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/lib/pdfkit/wkhtmltopdf.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/pdfkit.gemspec /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/spec/configuration_spec.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/spec/fixtures/example.css /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/spec/fixtures/example.html /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/spec/fixtures/example_with_hex_symbol.css /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/spec/html_preprocessor_spec.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/spec/middleware_spec.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/spec/os_spec.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/spec/pdfkit_spec.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/spec/source_spec.rb /builddir/build/BUILD/pdfkit-0.8.7.2/usr/share/gems/gems/pdfkit-0.8.7.2/spec/spec_helper.rb Successfully installed pdfkit-0.8.7.2 Parsing documentation for pdfkit-0.8.7.2 Parsing sources... 11% [ 1/ 9] lib/pdfkit.rb 22% [ 2/ 9] lib/pdfkit/configuration.rb 33% [ 3/ 9] lib/pdfkit/html_preprocessor.rb 44% [ 4/ 9] lib/pdfkit/middleware.rb 55% [ 5/ 9] lib/pdfkit/os.rb 66% [ 6/ 9] lib/pdfkit/pdfkit.rb 77% [ 7/ 9] lib/pdfkit/source.rb 88% [ 8/ 9] lib/pdfkit/version.rb 100% [ 9/ 9] lib/pdfkit/wkhtmltopdf.rb Installing ri documentation for pdfkit-0.8.7.2 Installing darkfish documentation for pdfkit-0.8.7.2 Done installing documentation for pdfkit after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5ChP6U + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-pdfkit-0.8.7.2-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-pdfkit-0.8.7.2-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-pdfkit-0.8.7.2-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-pdfkit-0.8.7.2-1.x86_64 + cd pdfkit-0.8.7.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-pdfkit-0.8.7.2-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-pdfkit-0.8.7.2-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-pdfkit-0.8.7.2-1.x86_64/usr/share/gems/ + '[' -d ./usr/bin ']' ~/build/BUILDROOT/rubygem-pdfkit-0.8.7.2-1.x86_64 ~/build/BUILD/pdfkit-0.8.7.2 + '[' -d ext ']' + pushd /builddir/build/BUILDROOT/rubygem-pdfkit-0.8.7.2-1.x86_64 + touch filelist.lst + '[' -d /builddir/build/BUILDROOT/rubygem-pdfkit-0.8.7.2-1.x86_64/usr/bin ']' + popd ~/build/BUILD/pdfkit-0.8.7.2 + mv /builddir/build/BUILDROOT/rubygem-pdfkit-0.8.7.2-1.x86_64/filelist.lst . + /usr/bin/find-debuginfo -j32 --strict-build-id -i --build-id-seed 0.8.7.2-1 --unique-debug-suffix -0.8.7.2-1.x86_64 --unique-debug-src-base rubygem-pdfkit-0.8.7.2-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/pdfkit-0.8.7.2 + /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-pdfkit-0.8.7.2-1.noarch warning: Empty %files file /builddir/build/BUILD/pdfkit-0.8.7.2/filelist.lst `did_you_mean' was not loaded. `did_you_mean' was not loaded. `did_you_mean' was not loaded. Provides: rubygem(pdfkit) = 0.8.7.2 rubygem-pdfkit rubygem-pdfkit = 0.8.7.2-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-pdfkit-help-0.8.7.2-1.noarch Provides: rubygem-pdfkit-doc rubygem-pdfkit-help = 0.8.7.2-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-pdfkit-0.8.7.2-1.x86_64 error: Installed (but unpackaged) file(s) found: /usr/share/gems/gems/pdfkit-0.8.7.2/.document /usr/share/gems/gems/pdfkit-0.8.7.2/.github/workflows/release-drafter.yml /usr/share/gems/gems/pdfkit-0.8.7.2/.github/workflows/stale.yml /usr/share/gems/gems/pdfkit-0.8.7.2/.github/workflows/test.yml /usr/share/gems/gems/pdfkit-0.8.7.2/.gitignore /usr/share/gems/gems/pdfkit-0.8.7.2/.rspec /usr/share/gems/gems/pdfkit-0.8.7.2/.ruby-gemset /usr/share/gems/gems/pdfkit-0.8.7.2/.ruby-version /usr/share/gems/gems/pdfkit-0.8.7.2/.travis.yml Empty %files file /builddir/build/BUILD/pdfkit-0.8.7.2/filelist.lst Installed (but unpackaged) file(s) found: /usr/share/gems/gems/pdfkit-0.8.7.2/.document /usr/share/gems/gems/pdfkit-0.8.7.2/.github/workflows/release-drafter.yml /usr/share/gems/gems/pdfkit-0.8.7.2/.github/workflows/stale.yml /usr/share/gems/gems/pdfkit-0.8.7.2/.github/workflows/test.yml /usr/share/gems/gems/pdfkit-0.8.7.2/.gitignore /usr/share/gems/gems/pdfkit-0.8.7.2/.rspec /usr/share/gems/gems/pdfkit-0.8.7.2/.ruby-gemset /usr/share/gems/gems/pdfkit-0.8.7.2/.ruby-version /usr/share/gems/gems/pdfkit-0.8.7.2/.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-pdfkit.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-pdfkit.spec