Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/zfs-auto-snapshot.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1663257330.940838/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.6ebe5xka:/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.6ebe5xka:/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', '9c1e7611d8604cfa9a25eb3e14900346', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1663257330.940838/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6ebe5xka:/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/zfs-auto-snapshot.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/zfs-auto-snapshot-1.2.4-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/zfs-auto-snapshot.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1663257330.940838/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.6ebe5xka:/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.6ebe5xka:/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', '53b34d62dfa541789e7eb7a7c7ce99d7', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1663257330.940838/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6ebe5xka:/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/zfs-auto-snapshot.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.HAP1Ku + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zfs-auto-snapshot-upstream-1.2.4 + /usr/bin/tar -xvvof - + /usr/bin/gzip -dc /builddir/build/SOURCES/1.2.4.tar.gz drwxrwxr-x root/root 0 2017-09-18 07:25 zfs-auto-snapshot-upstream-1.2.4/ -rw-rw-r-- root/root 18092 2017-09-18 07:25 zfs-auto-snapshot-upstream-1.2.4/COPYING -rw-rw-r-- root/root 929 2017-09-18 07:25 zfs-auto-snapshot-upstream-1.2.4/Makefile -rw-rw-r-- root/root 691 2017-09-18 07:25 zfs-auto-snapshot-upstream-1.2.4/README drwxrwxr-x root/root 0 2017-09-18 07:25 zfs-auto-snapshot-upstream-1.2.4/etc/ -rw-rw-r-- root/root 173 2017-09-18 07:25 zfs-auto-snapshot-upstream-1.2.4/etc/zfs-auto-snapshot.cron.daily -rw-rw-r-- root/root 184 2017-09-18 07:25 zfs-auto-snapshot-upstream-1.2.4/etc/zfs-auto-snapshot.cron.frequent -rw-rw-r-- root/root 174 2017-09-18 07:25 zfs-auto-snapshot-upstream-1.2.4/etc/zfs-auto-snapshot.cron.hourly -rw-rw-r-- root/root 175 2017-09-18 07:25 zfs-auto-snapshot-upstream-1.2.4/etc/zfs-auto-snapshot.cron.monthly -rw-rw-r-- root/root 173 2017-09-18 07:25 zfs-auto-snapshot-upstream-1.2.4/etc/zfs-auto-snapshot.cron.weekly drwxrwxr-x root/root 0 2017-09-18 07:25 zfs-auto-snapshot-upstream-1.2.4/src/ -rw-rw-r-- root/root 2775 2017-09-18 07:25 zfs-auto-snapshot-upstream-1.2.4/src/zfs-auto-snapshot.8 -rwxrwxr-x root/root 15044 2017-09-18 07:25 zfs-auto-snapshot-upstream-1.2.4/src/zfs-auto-snapshot.sh Patch (0001-prefix_label_order.patch): + STATUS=0 + '[' 0 -ne 0 ']' + cd zfs-auto-snapshot-upstream-1.2.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch (0001-prefix_label_order.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/zfs-auto-snapshot.sh + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wo7fu1 + umask 022 + cd /builddir/build/BUILD + cd zfs-auto-snapshot-upstream-1.2.4 + mkdir -p ../systemd + cd ../systemd + arr=("frequent|4|*:0/15" "hourly|24|hourly" "daily|31|daily" "weekly|8|weekly" "monthly|12|monthly") + declare -a arr + for i in "${arr[@]}" ++ echo 'frequent|4|*:0/15' ++ cut '-d|' -f1 + _label=frequent ++ echo 'frequent|4|*:0/15' ++ cut '-d|' -f2 + _keep=4 ++ echo 'frequent|4|*:0/15' ++ cut '-d|' -f3 + _OnCalendarSpec='*:0/15' + _snapprefix=--prefix=znap + cat + cat + for i in "${arr[@]}" ++ echo 'hourly|24|hourly' ++ cut '-d|' -f1 + _label=hourly ++ echo 'hourly|24|hourly' ++ cut '-d|' -f2 + _keep=24 ++ echo 'hourly|24|hourly' ++ cut '-d|' -f3 + _OnCalendarSpec=hourly + _snapprefix=--prefix=znap + cat + cat + for i in "${arr[@]}" ++ echo 'daily|31|daily' ++ cut '-d|' -f1 + _label=daily ++ echo 'daily|31|daily' ++ cut '-d|' -f2 + _keep=31 ++ echo 'daily|31|daily' ++ cut '-d|' -f3 + _OnCalendarSpec=daily + _snapprefix=--prefix=znap + cat + cat + for i in "${arr[@]}" ++ echo 'weekly|8|weekly' ++ cut '-d|' -f1 + _label=weekly ++ echo 'weekly|8|weekly' ++ cut '-d|' -f2 + _keep=8 ++ echo 'weekly|8|weekly' ++ cut '-d|' -f3 + _OnCalendarSpec=weekly + _snapprefix=--prefix=znap + cat + cat + for i in "${arr[@]}" ++ echo 'monthly|12|monthly' ++ cut '-d|' -f1 + _label=monthly ++ echo 'monthly|12|monthly' ++ cut '-d|' -f2 + _keep=12 ++ echo 'monthly|12|monthly' ++ cut '-d|' -f3 + _OnCalendarSpec=monthly + _snapprefix=--prefix=znap + cat + cat + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Uqueui + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64 + cd zfs-auto-snapshot-upstream-1.2.4 + /usr/bin/install -d /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64/usr/bin + /usr/bin/install -d /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64/usr/lib/systemd/system + /usr/bin/install -d /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64/usr/share/man/man8 + /usr/bin/install -m 755 src/zfs-auto-snapshot.sh /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64/usr/bin/zfs-auto-snapshot + /usr/bin/install -m 644 src/zfs-auto-snapshot.8 /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64/usr/share/man/man8 + /usr/bin/install -m 644 ../systemd/zfs-auto-snapshot-daily.service ../systemd/zfs-auto-snapshot-daily.timer ../systemd/zfs-auto-snapshot-frequent.service ../systemd/zfs-auto-snapshot-frequent.timer ../systemd/zfs-auto-snapshot-hourly.service ../systemd/zfs-auto-snapshot-hourly.timer ../systemd/zfs-auto-snapshot-monthly.service ../systemd/zfs-auto-snapshot-monthly.timer ../systemd/zfs-auto-snapshot-weekly.service ../systemd/zfs-auto-snapshot-weekly.timer /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64/usr/lib/systemd/system + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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/bin/python3 + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: zfs-auto-snapshot-1.2.4-1.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7Z545o + umask 022 + cd /builddir/build/BUILD + cd zfs-auto-snapshot-upstream-1.2.4 + DOCDIR=/builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64/usr/share/doc/zfs-auto-snapshot + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64/usr/share/doc/zfs-auto-snapshot + cp -pr README /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64/usr/share/doc/zfs-auto-snapshot + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lhqo6r + umask 022 + cd /builddir/build/BUILD + cd zfs-auto-snapshot-upstream-1.2.4 + LICENSEDIR=/builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64/usr/share/licenses/zfs-auto-snapshot + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64/usr/share/licenses/zfs-auto-snapshot + cp -pr COPYING /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64/usr/share/licenses/zfs-auto-snapshot + exit 0 Provides: zfs-auto-snapshot = 1.2.4-1.el8 zfs-auto-snapshot(x86-64) = 1.2.4-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64 Wrote: /builddir/build/RPMS/zfs-auto-snapshot-1.2.4-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wAMojo + umask 022 + cd /builddir/build/BUILD + cd zfs-auto-snapshot-upstream-1.2.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el8.x86_64 + exit 0 Child return code was: 0