Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/gdb.spec'], chrootPath='/var/lib/mock/dist-an23.2-gcc-toolset-10-build-399525-72352/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=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dzs85oml:/etc/resolv.conf', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dzs85oml:/etc/resolv.conf', '--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', '5b4850a32da6485cb9f108df24bebe02', '-D', '/var/lib/mock/dist-an23.2-gcc-toolset-10-build-399525-72352/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dzs85oml:/etc/resolv.conf', '--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', '--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 --noclean --target noarch --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 42: %{tarname}.tar.xz warning: extra tokens at the end of %endif directive in line 51: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 210: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 warning: extra tokens at the end of %endif directive in line 232: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %endif directive in line 233: %endif # 0%{!?_without_python:1} warning: extra tokens at the end of %else directive in line 280: %else #!s390x warning: extra tokens at the end of %else directive in line 283: %else #!ppc warning: extra tokens at the end of %endif directive in line 286: %endif #sparc64 ppc64 s390x x86_64 warning: extra tokens at the end of %endif directive in line 287: %endif #!ppc warning: extra tokens at the end of %endif directive in line 288: %endif #!s390x warning: extra tokens at the end of %endif directive in line 382: %endif # 0%{?_with_testsuite:1} warning: extra tokens at the end of %endif directive in line 413: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 451: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %else directive in line 496: %else # !0%{!?rhel:1} warning: extra tokens at the end of %endif directive in line 498: %endif # !0%{!?rhel:1} warning: extra tokens at the end of %endif directive in line 516: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 warning: %patchN is deprecated (121 usages found), use %patch N (or %patch -P N) warning: extra tokens at the end of %endif directive in line 625: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 899: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 909: %endif # 0%{!?_build_minimal} warning: extra tokens at the end of %endif directive in line 938: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 warning: extra tokens at the end of %endif directive in line 958: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} warning: extra tokens at the end of %endif directive in line 974: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 warning: extra tokens at the end of %endif directive in line 991: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %endif directive in line 996: %endif # 0%{!?_without_python:1} warning: extra tokens at the end of %endif directive in line 1099: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 warning: extra tokens at the end of %endif directive in line 1108: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 1116: %endif # %{have_inproctrace} warning: extra tokens at the end of %endif directive in line 1133: %endif # 0%{!?rhel:1} warning: extra tokens at the end of %endif directive in line 1134: %endif # 0%{!?_without_python:1} Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1607644800 Wrote: /builddir/build/SRPMS/gcc-toolset-10-gdb-9.2-4.an23.src.rpm RPM build warnings: Macro expanded in comment on line 42: %{tarname}.tar.xz extra tokens at the end of %endif directive in line 51: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 210: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 extra tokens at the end of %endif directive in line 232: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 233: %endif # 0%{!?_without_python:1} extra tokens at the end of %else directive in line 280: %else #!s390x extra tokens at the end of %else directive in line 283: %else #!ppc extra tokens at the end of %endif directive in line 286: %endif #sparc64 ppc64 s390x x86_64 extra tokens at the end of %endif directive in line 287: %endif #!ppc extra tokens at the end of %endif directive in line 288: %endif #!s390x extra tokens at the end of %endif directive in line 382: %endif # 0%{?_with_testsuite:1} extra tokens at the end of %endif directive in line 413: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 451: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %else directive in line 496: %else # !0%{!?rhel:1} extra tokens at the end of %endif directive in line 498: %endif # !0%{!?rhel:1} extra tokens at the end of %endif directive in line 516: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 %patchN is deprecated (121 usages found), use %patch N (or %patch -P N) extra tokens at the end of %endif directive in line 625: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 899: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 909: %endif # 0%{!?_build_minimal} extra tokens at the end of %endif directive in line 938: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 958: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 974: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 extra tokens at the end of %endif directive in line 991: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 996: %endif # 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1099: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 1108: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 1116: %endif # %{have_inproctrace} extra tokens at the end of %endif directive in line 1133: %endif # 0%{!?rhel:1} extra tokens at the end of %endif directive in line 1134: %endif # 0%{!?_without_python:1} Child return code was: 0