Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-hiera-eyaml.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678470251.695098/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-hiera-eyaml.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-hiera-eyaml-3.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-hiera-eyaml.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678470251.695098/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-hiera-eyaml.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-hiera-eyaml-3.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-hiera-eyaml.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678470251.695098/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-hiera-eyaml.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.I2sH1P + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hiera-eyaml-3.3.0 + /usr/bin/gem unpack /builddir/build/SOURCES/hiera-eyaml-3.3.0.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/hiera-eyaml-3.3.0' + /usr/bin/gem spec /builddir/build/SOURCES/hiera-eyaml-3.3.0.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd hiera-eyaml-3.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/hiera-eyaml-3.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.OmKfpM + umask 022 + cd /builddir/build/BUILD + cd hiera-eyaml-3.3.0 + gem build hiera-eyaml.gemspec `did_you_mean' was not loaded. WARNING: open-ended dependency on optimist (>= 0) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on highline (>= 0) 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: hiera-eyaml Version: 3.3.0 File: hiera-eyaml-3.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 hiera-eyaml-3.3.0.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/hiera-eyaml-3.3.0 Bin dir: /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/bin Gem home: /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems Plugins dir: /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/plugins /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/.github/workflows/release.yml /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/.github/workflows/test.yml /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/.gitignore /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/CHANGELOG.md /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/Gemfile /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/HISTORY.md /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/LICENSE.txt /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/PLUGINS.md /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/README.md /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/Rakefile /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/bin/eyaml /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/hiera-eyaml.gemspec /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/CLI.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/commands.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/edithelper.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/encrypthelper.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/encryptor.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/encryptors/pkcs7.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/highlinehelper.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/logginghelper.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/options.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/parser/encrypted_tokens.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/parser/parser.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/parser/token.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/plugins.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommand.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/createkeys.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/decrypt.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/edit.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/encrypt.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/help.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/recrypt.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/unknown_command.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/subcommands/version.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml/utils.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/lib/hiera/backend/eyaml_backend.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/sublime_text/README.md /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/sublime_text/eyaml.sublime-package /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/sublime_text/eyaml.syntax_definition.json /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/tools/git_tag_release.rb /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/share/gems/gems/hiera-eyaml-3.3.0/tools/regem.sh /builddir/build/BUILD/hiera-eyaml-3.3.0/usr/bin/eyaml Successfully installed hiera-eyaml-3.3.0 Parsing documentation for hiera-eyaml-3.3.0 Parsing sources... 4% [ 1/25] lib/hiera/backend/eyaml.rb 8% [ 2/25] lib/hiera/backend/eyaml/CLI.rb 12% [ 3/25] lib/hiera/backend/eyaml/commands.rb 16% [ 4/25] lib/hiera/backend/eyaml/edithelper.rb 20% [ 5/25] lib/hiera/backend/eyaml/encrypthelper.rb 24% [ 6/25] lib/hiera/backend/eyaml/encryptor.rb 28% [ 7/25] lib/hiera/backend/eyaml/encryptors/pkcs7.rb 32% [ 8/25] lib/hiera/backend/eyaml/highlinehelper.rb 36% [ 9/25] lib/hiera/backend/eyaml/logginghelper.rb 40% [10/25] lib/hiera/backend/eyaml/options.rb 44% [11/25] lib/hiera/backend/eyaml/parser/encrypted_tokens.rb 48% [12/25] lib/hiera/backend/eyaml/parser/parser.rb 52% [13/25] lib/hiera/backend/eyaml/parser/token.rb 56% [14/25] lib/hiera/backend/eyaml/plugins.rb 60% [15/25] lib/hiera/backend/eyaml/subcommand.rb 64% [16/25] lib/hiera/backend/eyaml/subcommands/createkeys.rb 68% [17/25] lib/hiera/backend/eyaml/subcommands/decrypt.rb 72% [18/25] lib/hiera/backend/eyaml/subcommands/edit.rb 76% [19/25] lib/hiera/backend/eyaml/subcommands/encrypt.rb 80% [20/25] lib/hiera/backend/eyaml/subcommands/help.rb 84% [21/25] lib/hiera/backend/eyaml/subcommands/recrypt.rb 88% [22/25] lib/hiera/backend/eyaml/subcommands/unknown_command.rb 92% [23/25] lib/hiera/backend/eyaml/subcommands/version.rb 96% [24/25] lib/hiera/backend/eyaml/utils.rb 100% [25/25] lib/hiera/backend/eyaml_backend.rb Installing ri documentation for hiera-eyaml-3.3.0 Installing darkfish documentation for hiera-eyaml-3.3.0 Done installing documentation for hiera-eyaml after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8DTKyv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-hiera-eyaml-3.3.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-hiera-eyaml-3.3.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-hiera-eyaml-3.3.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-hiera-eyaml-3.3.0-1.x86_64 + cd hiera-eyaml-3.3.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-hiera-eyaml-3.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-hiera-eyaml-3.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-hiera-eyaml-3.3.0-1.x86_64/usr/share/gems/ + '[' -d ./usr/bin ']' + mkdir -p /builddir/build/BUILDROOT/rubygem-hiera-eyaml-3.3.0-1.x86_64/usr/bin + cp -a ./usr/bin/eyaml /builddir/build/BUILDROOT/rubygem-hiera-eyaml-3.3.0-1.x86_64/usr/bin/ + '[' -d ext ']' ~/build/BUILDROOT/rubygem-hiera-eyaml-3.3.0-1.x86_64 ~/build/BUILD/hiera-eyaml-3.3.0 + pushd /builddir/build/BUILDROOT/rubygem-hiera-eyaml-3.3.0-1.x86_64 + touch filelist.lst + '[' -d /builddir/build/BUILDROOT/rubygem-hiera-eyaml-3.3.0-1.x86_64/usr/bin ']' + find ./usr/bin -type f -printf '/%h/%f\n' + popd ~/build/BUILD/hiera-eyaml-3.3.0 + mv /builddir/build/BUILDROOT/rubygem-hiera-eyaml-3.3.0-1.x86_64/filelist.lst . + /usr/bin/find-debuginfo -j32 --strict-build-id -i --build-id-seed 3.3.0-1 --unique-debug-suffix -3.3.0-1.x86_64 --unique-debug-src-base rubygem-hiera-eyaml-3.3.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/hiera-eyaml-3.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-hiera-eyaml-3.3.0-1.noarch `did_you_mean' was not loaded. `did_you_mean' was not loaded. `did_you_mean' was not loaded. Provides: rubygem(hiera-eyaml) = 3.3.0 rubygem-hiera-eyaml rubygem-hiera-eyaml = 3.3.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh /usr/bin/env /usr/bin/ruby ruby(rubygems) rubygem(highline) rubygem(optimist) Processing files: rubygem-hiera-eyaml-help-3.3.0-1.noarch Provides: rubygem-hiera-eyaml-doc rubygem-hiera-eyaml-help = 3.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-hiera-eyaml-3.3.0-1.x86_64 error: Installed (but unpackaged) file(s) found: /usr/share/gems/gems/hiera-eyaml-3.3.0/.github/workflows/release.yml /usr/share/gems/gems/hiera-eyaml-3.3.0/.github/workflows/test.yml /usr/share/gems/gems/hiera-eyaml-3.3.0/.gitignore Installed (but unpackaged) file(s) found: /usr/share/gems/gems/hiera-eyaml-3.3.0/.github/workflows/release.yml /usr/share/gems/gems/hiera-eyaml-3.3.0/.github/workflows/test.yml /usr/share/gems/gems/hiera-eyaml-3.3.0/.gitignore 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-hiera-eyaml.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-hiera-eyaml.spec