Mellanox/mstflint

obsoleted autoconf and automake files

Honggang-LI opened this issue · 1 comments

It seems obsoleted autoconf and automake scripts were used. Mellanox may need to update those scripts. rpmbuild was failed for Fedora rawhide (FC36) because of those old scripts. Please update those scripts.

https://koji.fedoraproject.org/koji/taskinfo?taskID=81799494
https://kojipkgs.fedoraproject.org//work/tasks/9494/81799494/build.log
+ cd mstflint-4.18.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: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/json/Makefile.am:39: error: 'libjson.a' is not a standard libtool library name
ext_libs/json/Makefile.am:39: 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 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: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
configure.ac:51: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:51: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:51: the top level
configure.ac:424: warning: AC_OUTPUT should be used without arguments.
configure.ac:424: You should run autoupdate.
+ 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  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS

The fedora36 OS is not yet supported.