Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gdb.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1722614827.586319/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=[]unshare_net=TrueprintOutput=True) Executing command: ['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'} 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 333: %else #!s390x warning: extra tokens at the end of %else directive in line 336: %else #!ppc warning: extra tokens at the end of %endif directive in line 339: %endif #sparc64 ppc64 s390x x86_64 warning: extra tokens at the end of %endif directive in line 340: %endif #!ppc warning: extra tokens at the end of %endif directive in line 341: %endif #!s390x warning: extra tokens at the end of %endif directive in line 439: %endif # 0%{?_with_testsuite:1} warning: extra tokens at the end of %endif directive in line 471: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 509: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: %patchN is deprecated (55 usages found), use %patch N (or %patch -P N) warning: extra tokens at the end of %endif directive in line 718: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 987: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 997: %endif # 0%{!?_build_minimal} warning: extra tokens at the end of %endif directive in line 1026: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 warning: extra tokens at the end of %endif directive in line 1046: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} warning: extra tokens at the end of %endif directive in line 1062: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 warning: extra tokens at the end of %endif directive in line 1079: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %endif directive in line 1084: %endif # 0%{!?_without_python:1} warning: extra tokens at the end of %endif directive in line 1182: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 warning: extra tokens at the end of %endif directive in line 1191: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 1199: %endif # %{have_inproctrace} warning: extra tokens at the end of %endif directive in line 1216: %endif # 0%{!?rhel:1} warning: extra tokens at the end of %endif directive in line 1217: %endif # 0%{!?_without_python:1} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/gdb-14.2-3.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 333: %else #!s390x extra tokens at the end of %else directive in line 336: %else #!ppc extra tokens at the end of %endif directive in line 339: %endif #sparc64 ppc64 s390x x86_64 extra tokens at the end of %endif directive in line 340: %endif #!ppc extra tokens at the end of %endif directive in line 341: %endif #!s390x extra tokens at the end of %endif directive in line 439: %endif # 0%{?_with_testsuite:1} extra tokens at the end of %endif directive in line 471: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 509: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 %patchN is deprecated (55 usages found), use %patch N (or %patch -P N) extra tokens at the end of %endif directive in line 718: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 987: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 997: %endif # 0%{!?_build_minimal} extra tokens at the end of %endif directive in line 1026: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 1046: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1062: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 extra tokens at the end of %endif directive in line 1079: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 1084: %endif # 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1182: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 1191: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 1199: %endif # %{have_inproctrace} extra tokens at the end of %endif directive in line 1216: %endif # 0%{!?rhel:1} extra tokens at the end of %endif directive in line 1217: %endif # 0%{!?_without_python:1} Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gdb.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1722614827.586319/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=[]unshare_net=TrueprintOutput=True) Executing command: ['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'} 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 333: %else #!s390x warning: extra tokens at the end of %else directive in line 336: %else #!ppc warning: extra tokens at the end of %endif directive in line 339: %endif #sparc64 ppc64 s390x x86_64 warning: extra tokens at the end of %endif directive in line 340: %endif #!ppc warning: extra tokens at the end of %endif directive in line 341: %endif #!s390x warning: extra tokens at the end of %endif directive in line 439: %endif # 0%{?_with_testsuite:1} warning: extra tokens at the end of %endif directive in line 471: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 509: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: %patchN is deprecated (55 usages found), use %patch N (or %patch -P N) warning: extra tokens at the end of %endif directive in line 718: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 987: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 997: %endif # 0%{!?_build_minimal} warning: extra tokens at the end of %endif directive in line 1026: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 warning: extra tokens at the end of %endif directive in line 1046: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} warning: extra tokens at the end of %endif directive in line 1062: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 warning: extra tokens at the end of %endif directive in line 1079: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %endif directive in line 1084: %endif # 0%{!?_without_python:1} warning: extra tokens at the end of %endif directive in line 1182: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 warning: extra tokens at the end of %endif directive in line 1191: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 1199: %endif # %{have_inproctrace} warning: extra tokens at the end of %endif directive in line 1216: %endif # 0%{!?rhel:1} warning: extra tokens at the end of %endif directive in line 1217: %endif # 0%{!?_without_python:1} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/gdb-14.2-3.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 333: %else #!s390x extra tokens at the end of %else directive in line 336: %else #!ppc extra tokens at the end of %endif directive in line 339: %endif #sparc64 ppc64 s390x x86_64 extra tokens at the end of %endif directive in line 340: %endif #!ppc extra tokens at the end of %endif directive in line 341: %endif #!s390x extra tokens at the end of %endif directive in line 439: %endif # 0%{?_with_testsuite:1} extra tokens at the end of %endif directive in line 471: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 509: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 %patchN is deprecated (55 usages found), use %patch N (or %patch -P N) extra tokens at the end of %endif directive in line 718: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 987: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 997: %endif # 0%{!?_build_minimal} extra tokens at the end of %endif directive in line 1026: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 1046: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1062: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 extra tokens at the end of %endif directive in line 1079: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 1084: %endif # 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1182: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 1191: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 1199: %endif # %{have_inproctrace} extra tokens at the end of %endif directive in line 1216: %endif # 0%{!?rhel:1} extra tokens at the end of %endif directive in line 1217: %endif # 0%{!?_without_python:1} Child return code was: 0