db-9.2-2.fc33.riscv64/usr/lib64/libinproctrace.so RPM build errors: 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 277: %else #!s390x extra tokens at the end of %else directive in line 280: %else #!ppc extra tokens at the end of %endif directive in line 283: %endif #sparc64 ppc64 s390x x86_64 extra tokens at the end of %endif directive in line 284: %endif #!ppc extra tokens at the end of %endif directive in line 285: %endif #!s390x extra tokens at the end of %endif directive in line 379: %endif # 0%{?_with_testsuite:1} extra tokens at the end of %endif directive in line 410: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 448: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %else directive in line 493: %else # !0%{!?rhel:1} extra tokens at the end of %endif directive in line 495: %endif # !0%{!?rhel:1} extra tokens at the end of %endif directive in line 513: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 extra tokens at the end of %endif directive in line 622: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 896: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 906: %endif # 0%{!?_build_minimal} extra tokens at the end of %endif directive in line 935: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 955: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 971: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 extra tokens at the end of %endif directive in line 988: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 993: %endif # 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1096: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 1105: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 1113: %endif # %{have_inproctrace} extra tokens at the end of %endif directive in line 1130: %endif # 0%{!?rhel:1} extra tokens at the end of %endif directive in line 1131: %endif # 0%{!?_without_python:1} File not found: /builddir/build/BUILDROOT/gdb-9.2-2.fc33.riscv64/usr/bin/gdbserver File not found: /builddir/build/BUILDROOT/gdb-9.2-2.fc33.riscv64/usr/lib64/libinproctrace.so Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 2b467c352c634ac5a1df239e4246f0c8 -D /var/lib/mock/f33-build-282819-51766/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.402lza6p:/etc/resolv.conf --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=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gdb.spec