Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mstflint.spec'], chrootPath='/var/lib/mock/f29-build-12736-5812/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mstflint.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/mstflint-4.8.0-4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mstflint.spec'], chrootPath='/var/lib/mock/f29-build-12736-5812/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mstflint.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3ktWX5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mstflint-4.8.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/mstflint-4.8.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mstflint-4.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Extend-buffer-for-a-few-arrays.patch):' Patch #1 (0001-Extend-buffer-for-a-few-arrays.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file mtcr_ul/mtcr_ul_com.c Hunk #1 succeeded at 1326 (offset -27 lines). Hunk #2 succeeded at 1342 (offset -27 lines). Hunk #3 succeeded at 2123 (offset 130 lines). + echo 'Patch #2 (0001-Return-zero-when-fread-reach-the-end-of-vpd-file.patch):' Patch #2 (0001-Return-zero-when-fread-reach-the-end-of-vpd-file.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file mtcr_ul/mtcr_ul_com.c + find . -type f -iname '*.[ch]' -exec chmod a-x '{}' ';' + find . -type f -iname '*.cpp' -exec chmod a-x '{}' ';' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OAePui + umask 022 + cd /builddir/build/BUILD + cd mstflint-4.8.0 + export 'CFLAGS=-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' + CFLAGS='-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' + export 'CXXFLAGS=-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' + CXXFLAGS='-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' + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub BUILDSTDERR: ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess BUILDSTDERR: ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./config/ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-fw-mgr checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for riscv64-koji-linux-gnu-g++... no checking for riscv64-koji-linux-gnu-c++... no checking for riscv64-koji-linux-gnu-gpp... no checking for riscv64-koji-linux-gnu-aCC... no checking for riscv64-koji-linux-gnu-CC... no checking for riscv64-koji-linux-gnu-cxx... no checking for riscv64-koji-linux-gnu-cc++... no checking for riscv64-koji-linux-gnu-cl.exe... no checking for riscv64-koji-linux-gnu-FCC... no checking for riscv64-koji-linux-gnu-KCC... no checking for riscv64-koji-linux-gnu-RCC... no checking for riscv64-koji-linux-gnu-xlC_r... no checking for riscv64-koji-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for riscv64-koji-linux-gnu-ar... no checking for riscv64-koji-linux-gnu-lib... no checking for riscv64-koji-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking --enable-dc argument... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for uncompress in -lz... yes checking --enable-fw-mgr argument... yes checking for zlib.h... (cached) yes checking curl/curl.h usability... yes checking curl/curl.h presence... yes checking for curl/curl.h... yes checking for uncompress in -lz... (cached) yes checking for regcompA in -lboost_regex... yes checking --enable-xml2 argument... no configure: checking for libxml2... yes checking for xmlDocDumpFormatMemoryEnc in -lxml2... yes checking --enable-inband argument... yes checking infiniband/mad.h usability... yes checking infiniband/mad.h presence... yes checking for infiniband/mad.h... yes checking --enable-cs argument... no checking --enable-openssl argument... no checking whether C compiler accepts -Wno-implicit-fallthrough... yes checking whether C compiler accepts -Wno-format-overflow... yes checking whether C compiler accepts -Wno-implicit-fallthrough... (cached) yes checking whether C compiler accepts -Wno-format-overflow... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating mstflint.spec config.status: creating mlxfwupdate/Makefile config.status: creating libmfa/Makefile config.status: creating xz_utils/Makefile config.status: creating ext_libs/iniParser/Makefile config.status: creating ext_libs/json/Makefile config.status: creating ext_libs/minixz/Makefile config.status: creating Makefile config.status: creating common/Makefile config.status: creating mft_utils/Makefile config.status: creating mtcr_ul/Makefile config.status: creating mtcr_py/Makefile config.status: creating ext_libs/Makefile config.status: creating ext_libs/sqlite/Makefile config.status: creating ext_libs/muparser/Makefile config.status: creating dev_mgt/Makefile config.status: creating tools_layouts/Makefile config.status: creating reg_access/Makefile config.status: creating cmdif/Makefile config.status: creating tools_res_mgmt/Makefile config.status: creating mlxconfig/Makefile config.status: creating mlxconfig/mlxconfig_dbs/Makefile config.status: creating mflash/Makefile config.status: creating mlxfwops/Makefile config.status: creating mlxfwops/lib/Makefile config.status: creating cmdparser/Makefile config.status: creating flint/Makefile config.status: creating small_utils/Makefile config.status: creating mstdump/Makefile config.status: creating mstdump/crd_lib/Makefile config.status: creating mstdump/crd_main/Makefile config.status: creating mstdump/mstdump_dbs/Makefile config.status: creating mvpd/Makefile config.status: creating fw_comps_mgr/Makefile config.status: creating mad_ifc/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j4 /usr/bin/make all-recursive Making all in common make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.8.0/common' sed -e 's,[@]MFT_VERSION_STR[@],mstflint 4.8.0,g' -e 's,[@]TOOLS_BUILD_TIME[@],Jun 18 2018\, 21:47:26,g' -e 's,[@]TOOLS_GIT_SHA[@],N/A,g' < ./tools_version.py.in > tools_version.py make[2]: Leaving directory '/builddir/build/BUILD/mstflint-4.8.0/common' make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.8.0/common' sed -e 's,[@]MST_LIB_DIR[@],/usr/lib64,g' -e 's,[@]MST_BIN_DIR[@],/usr/bin,g' -e 's,[@]MFTCONF_PREFIX[@],/usr,g' < ./python_wrapper.sh > python_wrapper chmod +x python_wrapper make[2]: Leaving directory '/builddir/build/BUILD/mstflint-4.8.0/common' Making all in mft_utils 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 mft_sig_handler.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 mft_sig_handler.c:36: 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: 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.OAePui (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.OAePui (%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