Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/logcheck.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1629997507.335422/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1hbrwgbp:/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.1hbrwgbp:/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', '5795b10e842e43eea2603f52c88edeb4', '-D', '/var/lib/mock/epel-8-x86_64-1629997507.335422/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1hbrwgbp:/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/logcheck.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/logcheck-1.3.15-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/logcheck.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1629997507.335422/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1hbrwgbp:/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.1hbrwgbp:/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', '19507a8c16284e10a7d4a47075ed56c8', '-D', '/var/lib/mock/epel-8-x86_64-1629997507.335422/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1hbrwgbp:/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/logcheck.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.xfi2ww + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf logcheck-1.3.15 + /usr/bin/gzip -dc /builddir/build/SOURCES/logcheck_1.3.15.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd logcheck-1.3.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (logcheck-dhclient.patch): + echo 'Patch #0 (logcheck-dhclient.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file rulefiles/linux/ignore.d.server/dhclient + sed -i s/syslog/messages/ etc/logcheck.logfiles + sed -i 's/auth\.log/secure/' etc/logcheck.logfiles + echo 'd /var/lock/logcheck 1700 logcheck logcheck 1d' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FQDo8s + umask 022 + cd /builddir/build/BUILD + cd logcheck-1.3.15 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jpyj7s + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64 + cd logcheck-1.3.15 + rm -rf /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64 # Create the directories install -m 750 -d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck install -d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/var/lib/logcheck install -d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/sbin install -d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/bin install -d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/var/lock/logcheck install -d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/logtail/detectrotate install -m 2750 -d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/ignore.d.paranoid install -m 2750 -d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/ignore.d.workstation install -m 2750 -d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/ignore.d.server install -m 2750 -d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/cracking.d install -m 2750 -d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/cracking.ignore.d install -m 2750 -d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/violations.d install -m 2750 -d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/violations.ignore.d # Install the scripts install -m 755 src/logcheck /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/sbin/ install -m 755 src/logtail /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/sbin/ install -m 755 src/logtail2 /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/sbin/ install -m 755 src/logcheck-test /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/bin/ install -m 755 src/detectrotate/10-savelog.dtr /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/logtail/detectrotate/ install -m 755 src/detectrotate/20-logrotate.dtr /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/logtail/detectrotate/ install -m 755 src/detectrotate/30-logrotate-dateext.dtr /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/logtail/detectrotate/ # Install the config files install -m 640 etc/logcheck.logfiles /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck install -m 640 etc/logcheck.conf /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck # Install the rulefiles install -m 644 rulefiles/linux/ignore.d.paranoid/* \ /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/ignore.d.paranoid/ install -m 644 rulefiles/linux/ignore.d.server/* \ /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/ignore.d.server/ install -m 644 rulefiles/linux/ignore.d.workstation/* \ /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/ignore.d.workstation/ install -m 644 rulefiles/linux/violations.d/* \ /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/violations.d/ install -m 644 rulefiles/linux/violations.ignore.d/* \ /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/violations.ignore.d/ install -m 644 rulefiles/linux/cracking.d/* \ /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/cracking.d/ + rm -f /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64//etc/logcheck/violations.d/logcheck + /usr/bin/mkdir -pm 755 /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/man/man8 + /usr/bin/install -pm 644 docs/logtail.8 /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/man/man8/ + /usr/bin/install -pm 644 docs/logtail2.8 /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/man/man8/ + docbook2man -o /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/man/man8/ docs/logcheck.sgml Using catalogs: /etc/sgml/sgml-docbook-4.1.cat Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print Working on: /builddir/build/BUILD/logcheck-1.3.15/docs/logcheck.sgml .sp .RS .sp .nf .sp .fi .RE .sp Jon Middleton 2004Jon Middleton+ mv /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/man/man8/Logcheck.8 /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/man/man8/logcheck.8 + rm -f /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/man/man8/manpage.links /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/man/man8/manpage.log /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/man/man8/manpage.refs + /usr/bin/mkdir -pm 755 /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/man/man1 + /usr/bin/install -pm 644 docs/logcheck-test.1 /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/man/man1/ + /usr/bin/install -pm 644 docs/logtail2.8 /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/man/man8/ + /usr/bin/mkdir -pm 755 /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/cron.d + /usr/bin/install -pm 644 debian/logcheck.cron.d /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/cron.d/logcheck + /usr/bin/mkdir -pm 755 /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/var/lock/logcheck + /usr/bin/mkdir -pm 644 /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/var/lib/logcheck + /usr/bin/mkdir -pm 755 /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/tmpfiles.d + /usr/bin/install -pm 644 etc/tmpfiles.d-logcheck /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/tmpfiles.d/logcheck.conf + /usr/bin/install -pm 644 /builddir/build/SOURCES/logchk-systemd-ignore /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/ignore.d.server/systemd + /usr/bin/install -pm 644 /builddir/build/SOURCES/logchk-NetworkManager-ignore /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/ignore.d.server/NetworkManager + /usr/bin/install -pm 644 /builddir/build/SOURCES/logchk-dbus-ignore /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/etc/logcheck/ignore.d.server/dbus + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.3.15-2.el8 --unique-debug-suffix -1.3.15-2.el8.x86_64 --unique-debug-src-base logcheck-1.3.15-2.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/logcheck-1.3.15 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/logcheck-1.3.15-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 Processing files: logcheck-1.3.15-2.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iEj7vt + umask 022 + cd /builddir/build/BUILD + cd logcheck-1.3.15 + DOCDIR=/builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/doc/logcheck + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/doc/logcheck + cp -pr docs/README-psionic docs/README.Maintainer docs/README.how.to.interpret docs/README.keywords docs/README.logcheck docs/README.logcheck-database docs/README.logtail docs/logcheck-test.1 docs/logcheck.sgml docs/logtail.8 docs/logtail2.8 docs/tools /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/doc/logcheck + cp -pr LICENSE /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64/usr/share/doc/logcheck + exit 0 Provides: config(logcheck) = 1.3.15-2.el8 logcheck = 1.3.15-2.el8 Requires(interp): /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: /bin/bash /bin/sh /usr/bin/perl Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64 Wrote: /builddir/build/RPMS/logcheck-1.3.15-2.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UmTF6u + umask 022 + cd /builddir/build/BUILD + cd logcheck-1.3.15 + rm -rf /builddir/build/BUILDROOT/logcheck-1.3.15-2.el8.x86_64 + exit 0 Child return code was: 0