TDERR: error: File not found: /builddir/build/BUILDROOT/gdb-9.1-4.fc32.riscv64/usr/bin/gdbserver BUILDSTDERR: error: File not found: /builddir/build/BUILDROOT/gdb-9.1-4.fc32.riscv64/usr/lib64/libinproctrace.so BUILDSTDERR: Macro expanded in comment on line 43: %{tarname}.tar.xz BUILDSTDERR: extra tokens at the end of %endif directive in line 52: %endif # 0%{?_build_minimal} BUILDSTDERR: extra tokens at the end of %endif directive in line 211: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 BUILDSTDERR: extra tokens at the end of %endif directive in line 233: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 BUILDSTDERR: extra tokens at the end of %endif directive in line 234: %endif # 0%{!?_without_python:1} BUILDSTDERR: extra tokens at the end of %else directive in line 275: %else #!s390x BUILDSTDERR: extra tokens at the end of %else directive in line 278: %else #!ppc BUILDSTDERR: extra tokens at the end of %endif directive in line 281: %endif #sparc64 ppc64 s390x x86_64 BUILDSTDERR: extra tokens at the end of %endif directive in line 282: %endif #!ppc BUILDSTDERR: extra tokens at the end of %endif directive in line 283: %endif #!s390x BUILDSTDERR: extra tokens at the end of %endif directive in line 376: %endif # 0%{?_with_testsuite:1} BUILDSTDERR: extra tokens at the end of %endif directive in line 407: %endif # 0%{?_build_minimal} BUILDSTDERR: extra tokens at the end of %endif directive in line 445: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 BUILDSTDERR: extra tokens at the end of %else directive in line 490: %else # !0%{!?rhel:1} BUILDSTDERR: extra tokens at the end of %endif directive in line 492: %endif # !0%{!?rhel:1} BUILDSTDERR: extra tokens at the end of %endif directive in line 510: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 BUILDSTDERR: extra tokens at the end of %endif directive in line 618: %endif # 0%{?_build_minimal} BUILDSTDERR: extra tokens at the end of %endif directive in line 892: %endif # 0%{?_build_minimal} BUILDSTDERR: extra tokens at the end of %endif directive in line 902: %endif # 0%{!?_build_minimal} BUILDSTDERR: extra tokens at the end of %endif directive in line 931: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 BUILDSTDERR: extra tokens at the end of %endif directive in line 951: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} BUILDSTDERR: extra tokens at the end of %endif directive in line 962: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 BUILDSTDERR: extra tokens at the end of %endif directive in line 979: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 BUILDSTDERR: extra tokens at the end of %endif directive in line 984: %endif # 0%{!?_without_python:1} BUILDSTDERR: extra tokens at the end of %endif directive in line 1087: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 BUILDSTDERR: extra tokens at the end of %endif directive in line 1096: %endif # 0%{?_build_minimal} BUILDSTDERR: extra tokens at the end of %endif directive in line 1104: %endif # %{have_inproctrace} BUILDSTDERR: extra tokens at the end of %endif directive in line 1121: %endif # 0%{!?rhel:1} BUILDSTDERR: extra tokens at the end of %endif directive in line 1122: %endif # 0%{!?_without_python:1} BUILDSTDERR: File not found: /builddir/build/BUILDROOT/gdb-9.1-4.fc32.riscv64/usr/bin/gdbserver BUILDSTDERR: File not found: /builddir/build/BUILDROOT/gdb-9.1-4.fc32.riscv64/usr/lib64/libinproctrace.so RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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