rch64-asm.o aarch64-dis.o aarch64-opc.o aarch64-asm-2.o aarch64-dis-2.o aarch64-opc-2.o libtool: link: ranlib --plugin /usr/libexec/gcc/riscv64-redhat-linux/12/liblto_plugin.so --plugin /usr/libexec/gcc/riscv64-redhat-linux/12/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-12.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/12/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-12.1/build-riscv64-redhat-linux-gnu/opcodes' Making all in po make[4]: Nothing to be done for 'all'. make: *** [Makefile:1001: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.EInp9B (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 60: %{tarname}.tar.xz extra tokens at the end of %endif directive in line 69: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 247: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 248: %endif # 0%{!?_without_python:1} extra tokens at the end of %else directive in line 319: %else #!s390x extra tokens at the end of %else directive in line 322: %else #!ppc extra tokens at the end of %endif directive in line 325: %endif #sparc64 ppc64 s390x x86_64 extra tokens at the end of %endif directive in line 326: %endif #!ppc extra tokens at the end of %endif directive in line 327: %endif #!s390x extra tokens at the end of %endif directive in line 425: %endif # 0%{?_with_testsuite:1} extra tokens at the end of %endif directive in line 457: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 495: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 657: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 928: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 938: %endif # 0%{!?_build_minimal} extra tokens at the end of %endif directive in line 967: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 987: %endif # 0%{?_enable_debug_packages:1} && 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1003: %endif # 0%{!?rhel:1} || 0%{?rhel} > 6 extra tokens at the end of %endif directive in line 1020: %endif # 0%{?rhel:1} && 0%{?rhel} <= 7 extra tokens at the end of %endif directive in line 1025: %endif # 0%{!?_without_python:1} extra tokens at the end of %endif directive in line 1122: %endif # 0%{?rhel:1} && 0%{?rhel} <= 6 extra tokens at the end of %endif directive in line 1131: %endif # 0%{?_build_minimal} extra tokens at the end of %endif directive in line 1139: %endif # %{have_inproctrace} extra tokens at the end of %endif directive in line 1156: %endif # 0%{!?rhel:1} extra tokens at the end of %endif directive in line 1157: %endif # 0%{!?_without_python:1} Bad exit status from /var/tmp/rpm-tmp.EInp9B (%build) 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