with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp_st,BUFSIZ,fff); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: load_logo.c:32:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp_st,BUFSIZ,fff); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I.. -c parsing.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I.. -c sysinfo_common.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I.. -c uname.c cd po && make make[2]: Entering directory '/builddir/build/BUILD/linux_logo-5.11/po' xgettext --default-domain=linux_logo --add-comments --keyword=_ --keyword=S_ ../*.c ../*.h; msgfmt -o da.mo da.po msgfmt -o de.mo de.po msgfmt -o es.mo es.po if cmp -s linux_logo.po linux_logo.pot; then \ rm -f linux_logo.po; \ else \ mv linux_logo.po linux_logo.pot; \ fi msgfmt -o fr.mo fr.po msgfmt -o nb.mo nb.po msgfmt -o nl.mo nl.po msgfmt -o it.mo it.po msgfmt -o pl.mo pl.po msgfmt -o pt_BR.mo pt_BR.po make[3]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2/all' cd Linux && make msgfmt -o ru.mo ru.po msgfmt -o sv.mo sv.po msgfmt -o uk.mo uk.po msgfmt -o zh_TW.mo zh_TW.po make[3]: Entering directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2/Linux' make[3]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2/Linux' BUILDSTDERR: make[3]: *** No rule to make target 'riscv64', needed by 'cpuinfo.o'. Stop. BUILDSTDERR: make[2]: *** [Makefile:40: libsysinfo.a] Error 2 for n in da.mo de.mo es.mo fr.mo nb.mo nl.mo it.mo pl.mo pt_BR.mo ru.mo sv.mo uk.mo zh_TW.mo; do \ l=`basename $n .mo`; \ l=$l".po"; \ mv -f $l $l".bac"; \ msgmerge -o $l $l".bac" linux_logo.pot; \ done make[2]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/libsysinfo-0.2.2' BUILDSTDERR: make[1]: *** [Makefile:67: libsysinfo-0.2.2/libsysinfo.a] Error 2 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... BUILDSTDERR: ...... done. BUILDSTDERR: .... done. BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: ... done. BUILDSTDERR: .... done. BUILDSTDERR: .... done. BUILDSTDERR: ... done. BUILDSTDERR: ...... done. make[2]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11/po' make[1]: Leaving directory '/builddir/build/BUILD/linux_logo-5.11' BUILDSTDERR: make: *** [Makefile:42: logos-all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.ywopNE (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ywopNE (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/linux_logo.spec