Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gdb.spec'], chrootPath='/var/lib/mock/custom-1-x86_64-1739615449.578478/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'unshare_net=FalseprintOutput=Truenspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewpnkunh:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewpnkunh:/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', '2ac7aebc0d984602992c150226a8e6cd', '-D', '/var/lib/mock/custom-1-x86_64-1739615449.578478/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ewpnkunh:/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/gdb.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: Macro expanded in comment on line 65: %{tarname}.tar.xz warning: extra tokens at the end of %endif directive in line 74: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 258: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %endif directive in line 259: %endif # 0%{!?_without_python:1} warning: extra tokens at the end of %else directive in line 335: %else #!s390x warning: extra tokens at the end of %else directive in line 338: %else #!ppc warning: extra tokens at the end of %endif directive in line 341: %endif #sparc64 ppc64 s390x x86_64 warning: extra tokens at the end of %endif directive in line 342: %endif #!ppc warning: extra tokens at the end of %endif directive in line 343: %endif #!s390x warning: extra tokens at the end of %endif directive in line 441: %endif # 0%{?_with_testsuite:1} warning: extra tokens at the end of %endif directive in line 473: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 511: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %endif directive in line 720: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 993: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 1003: %endif # 0%{!?_build_minimal} warning: extra tokens at the end of %endif directive in line 1032: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 warning: extra tokens at the end of %endif directive in line 1052: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} warning: extra tokens at the end of %endif directive in line 1068: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 warning: extra tokens at the end of %endif directive in line 1085: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %endif directive in line 1090: %endif # 0%{!?_without_python:1} warning: extra tokens at the end of %endif directive in line 1188: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 warning: extra tokens at the end of %endif directive in line 1197: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 1205: %endif # %{have_inproctrace} warning: extra tokens at the end of %endif directive in line 1222: %endif # 0%{!?rhel:1} warning: extra tokens at the end of %endif directive in line 1223: %endif # 0%{!?_without_python:1} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1736208000 Wrote: /builddir/build/SRPMS/gdb-14.2-4.el10.src.rpm RPM build warnings: Macro expanded in comment on line 65: %{tarname}.tar.xz extra tokens at the end of %endif directive in line 74: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 258: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 259: %endif # 0%{!?_without_python:1} extra tokens at the end of %else directive in line 335: %else #!s390x extra tokens at the end of %else directive in line 338: %else #!ppc extra tokens at the end of %endif directive in line 341: %endif #sparc64 ppc64 s390x x86_64 extra tokens at the end of %endif directive in line 342: %endif #!ppc extra tokens at the end of %endif directive in line 343: %endif #!s390x extra tokens at the end of %endif directive in line 441: %endif # 0%{?_with_testsuite:1} extra tokens at the end of %endif directive in line 473: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 511: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 720: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 993: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 1003: %endif # 0%{!?_build_minimal} extra tokens at the end of %endif directive in line 1032: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 1052: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1068: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 extra tokens at the end of %endif directive in line 1085: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 1090: %endif # 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1188: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 1197: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 1205: %endif # %{have_inproctrace} extra tokens at the end of %endif directive in line 1222: %endif # 0%{!?rhel:1} extra tokens at the end of %endif directive in line 1223: %endif # 0%{!?_without_python:1} Child return code was: 0