Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/spacewalk-client-tools.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1699990135.248273/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.q8c07smb:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q8c07smb:/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', 'd63dd9ec064e442b9bf78fe033ac3714', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1699990135.248273/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q8c07smb:/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/spacewalk-client-tools.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 sh: line 1: /usr/bin/python2: No such file or directory sh: line 1: /usr/bin/python2: No such file or directory warning: line 95: It's not recommended to have unversioned Obsoletes: Obsoletes: rhn-setup-gnome warning: extra tokens at the end of %endif directive in line 110: %endif # 0{?fedora} warning: extra tokens at the end of %endif directive in line 111: %endif # 0{?suse_version} warning: extra tokens at the end of %endif directive in line 112: %endif # {_vendor} != "debbuild" warning: extra tokens at the end of %endif directive in line 200: %endif # 0{?rhel} > 5 warning: extra tokens at the end of %endif directive in line 201: %endif # 0{?suse_version} >= 1140 warning: extra tokens at the end of %endif directive in line 202: %endif # 0{?fedora} warning: extra tokens at the end of %endif directive in line 217: %endif # 0{?suse_version} warning: extra tokens at the end of %endif directive in line 225: %endif # if {_vendor} != "debbuild" warning: extra tokens at the end of %endif directive in line 1011: %endif # 0{?rhel} == 6 warning: extra tokens at the end of %endif directive in line 1012: %endif # 0{?rhel} == 5 warning: extra tokens at the end of %endif directive in line 1013: %endif # 0{?build_py2} warning: extra tokens at the end of %endif directive in line 1030: %endif # {_vendor} != "debbuild" warning: extra tokens at the end of %endif directive in line 1031: %endif # 0{?build_py3} warning: extra tokens at the end of %endif directive in line 1032: %endif # ! 0{?without_rhn_register} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/spacewalk-client-tools-4.4.6-1.src.rpm Child return code was: 0