[LU-15838] configure.ac warning: The macro 'AC_HELP_STRING' is obsolete Created: 11/May/22  Updated: 06/Jul/22  Resolved: 06/Jul/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.16.0
Fix Version/s: Lustre 2.16.0, Lustre 2.15.1

Type: Bug Priority: Minor
Reporter: Jian Yu Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-15781 Ubuntu 22.04 LTS release support Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   
# neofetch distro kernel
distro: Ubuntu 22.04 LTS x86_64 
kernel: 5.15.0-27-generic 

# gcc --version
gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0

# autoconf --version
autoconf (GNU Autoconf) 2.71
# sh autogen.sh
configure.ac:2: warning: AC_INIT: not a literal: "m4_esyscmd(sh -c "./LUSTRE-VERSION-GEN | tr -d '\n'")"
configure.ac:23: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:23: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
aclocal.m4:20035: LB_CONFIG_DIST is expanded from...
aclocal.m4:20447: LB_CONFIGURE is expanded from...

The macro 'AC_HELP_STRING' is obsolete and needs to be replaced by 'AS_HELP_STRING'.

libcfs/libcfs/autoMakefile.am: installing 'config/depcomp'
configure.ac:10: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:10: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:10: the top level
configure.ac:16: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:16: You should run autoupdate.
aclocal.m4:8544: AC_PROG_LIBTOOL is expanded from...
configure.ac:16: the top level


 Comments   
Comment by Gerrit Updater [ 11/May/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47288
Subject: LU-15838 autoconf: fix use of obsolete macros
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7a31c30266073eac80e4d09a94991e02fbaf16c1

Comment by James A Simmons [ 11/May/22 ]

Yep I have seen this. Also have you seen

checking for Python library path... <stdin>:4: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for po
tential alternatives
<stdin>:4: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
<stdin>:3: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives

Comment by Gerrit Updater [ 24/Jun/22 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47753
Subject: LU-15838 autoconf: fix use of obsolete macros
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: 1404c2fd6d1f00877d38411365506a6d49c0620c

Comment by Gerrit Updater [ 06/Jul/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47288/
Subject: LU-15838 autoconf: fix use of obsolete macros
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b01d3668aff8f17a20bf006bd915392b4708d46b

Comment by Gerrit Updater [ 06/Jul/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47753/
Subject: LU-15838 autoconf: fix use of obsolete macros
Project: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: 2eafa3186ba09a9dc452f71bfea5f9b9e49fa252

Generated at Sat Feb 10 03:21:44 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.