Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/puppetserver.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1638375393.503623/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.zrgaqgoz:/etc/resolv.conf', '--bind=/dev/btrfs-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.zrgaqgoz:/etc/resolv.conf', '--bind=/dev/btrfs-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', '33165631162543028bf2303873466894', '-D', '/var/lib/mock/epel-8-x86_64-1638375393.503623/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zrgaqgoz:/etc/resolv.conf', '--bind=/dev/btrfs-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/puppetserver.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/puppetserver-6.10.0-2.el8.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/puppetserver.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1638375393.503623/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.zrgaqgoz:/etc/resolv.conf', '--bind=/dev/btrfs-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.zrgaqgoz:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'ab415ba6858140b6be20e2c9881b22cb', '-D', '/var/lib/mock/epel-8-x86_64-1638375393.503623/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zrgaqgoz:/etc/resolv.conf', '--bind=/dev/btrfs-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/puppetserver.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.b2fLrx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf puppetserver-6.10.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/puppetserver-6.10.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd puppetserver-6.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Fix-puppet-paths.patch):' Patch #1 (0001-Fix-puppet-paths.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file controller.sh patching file ext/bin/puppetserver patching file ext/build-scripts/install-vendored-gems.sh patching file ext/cli/ca patching file ext/cli/foreground patching file ext/cli/reload patching file ext/cli/start patching file ext/cli_defaults/cli-defaults.sh patching file ext/config/conf.d/puppetserver.conf patching file ext/debian/postinst patching file ext/debian/preinst patching file ext/debian/puppetserver.default_file patching file ext/debian/puppetserver.service_file patching file ext/default patching file ext/fpm.rb patching file ext/redhat/puppetserver.service patching file install.sh + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aVE0Tt + umask 022 + cd /builddir/build/BUILD + cd puppetserver-6.10.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Io6mxv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64 + cd puppetserver-6.10.0 + bash controller.sh /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64//usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems + mkdir -p /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64//usr/share/puppetlabs/puppet/lib/ruby/vendor_gems + mkdir -p /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_ruby/ + ln -s /usr/share/gems/gems/puppetserver-ca-1.8.0/lib/puppetserver /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_ruby/ + mkdir -p /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64/usr/bin/ + ln -s /usr/share/puppetlabs/bin/puppetserver /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64/usr/bin/puppetserver + mkdir -p /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64/etc/puppetlabs/code/environments/production/manifest /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64/etc/puppetlabs/code/environments/production/modules + mkdir /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64/usr/share/puppetlabs/server/docs + cp /builddir/build/SOURCES/README.md /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64/usr/share/puppetlabs/server/docs + cp /builddir/build/SOURCES/LICENSE.md /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64/usr/share/puppetlabs/server/docs + install -Dp -m0644 ext/puppetserver.logrotate.conf /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64/etc/logrotate.d/puppetserver + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 6.10.0-2.el8 --unique-debug-suffix -6.10.0-2.el8.x86_64 --unique-debug-src-base puppetserver-6.10.0-2.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/puppetserver-6.10.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/share/puppetlabs/server/apps/puppetserver/cli/cli-defaults.sh is executable but has no shebang, removing executable bit mangling shebang in /usr/share/puppetlabs/server/apps/puppetserver/cli/apps/ruby from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/share/puppetlabs/server/apps/puppetserver/cli/apps/irb from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/share/puppetlabs/server/apps/puppetserver/cli/apps/gem from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/share/puppetlabs/server/apps/puppetserver/cli/apps/start from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/share/puppetlabs/server/apps/puppetserver/cli/apps/stop from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/share/puppetlabs/server/apps/puppetserver/cli/apps/reload from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/share/puppetlabs/server/apps/puppetserver/cli/apps/foreground from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/share/puppetlabs/server/apps/puppetserver/scripts/install.sh from /usr/bin/env bash to #!/usr/bin/bash Processing files: puppetserver-6.10.0-2.el8.noarch Provides: config(puppetserver) = 6.10.0-2.el8 puppetserver = 6.10.0-2.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash /usr/bin/bash /usr/bin/ruby Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64 Wrote: /builddir/build/RPMS/puppetserver-6.10.0-2.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6U2SFt + umask 022 + cd /builddir/build/BUILD + cd puppetserver-6.10.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/puppetserver-6.10.0-2.el8.x86_64 + exit 0 Child return code was: 0