Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/gdb.spec'], chrootPath='/var/lib/mock/f33-build-633138-68500/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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'} and shell False error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body warning: Macro expanded in comment on line 63: %{tarname}.tar.xz warning: extra tokens at the end of %endif directive in line 72: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 250: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %endif directive in line 251: %endif # 0%{!?_without_python:1} warning: extra tokens at the end of %else directive in line 322: %else #!s390x warning: extra tokens at the end of %else directive in line 325: %else #!ppc warning: extra tokens at the end of %endif directive in line 328: %endif #sparc64 ppc64 s390x x86_64 warning: extra tokens at the end of %endif directive in line 329: %endif #!ppc warning: extra tokens at the end of %endif directive in line 330: %endif #!s390x warning: extra tokens at the end of %endif directive in line 428: %endif # 0%{?_with_testsuite:1} warning: extra tokens at the end of %endif directive in line 460: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 498: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %endif directive in line 660: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 931: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 941: %endif # 0%{!?_build_minimal} warning: extra tokens at the end of %endif directive in line 970: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 warning: extra tokens at the end of %endif directive in line 990: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} warning: extra tokens at the end of %endif directive in line 1006: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 warning: extra tokens at the end of %endif directive in line 1023: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 warning: extra tokens at the end of %endif directive in line 1028: %endif # 0%{!?_without_python:1} warning: extra tokens at the end of %endif directive in line 1129: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 warning: extra tokens at the end of %endif directive in line 1138: %endif # 0%{?_build_minimal} warning: extra tokens at the end of %endif directive in line 1146: %endif # %{have_inproctrace} warning: extra tokens at the end of %endif directive in line 1163: %endif # 0%{!?rhel:1} warning: extra tokens at the end of %endif directive in line 1164: %endif # 0%{!?_without_python:1} Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1659571200 Wrote: /builddir/build/SRPMS/gdb-12.1-5.0.riscv64.fc33.src.rpm error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body Child return code was: 0