Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-linked-list.spec'], chrootPath='/var/lib/mock/dist-ocs23-rebuild-test-1-build-295014-28650/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-linked-list.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 Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/rubygem-linked-list-0.0.16-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-linked-list.spec'], chrootPath='/var/lib/mock/dist-ocs23-rebuild-test-1-build-295014-28650/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-linked-list.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 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uPOigg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf linked-list-0.0.16 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/linked-list-0.0.16.gem Unpacked gem: '/builddir/build/BUILD/linked-list-0.0.16' + STATUS=0 + '[' 0 -ne 0 ']' + cd linked-list-0.0.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dlqgCQ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd linked-list-0.0.16 + gem build ../linked-list-0.0.16.gemspec WARNING: expected RubyGems version 3.5.16, was 3.1.2 WARNING: description and summary are identical 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: make sure you specify the oldest ruby version constraint (like ">= 3.0") that you want your gem to support by setting the `required_ruby_version` gemspec attribute WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: linked-list Version: 0.0.16 File: linked-list-0.0.16.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc linked-list-0.0.16.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/linked-list-0.0.16 Bin dir: /builddir/build/BUILD/linked-list-0.0.16/usr/bin Gem home: /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems Plugins dir: /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/plugins /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/.gitignore /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/.travis.yml /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/CHANGELOG.md /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/Gemfile /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/LICENSE.txt /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/README.md /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/Rakefile /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/bin/console /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/bin/setup /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/lib/linked-list.rb /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/lib/linked-list/conversions.rb /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/lib/linked-list/list.rb /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/lib/linked-list/node.rb /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/lib/linked-list/version.rb /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/linked-list.gemspec /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/test/conversions_test.rb /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/test/list_test.rb /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/test/node_test.rb /builddir/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16/test/test_helper.rb /builddir/build/BUILD/linked-list-0.0.16/usr/bin/console /builddir/build/BUILD/linked-list-0.0.16/usr/bin/setup Successfully installed linked-list-0.0.16 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.x5ZSIB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-linked-list-0.0.16-2.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-linked-list-0.0.16-2.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/rubygem-linked-list-0.0.16-2.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-linked-list-0.0.16-2.ocs23.noarch + cd linked-list-0.0.16 + mkdir -p /builddir/build/BUILDROOT/rubygem-linked-list-0.0.16-2.ocs23.noarch/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-linked-list-0.0.16-2.ocs23.noarch/usr/share/gems/ + find /builddir/build/BUILDROOT/rubygem-linked-list-0.0.16-2.ocs23.noarch/usr/share/gems/gems/linked-list-0.0.16/bin -type f + xargs chmod a+x + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.0.16-2.ocs23 --unique-debug-suffix -0.0.16-2.ocs23.noarch --unique-debug-src-base rubygem-linked-list-0.0.16-2.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/linked-list-0.0.16 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/linked-list-0.0.16/bin/console from /usr/bin/env ruby to #!/usr/bin/ruby mangling shebang in /usr/share/gems/gems/linked-list-0.0.16/bin/setup from /usr/bin/env bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xHC8cq + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' ~/build/BUILD/linked-list-0.0.16/usr/share/gems/gems/linked-list-0.0.16 ~/build/BUILD/linked-list-0.0.16 + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd linked-list-0.0.16 + pushd ./usr/share/gems/gems/linked-list-0.0.16 + ruby -Ilib:test -e 'Dir.glob "./test/*_test.rb", &method(:require)' Run options: --seed 58196 # Running: .................................................................................................................... Finished in 0.011455s, 10126.7273 runs/s, 14666.2947 assertions/s. 116 runs, 168 assertions, 0 failures, 0 errors, 0 skips + popd ~/build/BUILD/linked-list-0.0.16 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-linked-list-0.0.16-2.ocs23.noarch Provides: rubygem(linked-list) = 0.0.16 rubygem-linked-list = 0.0.16-2.ocs23 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-linked-list-doc-0.0.16-2.ocs23.noarch error: File not found: /builddir/build/BUILDROOT/rubygem-linked-list-0.0.16-2.ocs23.noarch/usr/share/gems/doc/linked-list-0.0.16 RPM build errors: File not found: /builddir/build/BUILDROOT/rubygem-linked-list-0.0.16-2.ocs23.noarch/usr/share/gems/doc/linked-list-0.0.16 Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-linked-list.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 597, 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 --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-linked-list.spec