Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/etckeeper.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1701770589.948345/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.vqa4_ffn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vqa4_ffn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'a631832663e54cbdae795181181ca70b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1701770589.948345/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vqa4_ffn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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/etckeeper.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 warning: extra tokens at the end of %endif directive in line 50: %endif # dnf_is_mandatory warning: extra tokens at the end of %endif directive in line 83: %endif # with_bzr warning: extra tokens at the end of %endif directive in line 98: %endif # with_brz warning: extra tokens at the end of %endif directive in line 108: %endif # dnf_uses_python3 warning: extra tokens at the end of %endif directive in line 157: %endif # with_bzr warning: extra tokens at the end of %endif directive in line 164: %endif # with_brz warning: extra tokens at the end of %endif directive in line 172: %endif # dnf_uses_python3 warning: extra tokens at the end of %endif directive in line 186: %endif # with_bzr warning: extra tokens at the end of %endif directive in line 193: %endif # with_brz warning: extra tokens at the end of %endif directive in line 201: %endif # dnf_uses_python3 warning: extra tokens at the end of %endif directive in line 207: %endif # dnf_is_mandatory warning: extra tokens at the end of %endif directive in line 252: %endif # with_yum warning: extra tokens at the end of %endif directive in line 263: %endif # with_bzr warning: extra tokens at the end of %endif directive in line 275: %endif # with_brz warning: extra tokens at the end of %endif directive in line 291: %endif # dnf_uses_python3 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1690243200 Wrote: /builddir/build/SRPMS/etckeeper-1.18.20-4.ad1.fc40.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 50: %endif # dnf_is_mandatory extra tokens at the end of %endif directive in line 83: %endif # with_bzr extra tokens at the end of %endif directive in line 98: %endif # with_brz extra tokens at the end of %endif directive in line 108: %endif # dnf_uses_python3 extra tokens at the end of %endif directive in line 157: %endif # with_bzr extra tokens at the end of %endif directive in line 164: %endif # with_brz extra tokens at the end of %endif directive in line 172: %endif # dnf_uses_python3 extra tokens at the end of %endif directive in line 186: %endif # with_bzr extra tokens at the end of %endif directive in line 193: %endif # with_brz extra tokens at the end of %endif directive in line 201: %endif # dnf_uses_python3 extra tokens at the end of %endif directive in line 207: %endif # dnf_is_mandatory extra tokens at the end of %endif directive in line 252: %endif # with_yum extra tokens at the end of %endif directive in line 263: %endif # with_bzr extra tokens at the end of %endif directive in line 275: %endif # with_brz extra tokens at the end of %endif directive in line 291: %endif # dnf_uses_python3 Child return code was: 0