Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tomcat10.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1654935447.002873/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.r86tg1y7:/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.r86tg1y7:/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', '55059ec534d74da9aeba9619d32665fc', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1654935447.002873/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r86tg1y7:/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/tomcat10.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/tomcat10-10.0.22-1.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/tomcat10.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1654935447.002873/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.r86tg1y7:/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.r86tg1y7:/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', 'e37f5f7222484ec0a184a1a4339053ba', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1654935447.002873/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r86tg1y7:/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/tomcat10.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.pqEzNv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf apache-tomcat-10.0.22 + /usr/bin/gzip -dc /builddir/build/SOURCES/apache-tomcat-10.0.22.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd apache-tomcat-10.0.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LJpyNv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64 ++ dirname /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64 + cd apache-tomcat-10.0.22 + rm -f bin/catalina.bat bin/ciphers.bat bin/configtest.bat bin/digest.bat bin/makebase.bat bin/migrate.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/tomcat10-10.0.22-1.el8.harbottle.x86_64/usr/share/tomcat10 + install -d -m 755 /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/etc + install -d -m 755 /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/usr/lib/systemd/system + install -d -m 755 /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/etc/logrotate.d + install -d -m 755 /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/var/log + install -d -m 755 /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/var/cache + install -d -m 755 /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/var/cache/tomcat10 + install -d -m 755 /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/var/lib + install -d -m 755 /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/var/lib/tomcat10 + install -d -m 755 /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/usr/libexec + mv bin /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/usr/libexec/tomcat10 + mv conf /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/etc/tomcat10 + mv lib /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/usr/share/tomcat10/lib + mv logs /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/var/log/tomcat10 + mv temp /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/var/cache/tomcat10/temp + mv work /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/var/cache/tomcat10/work + mv webapps /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/var/lib/tomcat10/webapps + mv BUILDING.txt CONTRIBUTING.md LICENSE NOTICE README.md RELEASE-NOTES RUNNING.txt /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/usr/share/tomcat10/ + install -m 644 /builddir/build/SOURCES/tomcat10.conf /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/etc/tomcat10/tomcat10.conf + install -m 644 /builddir/build/SOURCES/tomcat10.service /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/usr/lib/systemd/system/tomcat10.service + install -m 644 /builddir/build/SOURCES/tomcat10.logrotate /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/etc/logrotate.d/tomcat10 + ln -s /usr/libexec/tomcat10 /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/usr/share/tomcat10/bin + ln -s /etc/tomcat10 /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/usr/share/tomcat10/conf + ln -s /var/log/tomcat10 /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/usr/share/tomcat10/logs + ln -s /var/cache/tomcat10/temp /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/usr/share/tomcat10/temp + ln -s /var/lib/tomcat10/webapps /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/usr/share/tomcat10/webapps + ln -s /var/cache/tomcat10/work /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64/usr/share/tomcat10/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/tomcat10-10.0.22-1.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: tomcat10-10.0.22-1.el8.harbottle.x86_64 Provides: config(tomcat10) = 10.0.22-1.el8.harbottle tomcat10 tomcat10 = 10.0.22-1.el8.harbottle tomcat10(x86-64) = 10.0.22-1.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: tomcat10-admin-webapps-10.0.22-1.el8.harbottle.x86_64 warning: File listed twice: /var/lib/tomcat10/webapps/host-manager/WEB-INF/web.xml warning: File listed twice: /var/lib/tomcat10/webapps/manager/WEB-INF/web.xml Provides: config(tomcat10-admin-webapps) = 10.0.22-1.el8.harbottle tomcat10-admin-webapps = 10.0.22-1.el8.harbottle tomcat10-admin-webapps(x86-64) = 10.0.22-1.el8.harbottle Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tomcat10-docs-webapp-10.0.22-1.el8.harbottle.x86_64 Provides: tomcat10-docs-webapp = 10.0.22-1.el8.harbottle tomcat10-docs-webapp(x86-64) = 10.0.22-1.el8.harbottle Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tomcat10-webapps-10.0.22-1.el8.harbottle.x86_64 Provides: tomcat10-webapps = 10.0.22-1.el8.harbottle tomcat10-webapps(x86-64) = 10.0.22-1.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/tomcat10-10.0.22-1.el8.harbottle.x86_64 Wrote: /builddir/build/RPMS/tomcat10-10.0.22-1.el8.harbottle.x86_64.rpm Wrote: /builddir/build/RPMS/tomcat10-admin-webapps-10.0.22-1.el8.harbottle.x86_64.rpm Wrote: /builddir/build/RPMS/tomcat10-docs-webapp-10.0.22-1.el8.harbottle.x86_64.rpm Wrote: /builddir/build/RPMS/tomcat10-webapps-10.0.22-1.el8.harbottle.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8JvU8u + umask 022 + cd /builddir/build/BUILD + cd apache-tomcat-10.0.22 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tomcat10-10.0.22-1.el8.harbottle.x86_64 + exit 0 Child return code was: 0