te.pdf /builddir/build/BUILDROOT/gdb-12.1-5.0.riscv64.fc33.riscv64/usr/share/doc/gdb-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: gdb-doc = 12.1-5.0.riscv64.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gdb-12.1-5.0.riscv64.fc33.riscv64 error: Installed (but unpackaged) file(s) found: /usr/lib/debug/usr/bin/__pycache__/gdb-gdb.cpython-39.opt-1.pyc /usr/lib/debug/usr/bin/__pycache__/gdb-gdb.cpython-39.pyc /usr/lib/debug/usr/bin/gdb-gdb.py /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body Macro expanded in comment on line 63: %{tarname}.tar.xz extra tokens at the end of %endif directive in line 72: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 250: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 251: %endif # 0%{!?_without_python:1} extra tokens at the end of %else directive in line 322: %else #!s390x extra tokens at the end of %else directive in line 325: %else #!ppc extra tokens at the end of %endif directive in line 328: %endif #sparc64 ppc64 s390x x86_64 extra tokens at the end of %endif directive in line 329: %endif #!ppc extra tokens at the end of %endif directive in line 330: %endif #!s390x extra tokens at the end of %endif directive in line 428: %endif # 0%{?_with_testsuite:1} extra tokens at the end of %endif directive in line 460: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 498: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 660: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 931: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 941: %endif # 0%{!?_build_minimal} extra tokens at the end of %endif directive in line 970: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 RPM build errors: extra tokens at the end of %endif directive in line 990: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1006: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 extra tokens at the end of %endif directive in line 1023: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 1028: %endif # 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1125: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 1134: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 1142: %endif # %{have_inproctrace} extra tokens at the end of %endif directive in line 1159: %endif # 0%{!?rhel:1} extra tokens at the end of %endif directive in line 1160: %endif # 0%{!?_without_python:1} Installed (but unpackaged) file(s) found: /usr/lib/debug/usr/bin/__pycache__/gdb-gdb.cpython-39.opt-1.pyc /usr/lib/debug/usr/bin/__pycache__/gdb-gdb.cpython-39.pyc /usr/lib/debug/usr/bin/gdb-gdb.py error: /usr/lib/rpm/macros.d/macros.build-constraints: line 12: Macro %constrain_build has unterminated body Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gdb.spec