Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/puppetserver.spec'], chrootPath='/var/lib/mock/1155253-epel-8-x86_64-1579282714.298891/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vjetugf9:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vjetugf9:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '40f475aa081b439f9eaa20df05f8ee9b', '-D', '/var/lib/mock/1155253-epel-8-x86_64-1579282714.298891/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vjetugf9:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', '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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/puppetserver-6.7.1-1.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/1155253-epel-8-x86_64-1579282714.298891/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vjetugf9:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vjetugf9:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '433677aa4e634dd690f730cf7ced0eb8', '-D', '/var/lib/mock/1155253-epel-8-x86_64-1579282714.298891/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vjetugf9:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', '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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uz5cI5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf puppetserver-6.7.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/puppetserver-6.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd puppetserver-6.7.1 + /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/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.hUimt2 + umask 022 + cd /builddir/build/BUILD + cd puppetserver-6.7.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lLGYeZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64 + cd puppetserver-6.7.1 + bash controller.sh /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/bin /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/build_info /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/cache /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/doc /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/extensions /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/gems /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/specifications + ln -sf /usr/bin/hocon /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/bin + ln -sf /usr/bin/rmsgcat /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/bin + ln -sf /usr/bin/rmsgfmt /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/bin + ln -sf /usr/bin/rmsginit /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/bin + ln -sf /usr/bin/rmsgmerge /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/bin + ln -sf /usr/bin/rxgettext /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/bin + ln -s /usr/share/gems/gems/concurrent-ruby-1.1.5 /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/gems + ln -s /usr/share/gems/gems/fast_gettext-1.2.0 /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/gems + ln -s /usr/share/gems/gems/gettext-3.3.2 /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/gems + ln -s /usr/share/gems/gems/hocon-1.3.0 /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/gems + ln -s /usr/share/gems/gems/locale-2.1.2 /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/gems + ln -s /usr/share/gems/gems/semantic_puppet-1.0.2 /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/gems + ln -s /usr/share/gems/gems/text-1.3.1 /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/gems + ln -s /usr/share/gems/specifications/concurrent-ruby-1.1.5.gemspec /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/specifications/ + ln -s /usr/share/gems/specifications/fast_gettext-1.2.0.gemspec /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/specifications/ + ln -s /usr/share/gems/specifications/gettext-3.3.2.gemspec /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/specifications/ + ln -s /usr/share/gems/specifications/hocon-1.3.0.gemspec /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/specifications/ + ln -s /usr/share/gems/specifications/locale-2.1.2.gemspec /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/specifications/ + ln -s /usr/share/gems/specifications/semantic_puppet-1.0.2.gemspec /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/specifications/ + ln -s /usr/share/gems/specifications/text-1.3.1.gemspec /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/specifications/ + mkdir -p /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_ruby/ + ln -s /usr/share/gems/gems/puppetserver-ca-1.4.0/lib/puppetserver /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_ruby/ + mkdir -p /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_gems /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_gems/bin /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_gems/build_info /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_gems/cache /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_gems/doc /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_gems/extensions /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_gems/gems /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_gems/specifications + ln -s /usr/share/gems/gems/puppetserver-ca-1.4.0/exe/puppetserver-ca /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_gems/bin + ln -s /usr/share/gems/gems/puppetserver-ca-1.4.0 /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_gems/gems + ln -s /usr/share/gems/specifications/puppetserver-ca-1.4.0.gemspec /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/puppet/lib/ruby/vendor_gems/specifications + mkdir -p /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/bin/ + ln -s /usr/share/puppetlabs/bin/puppetserver /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/bin/puppetserver + mkdir -p /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/etc/puppetlabs/code/environments/production/manifest /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/etc/puppetlabs/code/environments/production/modules + mkdir /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/docs + cp /builddir/build/SOURCES/README.md /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/usr/share/puppetlabs/server/docs + mkdir -p /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/etc/logrotate.d + cp /builddir/build/SOURCES/puppetserver.logrotate /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64/etc/logrotate.d/puppetserver + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 6.7.1-1.el8 --unique-debug-suffix -6.7.1-1.el8.x86_64 --unique-debug-src-base puppetserver-6.7.1-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/puppetserver-6.7.1 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.7.1-1.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 empty or 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.7.1-1.el8.noarch warning: File listed twice: /usr/share/puppetlabs/puppet/lib/ruby/vendor_gems/gems warning: File listed twice: /usr/share/puppetlabs/puppet/lib/ruby/vendor_gems/specifications warning: File listed twice: /usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/gems warning: File listed twice: /usr/share/puppetlabs/server/data/puppetserver/vendored-jruby-gems/specifications Provides: config(puppetserver) = 6.7.1-1.el8 puppetserver = 6.7.1-1.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.7.1-1.el8.x86_64 Wrote: /builddir/build/RPMS/puppetserver-6.7.1-1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ja610P + umask 022 + cd /builddir/build/BUILD + cd puppetserver-6.7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/puppetserver-6.7.1-1.el8.x86_64 + exit 0 Child return code was: 0