Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mstflint.spec'], chrootPath='/var/lib/mock/f33-build-580757-66217/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'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1617753600 Wrote: /builddir/build/SRPMS/mstflint-4.16.0-2.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mstflint.spec'], chrootPath='/var/lib/mock/f33-build-580757-66217/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'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1617753600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fXSzka + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mstflint-4.16.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/mstflint-4.16.0-2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mstflint-4.16.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #4 (add-default-link-flags-for-shared-libraries.patch):' Patch #4 (add-default-link-flags-for-shared-libraries.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file cmdif/Makefile.am patching file dev_mgt/Makefile.am patching file mtcr_py/Makefile.am patching file reg_access/Makefile.am Patch #6 (replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch): + echo 'Patch #6 (replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file flint/subcommands.cpp Hunk #1 succeeded at 4440 (offset 1422 lines). patching file mlxfwops/lib/flint_base.h Hunk #1 succeeded at 385 (offset -10 lines). + find . -type f -iname '*.[ch]' -exec chmod a-x '{}' ';' + find . -type f -iname '*.cpp' -exec chmod a-x '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oKlE37 + umask 022 + cd /builddir/build/BUILD + cd mstflint-4.16.0 + ./autogen.sh gitversion.sh: line 3: git: command not found + aclocal -I config -I m4 + libtoolize --force --copy libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + autoheader + automake --foreign --add-missing --copy configure.ac:48: installing 'config/compile' configure.ac:45: installing 'config/missing' adb_parser/Makefile.am:40: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') adb_parser/Makefile.am:43: error: 'libadb_parser.a' is not a standard libtool library name adb_parser/Makefile.am:43: did you mean 'libadb_parser.la'? adb_parser/Makefile.am: installing 'config/depcomp' cmdif/Makefile.am:42: error: 'libcmdif.a' is not a standard libtool library name cmdif/Makefile.am:42: did you mean 'libcmdif.la'? cmdparser/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') dev_mgt/Makefile.am:38: error: 'libdev_mgt.a' is not a standard libtool library name dev_mgt/Makefile.am:38: did you mean 'libdev_mgt.la'? ext_libs/iniParser/Makefile.am:37: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') ext_libs/iniParser/Makefile.am:41: error: 'libiniparser.a' is not a standard libtool library name ext_libs/iniParser/Makefile.am:41: did you mean 'libiniparser.la'? ext_libs/json/Makefile.am:36: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') ext_libs/json/Makefile.am:38: error: 'libjson.a' is not a standard libtool library name ext_libs/json/Makefile.am:38: did you mean 'libjson.la'? ext_libs/minixz/Makefile.am:36: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') ext_libs/minixz/Makefile.am:38: error: 'libminixz.a' is not a standard libtool library name ext_libs/minixz/Makefile.am:38: did you mean 'libminixz.la'? fw_comps_mgr/Makefile.am:45: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') libmfa/Makefile.am:36: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') libmfa/Makefile.am:40: error: 'libmfa.a' is not a standard libtool library name libmfa/Makefile.am:40: did you mean 'libmfa.la'? mad_ifc/Makefile.am:38: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mflash/Makefile.am:39: error: 'libmflash.a' is not a standard libtool library name mflash/Makefile.am:39: did you mean 'libmflash.la'? mft_utils/hsmclient/Makefile.am:43: warning: source file 'src/hsmlunatest.cpp' is in a subdirectory, mft_utils/hsmclient/Makefile.am:43: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. mft_utils/hsmclient/Makefile.am:43: warning: source file 'src/hex64.cpp' is in a subdirectory, mft_utils/hsmclient/Makefile.am:43: but option 'subdir-objects' is disabled mft_utils/hsmclient/Makefile.am:43: warning: source file 'src/hsmaesencryption.cpp' is in a subdirectory, mft_utils/hsmclient/Makefile.am:43: but option 'subdir-objects' is disabled mft_utils/hsmclient/Makefile.am:43: warning: source file 'src/hsmcreatersasignature.cpp' is in a subdirectory, mft_utils/hsmclient/Makefile.am:43: but option 'subdir-objects' is disabled mft_utils/hsmclient/Makefile.am:43: warning: source file 'src/burnprivatekey.cpp' is in a subdirectory, mft_utils/hsmclient/Makefile.am:43: but option 'subdir-objects' is disabled mft_utils/hsmclient/Makefile.am:43: warning: source file 'src/hsmlunaclientinit.cpp' is in a subdirectory, mft_utils/hsmclient/Makefile.am:43: but option 'subdir-objects' is disabled mlxarchive/Makefile.am:44: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxarchive/Makefile.am:51: error: 'libmstarchive.a' is not a standard libtool library name mlxarchive/Makefile.am:51: did you mean 'libmstarchive.la'? mlxconfig/Makefile.am:66: error: 'libmlxcfg.a' is not a standard libtool library name mlxconfig/Makefile.am:66: did you mean 'libmlxcfg.la'? mlxlink/Makefile.am:48: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxlink/modules/Makefile.am:45: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxlink/modules/Makefile.am:50: error: 'libmodules_lib.a' is not a standard libtool library name mlxlink/modules/Makefile.am:50: did you mean 'libmodules_lib.la'? mlxlink/modules/printutil/Makefile.am:43: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxlink/modules/printutil/Makefile.am:47: error: 'libprint_util_lib.a' is not a standard libtool library name mlxlink/modules/printutil/Makefile.am:47: did you mean 'libprint_util_lib.la'? mlxreg/Makefile.am:46: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxreg/Makefile.am:50: error: 'libmstreg_lib.a' is not a standard libtool library name mlxreg/Makefile.am:50: did you mean 'libmstreg_lib.la'? mlxsign_lib/Makefile.am:44: warning: AM_CXXFLAGS was already defined in condition TRUE, which includes condition !ENABLE_OPENSSL ... mlxsign_lib/Makefile.am:36: ... 'AM_CXXFLAGS' previously defined here mlxsign_lib/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mtcr_freebsd/Makefile.am:38: warning: source file '../mtcr_ul/mtcr_ib_res_mgt.c' is in a subdirectory, mtcr_freebsd/Makefile.am:38: but option 'subdir-objects' is disabled mtcr_freebsd/Makefile.am:38: warning: source file '../mtcr_ul/mtcr_tools_cif.c' is in a subdirectory, mtcr_freebsd/Makefile.am:38: but option 'subdir-objects' is disabled mtcr_freebsd/Makefile.am:38: warning: source file '../mtcr_ul/mtcr_ul_icmd_cif.c' is in a subdirectory, mtcr_freebsd/Makefile.am:38: but option 'subdir-objects' is disabled mtcr_freebsd/Makefile.am:38: warning: source file '../mtcr_ul/mtcr_mem_ops.c' is in a subdirectory, mtcr_freebsd/Makefile.am:38: but option 'subdir-objects' is disabled mtcr_freebsd/Makefile.am:38: warning: source file '../mtcr_ul/packets_common.c' is in a subdirectory, mtcr_freebsd/Makefile.am:38: but option 'subdir-objects' is disabled mtcr_freebsd/Makefile.am:38: warning: source file '../mtcr_ul/packets_layout.c' is in a subdirectory, mtcr_freebsd/Makefile.am:38: but option 'subdir-objects' is disabled mtcr_freebsd/Makefile.am:49: warning: source file '../mtcr_ul/mtcr_ib_ofed.c' is in a subdirectory, mtcr_freebsd/Makefile.am:49: but option 'subdir-objects' is disabled mvpd/Makefile.am:42: error: 'libmvpd.a' is not a standard libtool library name mvpd/Makefile.am:42: did you mean 'libmvpd.la'? pldmlib/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') pldmlib/Makefile.am:39: error: 'libpldm.a' is not a standard libtool library name pldmlib/Makefile.am:39: did you mean 'libpldm.la'? reg_access/Makefile.am:43: error: 'libreg_access.a' is not a standard libtool library name reg_access/Makefile.am:43: did you mean 'libreg_access.la'? tools_layouts/Makefile.am:40: error: 'libtools_layouts.a' is not a standard libtool library name tools_layouts/Makefile.am:40: did you mean 'libtools_layouts.la'? xz_utils/Makefile.am:37: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') xz_utils/Makefile.am:39: error: 'libxz_utils.a' is not a standard libtool library name xz_utils/Makefile.am:39: did you mean 'libxz_utils.la'? + autoconf + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-04-19 08:45:39.994088174 -0400 +++ ./configure 2021-04-19 08:45:41.364088217 -0400 @@ -1878,7 +1878,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2021-04-19 08:45:41.364088217 -0400 +++ ./configure 2021-04-19 08:45:42.234088244 -0400 @@ -6836,7 +6836,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -18473,7 +18473,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ 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) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ 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' ']' ++ 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-redhat-linux-gnu --host=riscv64-redhat-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-redhat-linux-gnu-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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none 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-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-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 how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-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-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6761: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-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 curl/curl.h usability... yes checking curl/curl.h presence... yes checking for curl/curl.h... yes checking for zlib.h... (cached) yes checking for uncompress in -lz... (cached) yes checking lzma.h usability... yes checking lzma.h presence... yes checking for lzma.h... yes checking for regcompA in -lboost_regex... yes checking --enable-adb-generic-tools argument... no checking --enable-xml2 argument... no checking libxml2/libxml/xpath.h usability... yes checking libxml2/libxml/xpath.h presence... no configure: WARNING: libxml2/libxml/xpath.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: libxml2/libxml/xpath.h: proceeding with the compiler's result checking for libxml2/libxml/xpath.h... 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 openssl argument... yes checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking openssl/rsa.h usability... yes checking openssl/rsa.h presence... yes checking for openssl/rsa.h... yes checking openssl/pem.h usability... yes checking openssl/pem.h presence... yes checking for openssl/pem.h... yes checking openssl/bio.h usability... yes checking openssl/bio.h presence... yes checking for openssl/bio.h... yes checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking --enable-all-static argument... no checking iniparser.h usability... no checking iniparser.h presence... no checking for iniparser.h... no checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for JSON... no checking for library containing mupCreateVar... no checking for library containing sqlite3_initialize... no checking whether C compiler accepts -Wno-format-overflow... yes checking whether C compiler accepts -Wno-implicit-fallthrough... yes checking whether C compiler accepts -Wno-cast-function-type... yes checking whether C++ compiler accepts -Wno-implicit-fallthrough... yes checking whether C++ compiler accepts -Wno-format-overflow... yes checking whether C++ compiler accepts -Wno-cast-function-type... yes checking whether C++ compiler accepts -Wno-class-memaccess... yes configure: Linux MTCR checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating mstflint.spec config.status: creating tools_crypto/Makefile config.status: creating mlxsign_lib/Makefile config.status: creating mlxfwupdate/Makefile config.status: creating ext_libs/iniParser/Makefile config.status: creating mlxarchive/Makefile config.status: creating xz_utils/Makefile config.status: creating mtcr_ul/Makefile config.status: creating Makefile config.status: creating common/Makefile config.status: creating mft_utils/Makefile config.status: creating mft_utils/hsmclient/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 ext_libs/json/Makefile config.status: creating ext_libs/minixz/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 libmfa/Makefile config.status: creating pldmlib/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 small_utils/mlxfwresetlib/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 tracers/Makefile config.status: creating tracers/fwtrace/Makefile config.status: creating resourcedump/Makefile config.status: creating resourceparse/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/mstflint-4.16.0/config/missing aclocal-1.16 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/mstflint-4.16.0/config/missing autoconf cd . && /bin/sh /builddir/build/BUILD/mstflint-4.16.0/config/missing automake-1.16 --foreign adb_parser/Makefile.am:40: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') adb_parser/Makefile.am:43: error: 'libadb_parser.a' is not a standard libtool library name adb_parser/Makefile.am:43: did you mean 'libadb_parser.la'? cmdif/Makefile.am:42: error: 'libcmdif.a' is not a standard libtool library name cmdif/Makefile.am:42: did you mean 'libcmdif.la'? cmdparser/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') dev_mgt/Makefile.am:38: error: 'libdev_mgt.a' is not a standard libtool library name dev_mgt/Makefile.am:38: did you mean 'libdev_mgt.la'? ext_libs/iniParser/Makefile.am:37: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') ext_libs/iniParser/Makefile.am:41: error: 'libiniparser.a' is not a standard libtool library name ext_libs/iniParser/Makefile.am:41: did you mean 'libiniparser.la'? ext_libs/json/Makefile.am:36: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') ext_libs/json/Makefile.am:38: error: 'libjson.a' is not a standard libtool library name ext_libs/json/Makefile.am:38: did you mean 'libjson.la'? ext_libs/minixz/Makefile.am:36: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') ext_libs/minixz/Makefile.am:38: error: 'libminixz.a' is not a standard libtool library name ext_libs/minixz/Makefile.am:38: did you mean 'libminixz.la'? fw_comps_mgr/Makefile.am:45: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') libmfa/Makefile.am:36: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') libmfa/Makefile.am:40: error: 'libmfa.a' is not a standard libtool library name libmfa/Makefile.am:40: did you mean 'libmfa.la'? mad_ifc/Makefile.am:38: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mflash/Makefile.am:39: error: 'libmflash.a' is not a standard libtool library name mflash/Makefile.am:39: did you mean 'libmflash.la'? mft_utils/hsmclient/Makefile.am:43: warning: source file 'src/hsmlunatest.cpp' is in a subdirectory, mft_utils/hsmclient/Makefile.am:43: but option 'subdir-objects' is disabled automake-1.16: warning: possible forward-incompatibility. automake-1.16: At least a source file is in a subdirectory, but the 'subdir-objects' automake-1.16: automake option hasn't been enabled. For now, the corresponding output automake-1.16: object file(s) will be placed in the top-level directory. However, automake-1.16: this behaviour will change in future Automake versions: they will automake-1.16: unconditionally cause object files to be placed in the same subdirectory automake-1.16: of the corresponding sources. automake-1.16: You are advised to start using 'subdir-objects' option throughout your automake-1.16: project, to avoid future incompatibilities. mft_utils/hsmclient/Makefile.am:43: warning: source file 'src/hex64.cpp' is in a subdirectory, mft_utils/hsmclient/Makefile.am:43: but option 'subdir-objects' is disabled mft_utils/hsmclient/Makefile.am:43: warning: source file 'src/hsmaesencryption.cpp' is in a subdirectory, mft_utils/hsmclient/Makefile.am:43: but option 'subdir-objects' is disabled mft_utils/hsmclient/Makefile.am:43: warning: source file 'src/hsmcreatersasignature.cpp' is in a subdirectory, mft_utils/hsmclient/Makefile.am:43: but option 'subdir-objects' is disabled mft_utils/hsmclient/Makefile.am:43: warning: source file 'src/burnprivatekey.cpp' is in a subdirectory, mft_utils/hsmclient/Makefile.am:43: but option 'subdir-objects' is disabled mft_utils/hsmclient/Makefile.am:43: warning: source file 'src/hsmlunaclientinit.cpp' is in a subdirectory, mft_utils/hsmclient/Makefile.am:43: but option 'subdir-objects' is disabled mlxarchive/Makefile.am:44: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxarchive/Makefile.am:51: error: 'libmstarchive.a' is not a standard libtool library name mlxarchive/Makefile.am:51: did you mean 'libmstarchive.la'? mlxconfig/Makefile.am:66: error: 'libmlxcfg.a' is not a standard libtool library name mlxconfig/Makefile.am:66: did you mean 'libmlxcfg.la'? mlxlink/Makefile.am:48: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxlink/modules/Makefile.am:45: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxlink/modules/Makefile.am:50: error: 'libmodules_lib.a' is not a standard libtool library name mlxlink/modules/Makefile.am:50: did you mean 'libmodules_lib.la'? mlxlink/modules/printutil/Makefile.am:43: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxlink/modules/printutil/Makefile.am:47: error: 'libprint_util_lib.a' is not a standard libtool library name mlxlink/modules/printutil/Makefile.am:47: did you mean 'libprint_util_lib.la'? mlxreg/Makefile.am:46: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxreg/Makefile.am:50: error: 'libmstreg_lib.a' is not a standard libtool library name mlxreg/Makefile.am:50: did you mean 'libmstreg_lib.la'? mlxsign_lib/Makefile.am:44: warning: AM_CXXFLAGS was already defined in condition TRUE, which includes condition !ENABLE_OPENSSL ... mlxsign_lib/Makefile.am:36: ... 'AM_CXXFLAGS' previously defined here mlxsign_lib/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mtcr_freebsd/Makefile.am:38: warning: source file '../mtcr_ul/mtcr_ib_res_mgt.c' is in a subdirectory, mtcr_freebsd/Makefile.am:38: but option 'subdir-objects' is disabled mtcr_freebsd/Makefile.am:38: warning: source file '../mtcr_ul/mtcr_tools_cif.c' is in a subdirectory, mtcr_freebsd/Makefile.am:38: but option 'subdir-objects' is disabled mtcr_freebsd/Makefile.am:38: warning: source file '../mtcr_ul/mtcr_ul_icmd_cif.c' is in a subdirectory, mtcr_freebsd/Makefile.am:38: but option 'subdir-objects' is disabled mtcr_freebsd/Makefile.am:38: warning: source file '../mtcr_ul/mtcr_mem_ops.c' is in a subdirectory, mtcr_freebsd/Makefile.am:38: but option 'subdir-objects' is disabled mtcr_freebsd/Makefile.am:38: warning: source file '../mtcr_ul/packets_common.c' is in a subdirectory, mtcr_freebsd/Makefile.am:38: but option 'subdir-objects' is disabled mtcr_freebsd/Makefile.am:38: warning: source file '../mtcr_ul/packets_layout.c' is in a subdirectory, mtcr_freebsd/Makefile.am:38: but option 'subdir-objects' is disabled mtcr_freebsd/Makefile.am:49: warning: source file '../mtcr_ul/mtcr_ib_ofed.c' is in a subdirectory, mtcr_freebsd/Makefile.am:49: but option 'subdir-objects' is disabled mvpd/Makefile.am:42: error: 'libmvpd.a' is not a standard libtool library name mvpd/Makefile.am:42: did you mean 'libmvpd.la'? pldmlib/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') pldmlib/Makefile.am:39: error: 'libpldm.a' is not a standard libtool library name pldmlib/Makefile.am:39: did you mean 'libpldm.la'? reg_access/Makefile.am:43: error: 'libreg_access.a' is not a standard libtool library name reg_access/Makefile.am:43: did you mean 'libreg_access.la'? tools_layouts/Makefile.am:40: error: 'libtools_layouts.a' is not a standard libtool library name tools_layouts/Makefile.am:40: did you mean 'libtools_layouts.la'? xz_utils/Makefile.am:37: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') xz_utils/Makefile.am:39: error: 'libxz_utils.a' is not a standard libtool library name xz_utils/Makefile.am:39: did you mean 'libxz_utils.la'? /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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 build_alias=riscv64-redhat-linux-gnu host_alias=riscv64-redhat-linux-gnu CC=gcc CFLAGS=-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 LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld CXX=g++ CXXFLAGS=-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 LT_SYS_LIBRARY_PATH=/usr/lib64: PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig --no-create --no-recursion 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-redhat-linux-gnu-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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none 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-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-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 how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-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-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-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 a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-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 curl/curl.h usability... yes checking curl/curl.h presence... yes checking for curl/curl.h... yes checking for zlib.h... (cached) yes checking for uncompress in -lz... (cached) yes checking lzma.h usability... yes checking lzma.h presence... yes checking for lzma.h... yes checking for regcompA in -lboost_regex... yes checking --enable-adb-generic-tools argument... no checking --enable-xml2 argument... no checking libxml2/libxml/xpath.h usability... yes checking libxml2/libxml/xpath.h presence... no checking for libxml2/libxml/xpath.h... 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 openssl argument... yes checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking openssl/rsa.h usability... yes checking openssl/rsa.h presence... yes checking for openssl/rsa.h... yes checking openssl/pem.h usability... yes checking openssl/pem.h presence... yes checking for openssl/pem.h... yes checking openssl/bio.h usability... yes checking openssl/bio.h presence... yes checking for openssl/bio.h... yes checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking --enable-all-static argument... no checking iniparser.h usability... no checking iniparser.h presence... no checking for iniparser.h... no checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for JSON... no checking for library containing mupCreateVar... no checking for library containing sqlite3_initialize... no checking whether C compiler accepts -Wno-format-overflow... yes checking whether C compiler accepts -Wno-implicit-fallthrough... yes checking whether C compiler accepts -Wno-cast-function-type... yes checking whether C++ compiler accepts -Wno-implicit-fallthrough... yes checking whether C++ compiler accepts -Wno-format-overflow... yes checking whether C++ compiler accepts -Wno-cast-function-type... yes checking whether C++ compiler accepts -Wno-class-memaccess... yes configure: Linux MTCR checking that generated files are newer than configure... done configure: creating ./config.status configure: WARNING: libxml2/libxml/xpath.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: libxml2/libxml/xpath.h: proceeding with the compiler's result /bin/sh ./config.status config.status: creating mstflint.spec config.status: creating tools_crypto/Makefile config.status: creating mlxsign_lib/Makefile config.status: creating mlxfwupdate/Makefile config.status: creating ext_libs/iniParser/Makefile config.status: creating mlxarchive/Makefile config.status: creating xz_utils/Makefile config.status: creating mtcr_ul/Makefile config.status: creating Makefile config.status: creating common/Makefile config.status: creating mft_utils/Makefile config.status: creating mft_utils/hsmclient/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 ext_libs/json/Makefile config.status: creating ext_libs/minixz/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 libmfa/Makefile config.status: creating pldmlib/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 small_utils/mlxfwresetlib/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 tracers/Makefile config.status: creating tracers/fwtrace/Makefile config.status: creating resourcedump/Makefile config.status: creating resourceparse/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/mstflint-4.16.0/config/missing autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged /usr/bin/make all-recursive Making all in common make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.16.0/common' sed -e 's,[@]MSTFLINT_VERSION_STR[@],mstflint 4.16.0,g' -e 's,[@]TOOLS_BUILD_TIME[@],Apr 07 2021\, 00:00:00,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.16.0/common' make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.16.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.16.0/common' Making all in mft_utils 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 mft_sig_handler.o mft_sig_handler.c make[2]: Leaving directory '/builddir/build/BUILD/mstflint-4.16.0/mft_utils' In file included from ../common/tools_utils.h:36, from mft_sig_handler.c:36: ../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: mft_sig_handler.o] Error 1 make[2]: *** Waiting for unfinished jobs.... 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' 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' 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.oKlE37 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.oKlE37 (%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