Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-session.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1687764177.940210/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sup7e15f:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sup7e15f:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2bff64a1cd1e41dd9b7269161628e30b', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1687764177.940210/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sup7e15f:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-session.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1564185600 Wrote: /builddir/build/SRPMS/rubygem-session-3.2.0-1.el9.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-session.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1687764177.940210/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sup7e15f:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sup7e15f:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4df7ecddcc184f21876474be92e144b7', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1687764177.940210/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sup7e15f:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-session.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OF1wlS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rubygem-session-3.2.0 + /usr/bin/mkdir -p rubygem-session-3.2.0 + cd rubygem-session-3.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc /builddir/build/SOURCES/session-3.2.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rubygem-session-3.2.0 Bin dir: /builddir/build/BUILD/rubygem-session-3.2.0/usr/bin Gem home: /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems Plugins dir: /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/plugins /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/LICENSE /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/README /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/Rakefile /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/gemspec.rb /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/lib/session.rb /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/sample/bash.rb /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/sample/bash.rb.out /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/sample/driver.rb /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/sample/session_idl.rb /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/sample/session_sh.rb /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/sample/sh0.rb /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/sample/stdin.rb /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/sample/threadtest.rb /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/session.gemspec /builddir/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0/test/session.rb Successfully installed session-3.2.0 Parsing documentation for session-3.2.0 Parsing sources... 100% [ 1/ 1] lib/session.rb Installing ri documentation for session-3.2.0 Installing darkfish documentation for session-3.2.0 Done installing documentation for session after 0 seconds 1 gem installed + chmod 0664 ./usr/share/gems/gems/session-3.2.0/lib/session.rb + chmod 0664 ./usr/share/gems/gems/session-3.2.0/sample/bash.rb.out + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IlvSzF + umask 022 + cd /builddir/build/BUILD + cd rubygem-session-3.2.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7wiGxE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-session-3.2.0-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-session-3.2.0-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-session-3.2.0-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-session-3.2.0-1.el9.x86_64 + cd rubygem-session-3.2.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-session-3.2.0-1.el9.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-session-3.2.0-1.el9.x86_64/usr/share/gems/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 3.2.0-1.el9 --unique-debug-suffix -3.2.0-1.el9.x86_64 --unique-debug-src-base rubygem-session-3.2.0-1.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/rubygem-session-3.2.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/session-3.2.0/sample/bash.rb from /usr/bin/env ruby to #!/usr/bin/ruby mangling shebang in /usr/share/gems/gems/session-3.2.0/gemspec.rb from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.B1in9b + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/rubygem-session-3.2.0/usr/share/gems/gems/session-3.2.0 ~/build/BUILD/rubygem-session-3.2.0 + cd rubygem-session-3.2.0 + pushd ./usr/share/gems/gems/session-3.2.0 + patch -p1 -F 0 + cat /builddir/build/SOURCES/session-3.1.0-syntax-1424392.patch patching file test/session.rb + sed -i -e 's/^\(def timeout\)/\1_disable/' -e 's/^class Timeout.*$/require '\''timeout'\''/' test/session.rb + ruby -Ilib -e 'Dir.glob "./test/*.rb", &method(:require)' Session::VERSION <3.2.0> Session.use_spawn Session.use_open3 Loaded suite -e Started Finished in 1.245612111 seconds. ------------------------------------------------------------------------------- 8 tests, 8 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed ------------------------------------------------------------------------------- 6.42 tests/s, 6.42 assertions/s + popd ~/build/BUILD/rubygem-session-3.2.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-session-3.2.0-1.el9.noarch Provides: rubygem(session) = 3.2.0 rubygem-session = 3.2.0-1.el9 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-session-doc-3.2.0-1.el9.noarch Provides: rubygem-session-doc = 3.2.0-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/ruby Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-session-3.2.0-1.el9.x86_64 Wrote: /builddir/build/RPMS/rubygem-session-3.2.0-1.el9.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-session-doc-3.2.0-1.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JFIxWp + umask 022 + cd /builddir/build/BUILD + cd rubygem-session-3.2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-session-3.2.0-1.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0