itecture BUILDSTDERR: ^~~~~ BUILDSTDERR: make[2]: *** [Makefile:420: mft_sig_handler.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.8.0/mft_utils' gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../common -fPIC -MD -pipe -Wall -W -Werror -fPIC -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 -Werror -DMST_UL -Wno-format-overflow -Wno-implicit-fallthrough -c calc_hw_crc.c make[2]: Leaving directory '/builddir/build/BUILD/mstflint-4.8.0/mft_utils' BUILDSTDERR: In file included from ../common/tools_utils.h:36, BUILDSTDERR: from calc_hw_crc.h:36, BUILDSTDERR: from calc_hw_crc.c:37: BUILDSTDERR: ../common/compatibility.h:67:9: error: #error Unknown CPU architecture using the linux OS BUILDSTDERR: # error Unknown CPU architecture using the linux OS BUILDSTDERR: ^~~~~ BUILDSTDERR: ../common/compatibility.h:119:5: error: #error Unknown architecture BUILDSTDERR: # error Unknown architecture BUILDSTDERR: ^~~~~ BUILDSTDERR: make[2]: *** [Makefile:420: calc_hw_crc.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.8.0/mft_utils' g++ -DHAVE_CONFIG_H -I. -I.. -I. -I../common -fPIC -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 -std=gnu++98 -Wno-c++11-compat -DHAVE_TERMIOS_H -Werror -DMST_UL -Wno-implicit-fallthrough -Wno-format-overflow -c -o mlarge_buffer.o mlarge_buffer.cpp make[2]: Leaving directory '/builddir/build/BUILD/mstflint-4.8.0/mft_utils' BUILDSTDERR: In file included from mlarge_buffer.h:44, BUILDSTDERR: from mlarge_buffer.cpp:41: BUILDSTDERR: ../common/compatibility.h:67:9: error: #error Unknown CPU architecture using the linux OS BUILDSTDERR: # error Unknown CPU architecture using the linux OS BUILDSTDERR: ^~~~~ BUILDSTDERR: ../common/compatibility.h:119:5: error: #error Unknown architecture BUILDSTDERR: # error Unknown architecture BUILDSTDERR: ^~~~~ BUILDSTDERR: make[2]: *** [Makefile:441: mlarge_buffer.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.8.0/mft_utils' g++ -DHAVE_CONFIG_H -I. -I.. -I. -I../common -fPIC -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 -std=gnu++98 -Wno-c++11-compat -DHAVE_TERMIOS_H -Werror -DMST_UL -Wno-implicit-fallthrough -Wno-format-overflow -c -o errmsg.o errmsg.cpp make[2]: Leaving directory '/builddir/build/BUILD/mstflint-4.8.0/mft_utils' BUILDSTDERR: make[1]: *** [Makefile:519: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:405: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.2sYWQz (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.2sYWQz (%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/mstflint.spec