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-rack.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-199384-14244/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=982gid=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-rack.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-rack-3.1.7-1.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-rack.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-199384-14244/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=982gid=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-rack.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.dvEzUR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rack-3.1.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rack-3.1.7-tests.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rack-3.1.7.gem Unpacked gem: '/builddir/build/BUILD/rack-3.1.7' + STATUS=0 + '[' 0 -ne 0 ']' + cd rack-3.1.7 + /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.pljVTS + 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 rack-3.1.7 + gem build ../rack-3.1.7.gemspec WARNING: open-ended dependency on minitest-global_expectations (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on bundler (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rake (>= 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: rack Version: 3.1.7 File: rack-3.1.7.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 rack-3.1.7.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rack-3.1.7 Bin dir: /builddir/build/BUILD/rack-3.1.7/usr/bin Gem home: /builddir/build/BUILD/rack-3.1.7/usr/share/gems Plugins dir: /builddir/build/BUILD/rack-3.1.7/usr/share/gems/plugins /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/CHANGELOG.md /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/CONTRIBUTING.md /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/MIT-LICENSE /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/README.md /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/SPEC.rdoc /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/auth/abstract/handler.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/auth/abstract/request.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/auth/basic.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/bad_request.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/body_proxy.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/builder.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/cascade.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/common_logger.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/conditional_get.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/config.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/constants.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/content_length.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/content_type.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/deflater.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/directory.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/etag.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/events.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/files.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/head.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/headers.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/lint.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/lock.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/logger.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/media_type.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/method_override.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/mime.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/mock.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/mock_request.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/mock_response.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/multipart.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/multipart/generator.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/multipart/parser.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/multipart/uploaded_file.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/null_logger.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/query_parser.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/recursive.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/reloader.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/request.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/response.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/rewindable_input.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/runtime.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/sendfile.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/show_exceptions.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/show_status.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/static.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/tempfile_reaper.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/urlmap.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/utils.rb /builddir/build/BUILD/rack-3.1.7/usr/share/gems/gems/rack-3.1.7/lib/rack/version.rb Successfully installed rack-3.1.7 Parsing documentation for rack-3.1.7 Parsing sources... 1% [ 1/53] CHANGELOG.md 3% [ 2/53] CONTRIBUTING.md 5% [ 3/53] README.md 7% [ 4/53] lib/rack.rb 9% [ 5/53] lib/rack/auth/abstract/handler.rb 11% [ 6/53] lib/rack/auth/abstract/request.rb 13% [ 7/53] lib/rack/auth/basic.rb 15% [ 8/53] lib/rack/bad_request.rb 16% [ 9/53] lib/rack/body_proxy.rb 18% [10/53] lib/rack/builder.rb 20% [11/53] lib/rack/cascade.rb 22% [12/53] lib/rack/common_logger.rb 24% [13/53] lib/rack/conditional_get.rb 26% [14/53] lib/rack/config.rb 28% [15/53] lib/rack/constants.rb 30% [16/53] lib/rack/content_length.rb 32% [17/53] lib/rack/content_type.rb 33% [18/53] lib/rack/deflater.rb 35% [19/53] lib/rack/directory.rb 37% [20/53] lib/rack/etag.rb 39% [21/53] lib/rack/events.rb 41% [22/53] lib/rack/files.rb 43% [23/53] lib/rack/head.rb 45% [24/53] lib/rack/headers.rb 47% [25/53] lib/rack/lint.rb 49% [26/53] lib/rack/lock.rb 50% [27/53] lib/rack/logger.rb 52% [28/53] lib/rack/media_type.rb 54% [29/53] lib/rack/method_override.rb 56% [30/53] lib/rack/mime.rb 58% [31/53] lib/rack/mock.rb 60% [32/53] lib/rack/mock_request.rb 62% [33/53] lib/rack/mock_response.rb 64% [34/53] lib/rack/multipart.rb 66% [35/53] lib/rack/multipart/generator.rb 67% [36/53] lib/rack/multipart/parser.rb 69% [37/53] lib/rack/multipart/uploaded_file.rb 71% [38/53] lib/rack/null_logger.rb 73% [39/53] lib/rack/query_parser.rb 75% [40/53] lib/rack/recursive.rb 77% [41/53] lib/rack/reloader.rb 79% [42/53] lib/rack/request.rb 81% [43/53] lib/rack/response.rb 83% [44/53] lib/rack/rewindable_input.rb 84% [45/53] lib/rack/runtime.rb 86% [46/53] lib/rack/sendfile.rb 88% [47/53] lib/rack/show_exceptions.rb 90% [48/53] lib/rack/show_status.rb 92% [49/53] lib/rack/static.rb 94% [50/53] lib/rack/tempfile_reaper.rb 96% [51/53] lib/rack/urlmap.rb 98% [52/53] lib/rack/utils.rb 100% [53/53] lib/rack/version.rb Installing ri documentation for rack-3.1.7 Installing darkfish documentation for rack-3.1.7 Done installing documentation for rack after 3 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GWoGHY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-rack-3.1.7-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-rack-3.1.7-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/rubygem-rack-3.1.7-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-rack-3.1.7-1.ocs23.noarch + cd rack-3.1.7 + mkdir -p /builddir/build/BUILDROOT/rubygem-rack-3.1.7-1.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-rack-3.1.7-1.ocs23.noarch/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-rack-3.1.7-1.ocs23.noarch/usr/bin + cp -a './usr/bin/*' /builddir/build/BUILDROOT/rubygem-rack-3.1.7-1.ocs23.noarch/usr/bin/ cp: cannot stat './usr/bin/*': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.GWoGHY (%install) Bad exit status from /var/tmp/rpm-tmp.GWoGHY (%install) RPM build errors: 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-rack.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-rack.spec