Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tomcat8.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64-1654964259.395765/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.82ocd69n:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.82ocd69n:/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', '0567e9a0016d40528fb4da90879dffc6', '-D', '/var/lib/mock/centos+epel-7-x86_64-1654964259.395765/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.82ocd69n:/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/tomcat8.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 Wrote: /builddir/build/SRPMS/tomcat8-8.5.81-1.el7.harbottle.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/tomcat8.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64-1654964259.395765/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.82ocd69n:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.82ocd69n:/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', '4cd1bb103d7b402a96fec4744b7ac2c1', '-D', '/var/lib/mock/centos+epel-7-x86_64-1654964259.395765/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.82ocd69n:/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/tomcat8.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.L0HixX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf apache-tomcat-8.5.81 + /usr/bin/gzip -dc /builddir/build/SOURCES/apache-tomcat-8.5.81.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd apache-tomcat-8.5.81 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7QYP0Y + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64 ++ dirname /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64 + cd apache-tomcat-8.5.81 + rm -f bin/catalina.bat bin/ciphers.bat bin/configtest.bat bin/digest.bat bin/setclasspath.bat bin/shutdown.bat bin/startup.bat bin/tool-wrapper.bat bin/version.bat + sed -i -e '/^2localhost/d' -e '/\[\/localhost\]/d' -e '/^3manager/d' -e '/\[\/manager\]/d' -e '/^4host-manager/d' -e '/\[\/host-manager\]/d' -e 's/, *4host-manager.org.apache.juli.AsyncFileHandler//' -e 's/, *3manager.org.apache.juli.AsyncFileHandler//' conf/logging.properties + install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/usr/share/tomcat8 + install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/etc + install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/usr/lib/systemd/system + install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/etc/logrotate.d + install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/var/log + install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/var/cache + install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/var/cache/tomcat8 + install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/var/lib + install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/var/lib/tomcat8 + install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/usr/libexec + mv bin /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/usr/libexec/tomcat8 + mv conf /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/etc/tomcat8 + mv lib /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/usr/share/tomcat8/lib + mv logs /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/var/log/tomcat8 + mv temp /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/var/cache/tomcat8/temp + mv work /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/var/cache/tomcat8/work + mv webapps /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/var/lib/tomcat8/webapps + mv BUILDING.txt CONTRIBUTING.md LICENSE NOTICE README.md RELEASE-NOTES RUNNING.txt /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/usr/share/tomcat8/ + install -m 644 /builddir/build/SOURCES/tomcat8.conf /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/etc/tomcat8/tomcat8.conf + install -m 644 /builddir/build/SOURCES/tomcat8.service /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/usr/lib/systemd/system/tomcat8.service + install -m 644 /builddir/build/SOURCES/tomcat8.logrotate /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/etc/logrotate.d/tomcat8 + ln -s /usr/libexec/tomcat8 /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/usr/share/tomcat8/bin + ln -s /etc/tomcat8 /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/usr/share/tomcat8/conf + ln -s /var/log/tomcat8 /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/usr/share/tomcat8/logs + ln -s /var/cache/tomcat8/temp /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/usr/share/tomcat8/temp + ln -s /var/lib/tomcat8/webapps /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/usr/share/tomcat8/webapps + ln -s /var/cache/tomcat8/work /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64/usr/share/tomcat8/work + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: tomcat8-8.5.81-1.el7.harbottle.x86_64 Provides: config(tomcat8) = 8.5.81-1.el7.harbottle tomcat8 tomcat8 = 8.5.81-1.el7.harbottle tomcat8(x86-64) = 8.5.81-1.el7.harbottle Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: /bin/sh Processing files: tomcat8-admin-webapps-8.5.81-1.el7.harbottle.x86_64 warning: File listed twice: /var/lib/tomcat8/webapps/host-manager/WEB-INF/web.xml warning: File listed twice: /var/lib/tomcat8/webapps/manager/WEB-INF/web.xml Provides: config(tomcat8-admin-webapps) = 8.5.81-1.el7.harbottle tomcat8-admin-webapps = 8.5.81-1.el7.harbottle tomcat8-admin-webapps(x86-64) = 8.5.81-1.el7.harbottle Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tomcat8-docs-webapp-8.5.81-1.el7.harbottle.x86_64 Provides: tomcat8-docs-webapp = 8.5.81-1.el7.harbottle tomcat8-docs-webapp(x86-64) = 8.5.81-1.el7.harbottle Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tomcat8-webapps-8.5.81-1.el7.harbottle.x86_64 Provides: tomcat8-webapps = 8.5.81-1.el7.harbottle tomcat8-webapps(x86-64) = 8.5.81-1.el7.harbottle Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64 Wrote: /builddir/build/RPMS/tomcat8-8.5.81-1.el7.harbottle.x86_64.rpm Wrote: /builddir/build/RPMS/tomcat8-admin-webapps-8.5.81-1.el7.harbottle.x86_64.rpm Wrote: /builddir/build/RPMS/tomcat8-docs-webapp-8.5.81-1.el7.harbottle.x86_64.rpm Wrote: /builddir/build/RPMS/tomcat8-webapps-8.5.81-1.el7.harbottle.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lGiXfr + umask 022 + cd /builddir/build/BUILD + cd apache-tomcat-8.5.81 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tomcat8-8.5.81-1.el7.harbottle.x86_64 + exit 0 Child return code was: 0