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-9-x86_64-1663257331.004755/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.k1vjrwqn:/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.k1vjrwqn:/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', 'a0db030263b543e8b2878821f704cff0', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1663257331.004755/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.k1vjrwqn:/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 setting SOURCE_DATE_EPOCH=1657411200 Wrote: /builddir/build/SRPMS/zfs-auto-snapshot-1.2.4-1.el9.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-9-x86_64-1663257331.004755/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.k1vjrwqn:/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.k1vjrwqn:/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', '4ed81014fef547eab359271d639ea643', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1663257331.004755/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.k1vjrwqn:/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 setting SOURCE_DATE_EPOCH=1657411200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QVvSgF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zfs-auto-snapshot-upstream-1.2.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/1.2.4.tar.gz + /usr/bin/tar -xvvof - 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 + 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 . Patch #0 (0001-prefix_label_order.patch): + echo 'Patch #0 (0001-prefix_label_order.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/zfs-auto-snapshot.sh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wOiXVi + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kV2bUi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el9.x86_64 + cd zfs-auto-snapshot-upstream-1.2.4 + /usr/bin/install -d /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el9.x86_64/usr/bin + /usr/bin/install -d /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el9.x86_64/usr/lib/systemd/system + /usr/bin/install -d /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el9.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.el9.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.el9.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.el9.x86_64/usr/lib/systemd/system + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/zfs-auto-snapshot from /bin/sh to #!/usr/bin/sh Processing files: zfs-auto-snapshot-1.2.4-1.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QyCckw + 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.el9.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.el9.x86_64/usr/share/doc/zfs-auto-snapshot + cp -pr README /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el9.x86_64/usr/share/doc/zfs-auto-snapshot + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jmKgZZ + 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.el9.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.el9.x86_64/usr/share/licenses/zfs-auto-snapshot + cp -pr COPYING /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el9.x86_64/usr/share/licenses/zfs-auto-snapshot + RPM_EC=0 ++ jobs -p + exit 0 Provides: zfs-auto-snapshot = 1.2.4-1.el9 zfs-auto-snapshot(x86-64) = 1.2.4-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/zfs-auto-snapshot-1.2.4-1.el9.x86_64 Wrote: /builddir/build/RPMS/zfs-auto-snapshot-1.2.4-1.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CKcgsf + 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.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0