Mock Version: 1.4.21
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tomcat8.spec'], chrootPath='/var/lib/mock/1129669-epel-8-x86_64-1576443772.161184/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f970d971410>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._173ienx:/etc/resolv.conf']unshare_net=FalseprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._173ienx:/etc/resolv.conf']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0585f3d6a0084befbb7d90c174ba0e55', '-D', '/var/lib/mock/1129669-epel-8-x86_64-1576443772.161184/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._173ienx:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', '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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/tomcat8-8.5.49-2.el8.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/1129669-epel-8-x86_64-1576443772.161184/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f970d971410>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._173ienx:/etc/resolv.conf']unshare_net=FalseprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._173ienx:/etc/resolv.conf']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3ce2fcc9de9a4143a7751621258801a0', '-D', '/var/lib/mock/1129669-epel-8-x86_64-1576443772.161184/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._173ienx:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', '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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.wd5pQe
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf apache-tomcat-8.5.49
+ /usr/bin/gzip -dc /builddir/build/SOURCES/apache-tomcat-8.5.49.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd apache-tomcat-8.5.49
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6VUP2T
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64
++ dirname /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64
+ cd apache-tomcat-8.5.49
+ 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.49-2.el8.harbottle.x86_64/usr/share/tomcat8
+ install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/etc
+ install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/usr/lib/systemd/system
+ install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/etc/logrotate.d
+ install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/var/log
+ install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/var/cache
+ install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/var/cache/tomcat8
+ install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/var/lib
+ install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/var/lib/tomcat8
+ install -d -m 755 /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/usr/libexec
+ mv bin /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/usr/libexec/tomcat8
+ mv conf /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/etc/tomcat8
+ mv lib /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/usr/share/tomcat8/lib
+ mv logs /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/var/log/tomcat8
+ mv temp /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/var/cache/tomcat8/temp
+ mv work /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/var/cache/tomcat8/work
+ mv webapps /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.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.49-2.el8.harbottle.x86_64/usr/share/tomcat8/
+ install -m 644 /builddir/build/SOURCES/tomcat8.conf /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/etc/tomcat8/tomcat8.conf
+ install -m 644 /builddir/build/SOURCES/tomcat8.service /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/usr/lib/systemd/system/tomcat8.service
+ install -m 644 /builddir/build/SOURCES/tomcat8.logrotate /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/etc/logrotate.d/tomcat8
+ ln -s /usr/libexec/tomcat8 /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/usr/share/tomcat8/bin
+ ln -s /etc/tomcat8 /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/usr/share/tomcat8/conf
+ ln -s /var/log/tomcat8 /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/usr/share/tomcat8/logs
+ ln -s /var/cache/tomcat8/temp /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/usr/share/tomcat8/temp
+ ln -s /var/lib/tomcat8/webapps /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/usr/share/tomcat8/webapps
+ ln -s /var/cache/tomcat8/work /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/usr/share/tomcat8/work
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64/etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /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
Processing files: tomcat8-8.5.49-2.el8.harbottle.x86_64
Provides: config(tomcat8) = 8.5.49-2.el8.harbottle tomcat8 tomcat8 = 8.5.49-2.el8.harbottle tomcat8(x86-64) = 8.5.49-2.el8.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.49-2.el8.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.49-2.el8.harbottle tomcat8-admin-webapps = 8.5.49-2.el8.harbottle tomcat8-admin-webapps(x86-64) = 8.5.49-2.el8.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.49-2.el8.harbottle.x86_64
Provides: tomcat8-docs-webapp = 8.5.49-2.el8.harbottle tomcat8-docs-webapp(x86-64) = 8.5.49-2.el8.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.49-2.el8.harbottle.x86_64
Provides: tomcat8-webapps = 8.5.49-2.el8.harbottle tomcat8-webapps(x86-64) = 8.5.49-2.el8.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.49-2.el8.harbottle.x86_64
Wrote: /builddir/build/RPMS/tomcat8-8.5.49-2.el8.harbottle.x86_64.rpm
Wrote: /builddir/build/RPMS/tomcat8-admin-webapps-8.5.49-2.el8.harbottle.x86_64.rpm
Wrote: /builddir/build/RPMS/tomcat8-docs-webapp-8.5.49-2.el8.harbottle.x86_64.rpm
Wrote: /builddir/build/RPMS/tomcat8-webapps-8.5.49-2.el8.harbottle.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ab0eW3
+ umask 022
+ cd /builddir/build/BUILD
+ cd apache-tomcat-8.5.49
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/tomcat8-8.5.49-2.el8.harbottle.x86_64
+ exit 0
Child return code was: 0