Whamcloud - gitweb
LU-18692 build: add -f option to libtoolize 65/57965/3
authorJian Yu <yujian@whamcloud.com>
Tue, 4 Feb 2025 18:48:41 +0000 (10:48 -0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 11 Feb 2025 05:33:55 +0000 (05:33 +0000)
If libtool and aclocal.m4 were generated by different
versions of build tools, then building Lustre codes
will hit libtool version mismatch error.

This patch adds -f option to libtoolize in autogen.sh
to replace existing libtool files by default.

Change-Id: I8f4786eccfdf38b3554393d7f9d6f52613a3a3f5
Test-Parameters: trivial
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57965
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
autogen.sh

index 013a265..d77efa4 100755 (executable)
@@ -19,7 +19,7 @@ done
 # avoid the "modules.order: No such file or directory" failure
 touch modules.order
 
-libtoolize -q
+libtoolize -q -f
 aclocal -I $pw/config $ACLOCAL_FLAGS
 autoheader
 automake -a -c