Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mstflint.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-147541-9849/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/mstflint-4.24.0-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mstflint.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-147541-9849/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fPpJUZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mstflint-4.24.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mstflint-4.24.0-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mstflint-4.24.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/add-default-link-flags-for-shared-libraries.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.zd2xNy + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mstflint-4.24.0 + ./autogen.sh gitversion.sh: line 5: 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:43: error: 'libcmdif.a' is not a standard libtool library name cmdif/Makefile.am:43: 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:37: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') 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:47: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') libmfa/Makefile.am:37: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') libmfa/Makefile.am:41: error: 'libmfa.a' is not a standard libtool library name libmfa/Makefile.am:41: 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 one 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, this automake: behavior may change in a future Automake major version, with object automake: files being placed in the same subdirectory as 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:45: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxarchive/Makefile.am:52: error: 'libmstarchive.a' is not a standard libtool library name mlxarchive/Makefile.am:52: did you mean 'libmstarchive.la'? mlxconfig/Makefile.am:67: error: 'libmlxcfg.a' is not a standard libtool library name mlxconfig/Makefile.am:67: did you mean 'libmlxcfg.la'? mlxfwops/lib/Makefile.am:75: warning: source file '$(COMPONENTS_DIR)/fs_comps_ops.cpp' is in a subdirectory, mlxfwops/lib/Makefile.am:75: but option 'subdir-objects' is disabled mlxfwops/lib/Makefile.am:75: warning: source file '$(COMPONENTS_DIR)/fs_synce_ops.cpp' is in a subdirectory, mlxfwops/lib/Makefile.am:75: but option 'subdir-objects' is disabled 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:49: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxreg/mlxreg_lib/Makefile.am:47: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxreg/mlxreg_lib/Makefile.am:51: error: 'libmstreg_lib.a' is not a standard libtool library name mlxreg/mlxreg_lib/Makefile.am:51: did you mean 'libmstreg_lib.la'? mlxsign_lib/Makefile.am:46: 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: 'libmlxconfig_4th_gen_regsiters.a' is not a standard libtool library name reg_access/Makefile.am:43: did you mean 'libmlxconfig_4th_gen_regsiters.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'? resourcedump/resourcedump_lib/Makefile.am:29: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tools_layouts/Makefile.am:40: error: 'libadb_utils.a' is not a standard libtool library name tools_layouts/Makefile.am:40: did you mean 'libadb_utils.la'? tools_layouts/Makefile.am:40: error: 'libmlxarchive_layouts.a' is not a standard libtool library name tools_layouts/Makefile.am:40: did you mean 'libmlxarchive_layouts.la'? tools_layouts/Makefile.am:40: error: 'libmlxconfig_4th_gen_layouts.a' is not a standard libtool library name tools_layouts/Makefile.am:40: did you mean 'libmlxconfig_4th_gen_layouts.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 configure.ac:51: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:51: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:51: the top level configure.ac:465: warning: AC_OUTPUT should be used without arguments. configure.ac:465: You should run autoupdate. + '[' '-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 2024-04-28 23:34:52.022695061 +0800 +++ ./configure 2024-04-28 23:34:52.062695971 +0800 @@ -1847,7 +1847,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 2024-04-28 23:34:52.062695971 +0800 +++ ./configure 2024-04-28 23:34:52.090696609 +0800 @@ -7877,7 +7877,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'" @@ -19540,7 +19540,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.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-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/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./config/ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-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 --enable-adb-generic-tool configure: WARNING: unrecognized options: --enable-adb-generic-tool checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free 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 loongarch64-opencloudos-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking for loongarch64-opencloudos-linux-gnu-ar... no checking for loongarch64-opencloudos-linux-gnu-lib... no checking for loongarch64-opencloudos-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-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 loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-file... no checking for file... file checking for loongarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7883: -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 loongarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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... yes 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 egrep: warning: egrep is obsolescent; using grep -E ./configure: line 17092: ofed_info: command not found egrep: warning: egrep is obsolescent; using grep -E ./configure: line 17093: ofed_info: command not found ./configure: line 17102: test: 5.6: unary operator expected checking for termios.h... yes checking --enable-dc argument... yes checking for zlib.h... yes checking for uncompress in -lz... yes checking --enable-fw-mgr argument... yes checking for curl/curl.h... yes checking for zlib.h... (cached) yes checking for uncompress in -lz... (cached) 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 for libxml2/libxml/xpath.h... yes checking for xmlDocDumpFormatMemoryEnc in -lxml2... yes checking --enable-inband argument... yes checking for infiniband/mad.h... yes checking --enable-cs argument... no checking openssl argument... yes checking for openssl/sha.h... yes checking for openssl/rsa.h... yes checking for openssl/pem.h... yes checking for openssl/bio.h... yes checking for openssl/md5.h... yes checking --enable-all-static argument... no checking for iniparser.h... no checking for loongarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for jsoncpp... no checking for library containing mupCreateVar... no checking for library containing sqlite3_initialize... no configure: Compiler: gcc; version: ; checking whether C compiler accepts -Wno-format-overflow... ./configure: line 18259: test: >: unary operator expected ./configure: line 18262: test: >: unary operator expected 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 debian/mstflint.install 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 resourcedump/resourcedump_lib/Makefile config.status: creating resourceparse/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --enable-adb-generic-tool + /usr/bin/make -O -j32 V=1 VERBOSE=1 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/builddir/build/BUILD/mstflint-4.24.0/config/missing' aclocal-1.16 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/builddir/build/BUILD/mstflint-4.24.0/config/missing' autoconf configure.ac:51: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:51: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:51: the top level configure.ac:465: warning: AC_OUTPUT should be used without arguments. configure.ac:465: You should run autoupdate. cd . && /bin/sh /builddir/build/BUILD/mstflint-4.24.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:43: error: 'libcmdif.a' is not a standard libtool library name cmdif/Makefile.am:43: 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:37: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') 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:47: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') libmfa/Makefile.am:37: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') libmfa/Makefile.am:41: error: 'libmfa.a' is not a standard libtool library name libmfa/Makefile.am:41: 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 one 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, this automake-1.16: behavior may change in a future Automake major version, with object automake-1.16: files being placed in the same subdirectory as 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:45: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxarchive/Makefile.am:52: error: 'libmstarchive.a' is not a standard libtool library name mlxarchive/Makefile.am:52: did you mean 'libmstarchive.la'? mlxconfig/Makefile.am:67: error: 'libmlxcfg.a' is not a standard libtool library name mlxconfig/Makefile.am:67: did you mean 'libmlxcfg.la'? mlxfwops/lib/Makefile.am:75: warning: source file '$(COMPONENTS_DIR)/fs_comps_ops.cpp' is in a subdirectory, mlxfwops/lib/Makefile.am:75: but option 'subdir-objects' is disabled mlxfwops/lib/Makefile.am:75: warning: source file '$(COMPONENTS_DIR)/fs_synce_ops.cpp' is in a subdirectory, mlxfwops/lib/Makefile.am:75: but option 'subdir-objects' is disabled 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:49: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxreg/mlxreg_lib/Makefile.am:47: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') mlxreg/mlxreg_lib/Makefile.am:51: error: 'libmstreg_lib.a' is not a standard libtool library name mlxreg/mlxreg_lib/Makefile.am:51: did you mean 'libmstreg_lib.la'? mlxsign_lib/Makefile.am:46: 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: 'libmlxconfig_4th_gen_regsiters.a' is not a standard libtool library name reg_access/Makefile.am:43: did you mean 'libmlxconfig_4th_gen_regsiters.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'? resourcedump/resourcedump_lib/Makefile.am:29: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tools_layouts/Makefile.am:40: error: 'libadb_utils.a' is not a standard libtool library name tools_layouts/Makefile.am:40: did you mean 'libadb_utils.la'? tools_layouts/Makefile.am:40: error: 'libmlxarchive_layouts.a' is not a standard libtool library name tools_layouts/Makefile.am:40: did you mean 'libmlxarchive_layouts.la'? tools_layouts/Makefile.am:40: error: 'libmlxconfig_4th_gen_layouts.a' is not a standard libtool library name tools_layouts/Makefile.am:40: did you mean 'libmlxconfig_4th_gen_layouts.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=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-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 --enable-adb-generic-tool build_alias=loongarch64-opencloudos-linux-gnu host_alias=loongarch64-opencloudos-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 race-free 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 loongarch64-opencloudos-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... 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 the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking for loongarch64-opencloudos-linux-gnu-ar... no checking for loongarch64-opencloudos-linux-gnu-lib... no checking for loongarch64-opencloudos-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-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 loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-file... no checking for file... file checking for loongarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-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 loongarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.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... yes 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 for termios.h... yes checking --enable-dc argument... yes checking for zlib.h... yes checking for uncompress in -lz... yes checking --enable-fw-mgr argument... yes checking for curl/curl.h... yes checking for zlib.h... (cached) yes checking for uncompress in -lz... (cached) 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 for libxml2/libxml/xpath.h... yes checking for xmlDocDumpFormatMemoryEnc in -lxml2... yes checking --enable-inband argument... yes checking for infiniband/mad.h... yes checking --enable-cs argument... no checking openssl argument... yes checking for openssl/sha.h... yes checking for openssl/rsa.h... yes checking for openssl/pem.h... yes checking for openssl/bio.h... yes checking for openssl/md5.h... yes checking --enable-all-static argument... no checking for iniparser.h... no checking for loongarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for jsoncpp... no checking for library containing mupCreateVar... no checking for library containing sqlite3_initialize... no configure: Compiler: gcc; version: ; 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: unrecognized options: --enable-adb-generic-tool egrep: warning: egrep is obsolescent; using grep -E ./configure: line 17092: ofed_info: command not found egrep: warning: egrep is obsolescent; using grep -E ./configure: line 17093: ofed_info: command not found ./configure: line 17102: test: 5.6: unary operator expected ./configure: line 18259: test: >: unary operator expected ./configure: line 18262: test: >: unary operator expected configure: WARNING: unrecognized options: --enable-adb-generic-tool /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 debian/mstflint.install 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 resourcedump/resourcedump_lib/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.24.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.24.0/common' sed -e 's,[@]MSTFLINT_VERSION_STR[@],mstflint 4.24.0,g' -e 's,[@]TOOLS_BUILD_TIME[@],Apr 28 2024\, 23:35:08,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.24.0/common' make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.24.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.24.0/common' Making all in mft_utils make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.24.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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.24.0/mft_utils' In file included from ../common/tools_utils.h:36, from calc_hw_crc.h:36, from calc_hw_crc.c:33: ../common/compatibility.h:73:2: error: #error Unknown CPU architecture using the linux OS 73 | #error Unknown CPU architecture using the linux OS | ^~~~~ ../common/compatibility.h:126:2: error: #error Unknown architecture 126 | #error Unknown architecture | ^~~~~ make[2]: *** [Makefile:468: calc_hw_crc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.24.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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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.24.0/mft_utils' In file included from ../common/tools_utils.h:36, from mft_sig_handler.c:36: ../common/compatibility.h:73:2: error: #error Unknown CPU architecture using the linux OS 73 | #error Unknown CPU architecture using the linux OS | ^~~~~ ../common/compatibility.h:126:2: error: #error Unknown architecture 126 | #error Unknown architecture | ^~~~~ make[2]: *** [Makefile:468: mft_sig_handler.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.24.0/mft_utils' g++ -DHAVE_CONFIG_H -I. -I.. -I. -I../common -fPIC -Wall -W -g -MP -MD -pipe -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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.24.0/mft_utils' In file included from mlarge_buffer.h:44, from mlarge_buffer.cpp:41: ../common/compatibility.h:73:2: error: #error Unknown CPU architecture using the linux OS 73 | #error Unknown CPU architecture using the linux OS | ^~~~~ ../common/compatibility.h:126:2: error: #error Unknown architecture 126 | #error Unknown architecture | ^~~~~ make[2]: *** [Makefile:489: mlarge_buffer.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.24.0/mft_utils' g++ -DHAVE_CONFIG_H -I. -I.. -I. -I../common -fPIC -Wall -W -g -MP -MD -pipe -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -isystem /usr/local/include -DHAVE_TERMIOS_H -isystem /usr/include/libxml2 -DMST_UL -c -o mft_utils.o mft_utils.cpp make[2]: Leaving directory '/builddir/build/BUILD/mstflint-4.24.0/mft_utils' In file included from mft_utils.h:44, from mft_utils.cpp:47: ../common/compatibility.h:73:2: error: #error Unknown CPU architecture using the linux OS 73 | #error Unknown CPU architecture using the linux OS | ^~~~~ ../common/compatibility.h:126:2: error: #error Unknown architecture 126 | #error Unknown architecture | ^~~~~ make[2]: *** [Makefile:489: mft_utils.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/mstflint-4.24.0/mft_utils' g++ -DHAVE_CONFIG_H -I. -I.. -I. -I../common -fPIC -Wall -W -g -MP -MD -pipe -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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.24.0/mft_utils' make[1]: *** [Makefile:559: all-recursive] Error 1 make: *** [Makefile:444: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.zd2xNy (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.zd2xNy (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mstflint.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, 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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mstflint.spec