--plugin /usr/libexec/gcc/riscv64-redhat-linux/14/liblto_plugin.so .libs/libopcodes.a libtool: link: ( cd ".libs" && rm -f "libopcodes.la" && ln -s "../libopcodes.la" "libopcodes.la" ) make[4]: Entering directory '/builddir/build/BUILD/gdb-14.1/build-riscv64-redhat-linux-gnu/opcodes' libtooldir=`/bin/sh ./libtool --config | sed -n -e 's/^objdir=//p'`; \ if [ -f $libtooldir/libopcodes.a ]; then \ cp $libtooldir/libopcodes.a libopcodes.tmp; \ ranlib --plugin /usr/libexec/gcc/riscv64-redhat-linux/14/liblto_plugin.so libopcodes.tmp; \ /bin/sh ../../opcodes/../move-if-change libopcodes.tmp libopcodes.a; \ else true; fi touch stamp-lib make[4]: Leaving directory '/builddir/build/BUILD/gdb-14.1/build-riscv64-redhat-linux-gnu/opcodes' Making all in po make[4]: Nothing to be done for 'all'. make: *** [Makefile:1021: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.zf8v4U (%build) 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 RPM build errors: 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 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} Bad exit status from /var/tmp/rpm-tmp.zf8v4U (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/gdb.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/gdb.spec