on/compatibility.h:67:9: error: #error Unknown CPU architecture using the linux OS 67 | # error Unknown CPU architecture using the linux OS | ^~~~~ ../common/compatibility.h:119:5: error: #error Unknown architecture 119 | # error Unknown architecture | ^~~~~ make[2]: *** [Makefile:461: mft_sig_handler.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.16.0/mft_utils' gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../common -fPIC -MD -pipe -Wall -W -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DMST_UL -c -o calc_hw_crc.o calc_hw_crc.c make[2]: Leaving directory '/builddir/build/BUILD/mstflint-4.16.0/mft_utils' In file included from ../common/tools_utils.h:36, from calc_hw_crc.h:36, from calc_hw_crc.c:37: ../common/compatibility.h:67:9: error: #error Unknown CPU architecture using the linux OS 67 | # error Unknown CPU architecture using the linux OS | ^~~~~ ../common/compatibility.h:119:5: error: #error Unknown architecture 119 | # error Unknown architecture | ^~~~~ make[2]: *** [Makefile:461: calc_hw_crc.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.16.0/mft_utils' g++ -DHAVE_CONFIG_H -I. -I.. -I. -I../common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -isystem /usr/local/include -DHAVE_TERMIOS_H -isystem /usr/include/libxml2 -DMST_UL -c -o mlarge_buffer.o mlarge_buffer.cpp make[2]: Leaving directory '/builddir/build/BUILD/mstflint-4.16.0/mft_utils' In file included from mlarge_buffer.h:44, from mlarge_buffer.cpp:41: ../common/compatibility.h:67:9: error: #error Unknown CPU architecture using the linux OS 67 | # error Unknown CPU architecture using the linux OS | ^~~~~ ../common/compatibility.h:119:5: error: #error Unknown architecture 119 | # error Unknown architecture | ^~~~~ make[2]: *** [Makefile:482: mlarge_buffer.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.16.0/mft_utils' g++ -DHAVE_CONFIG_H -I. -I.. -I. -I../common -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -isystem /usr/local/include -DHAVE_TERMIOS_H -isystem /usr/include/libxml2 -DMST_UL -c -o errmsg.o errmsg.cpp make[2]: Leaving directory '/builddir/build/BUILD/mstflint-4.16.0/mft_utils' make[1]: *** [Makefile:549: all-recursive] Error 1 make: *** [Makefile:436: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.T9eJ6R (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.T9eJ6R (%build) 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: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mstflint.spec