[LU-2290] build to support automake-1.12 Created: 06/Nov/12  Updated: 19/Apr/13  Resolved: 30/Nov/12

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

Type: Improvement Priority: Minor
Reporter: Alex Zhuravlev Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates LU-1199 lustre build system overhaul Resolved
Rank (Obsolete): 5480

 Description   

lustre can be built with automake-1.12



 Comments   
Comment by Alex Zhuravlev [ 07/Nov/12 ]

autogen's output:

Checking for a complete tree...
/opt/local/bin/automake-1.12
checking for automake-1.12 >= 1.9... found 1.12.4
checking for autoconf >= 2.57... found 2.69
Running aclocal-1.12 -I /work/lustre/lustre-release/build/autoconf -I /work/lustre/lustre-release/libcfs/autoconf -I /work/lustre/lustre-release/lnet/autoconf -I /work/lustre/lustre-release/lustre/autoconf -I /work/lustre/lustre-release/snmp/autoconfconfigure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
/work/lustre/lustre-release/build/autoconf/lustre-build-ldiskfs.m4:31: LB_PATH_LDISKFS is expanded from...
/work/lustre/lustre-release/build/autoconf/lustre-build.m4:745: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
/work/lustre/lustre-release/build/autoconf/lustre-build-zfs.m4:104: LB_SPL_BUILD is expanded from...
/work/lustre/lustre-release/build/autoconf/lustre-build-zfs.m4:226: LB_PATH_ZFS is expanded from...
/work/lustre/lustre-release/build/autoconf/lustre-build.m4:745: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
/work/lustre/lustre-release/build/autoconf/lustre-build-zfs.m4:340: LB_ZFS_BUILD is expanded from...
/work/lustre/lustre-release/build/autoconf/lustre-build-zfs.m4:226: LB_PATH_ZFS is expanded from...
/work/lustre/lustre-release/build/autoconf/lustre-build.m4:745: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
/work/lustre/lustre-release/libcfs/autoconf/lustre-libcfs.m4:841: LIBCFS_CONFIGURE is expanded from...
/work/lustre/lustre-release/build/autoconf/lustre-build.m4:745: LB_CONFIGURE is expanded from...
configure.ac:24: the top level

Running autoheaderconfigure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:5822: LB_PATH_LDISKFS is expanded from...
aclocal.m4:8147: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:7060: LB_SPL_BUILD is expanded from...
aclocal.m4:7182: LB_PATH_ZFS is expanded from...
aclocal.m4:8147: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:7296: LB_ZFS_BUILD is expanded from...
aclocal.m4:7182: LB_PATH_ZFS is expanded from...
aclocal.m4:8147: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
aclocal.m4:5514: LIBCFS_CONFIGURE is expanded from...
aclocal.m4:8147: LB_CONFIGURE is expanded from...
configure.ac:24: the top level

Running automake-1.12 -a -c -W no-portabilityconfigure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:5822: LB_PATH_LDISKFS is expanded from...
aclocal.m4:8147: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:7060: LB_SPL_BUILD is expanded from...
aclocal.m4:7182: LB_PATH_ZFS is expanded from...
aclocal.m4:8147: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:7296: LB_ZFS_BUILD is expanded from...
aclocal.m4:7182: LB_PATH_ZFS is expanded from...
aclocal.m4:8147: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
aclocal.m4:5514: LIBCFS_CONFIGURE is expanded from...
aclocal.m4:8147: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
lustre/obdclass/autoMakefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

Running autoconfconfigure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:5822: LB_PATH_LDISKFS is expanded from...
aclocal.m4:8147: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:7060: LB_SPL_BUILD is expanded from...
aclocal.m4:7182: LB_PATH_ZFS is expanded from...
aclocal.m4:8147: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1097: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:7296: LB_ZFS_BUILD is expanded from...
aclocal.m4:7182: LB_PATH_ZFS is expanded from...
aclocal.m4:8147: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
aclocal.m4:5514: LIBCFS_CONFIGURE is expanded from...
aclocal.m4:8147: LB_CONFIGURE is expanded from...
configure.ac:24: the top level

Running autogen for libsysio...
Running sh autogen.shaclocal-1.12: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake-1.12: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake-1.12: warning: autoconf input should be named 'configure.ac', not 'configure.in'

Running autogen for lustre-iokit...
Running sh autogen.shRunning aclocal-1.12...
Running automake-1.12 -a -c...
configure.ac:3: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.ac:3: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation
Running autoconf...
Finished. Ready for ./configure ...

Running autogen for ldiskfs...
Running sh autogen.shChecking for a complete tree...
/opt/local/bin/automake-1.12
checking for automake-1.12 >= 1.9... found 1.12.4
checking for autoconf >= 2.57... found 2.69
Running aclocal-1.12 -I /work/lustre/lustre-release/ldiskfs/build/autoconf
Running autoheader
Running automake-1.12 -a -c -W no-portability
Running autoconf

Comment by Andreas Dilger [ 07/Nov/12 ]

I haven't seen any these warnings before, and I'm running automake 1.11.1 for a long time.

The AM_INIT_AUTOMAKE warning could likely easily be fixed. Same with AM_CPPFLAGS and AC_LANG_SOURCE. I'm not sure about the others, but since they all appear to relate to some of our macros, I guess they could be fixed in one location.

Comment by Alex Zhuravlev [ 08/Nov/12 ]

OK, 1.11 output on fedora17

Checking for a complete tree...
/usr/bin/automake-1.11
checking for automake-1.11 >= 1.9... found 1.11.6
checking for autoconf >= 2.57... found 2.68
Running aclocal-1.11 -I /home/alexey/lustre-master/build/autoconf -I /home/alexey/lustre-master/libcfs/autoconf -I /home/alexey/lustre-master/lnet/autoconf -I /home/alexey/lustre-master/lustre/autoconf -I
/home/alexey/lustre-master/snmp/autoconfconfigure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
/home/alexey/lustre-master/build/autoconf/lustre-build-ldiskfs.m4:31: LB_PATH_LDISKFS is expanded from...
/home/alexey/lustre-master/build/autoconf/lustre-build.m4:745: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
/home/alexey/lustre-master/build/autoconf/lustre-build-zfs.m4:104: LB_SPL_BUILD is expanded from...
/home/alexey/lustre-master/build/autoconf/lustre-build-zfs.m4:226: LB_PATH_ZFS is expanded from...
/home/alexey/lustre-master/build/autoconf/lustre-build.m4:745: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
/home/alexey/lustre-master/build/autoconf/lustre-build-zfs.m4:340: LB_ZFS_BUILD is expanded from...
/home/alexey/lustre-master/build/autoconf/lustre-build-zfs.m4:226: LB_PATH_ZFS is expanded from...
/home/alexey/lustre-master/build/autoconf/lustre-build.m4:745: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
/home/alexey/lustre-master/libcfs/autoconf/lustre-libcfs.m4:841: LIBCFS_CONFIGURE is expanded from...
/home/alexey/lustre-master/build/autoconf/lustre-build.m4:745: LB_CONFIGURE is expanded from...
configure.ac:24: the top level

Running autoheaderconfigure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:5853: LB_PATH_LDISKFS is expanded from...
aclocal.m4:8178: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:7091: LB_SPL_BUILD is expanded from...
aclocal.m4:7213: LB_PATH_ZFS is expanded from...
aclocal.m4:8178: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:7327: LB_ZFS_BUILD is expanded from...
aclocal.m4:7213: LB_PATH_ZFS is expanded from...
aclocal.m4:8178: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
aclocal.m4:5545: LIBCFS_CONFIGURE is expanded from...
aclocal.m4:8178: LB_CONFIGURE is expanded from...
configure.ac:24: the top level

Running automake-1.11 -a -c -W no-portabilityconfigure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:5853: LB_PATH_LDISKFS is expanded from...
aclocal.m4:8178: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:7091: LB_SPL_BUILD is expanded from...
aclocal.m4:7213: LB_PATH_ZFS is expanded from...
aclocal.m4:8178: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:7327: LB_ZFS_BUILD is expanded from...
aclocal.m4:7213: LB_PATH_ZFS is expanded from...
aclocal.m4:8178: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
aclocal.m4:5545: LIBCFS_CONFIGURE is expanded from...
aclocal.m4:8178: LB_CONFIGURE is expanded from...
configure.ac:24: the top level

Running autoconfconfigure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:5853: LB_PATH_LDISKFS is expanded from...
aclocal.m4:8178: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:7091: LB_SPL_BUILD is expanded from...
aclocal.m4:7213: LB_PATH_ZFS is expanded from...
aclocal.m4:8178: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_CONFIG_SUBDIRS: you should use literals
../../lib/autoconf/status.m4:1099: AC_CONFIG_SUBDIRS is expanded from...
aclocal.m4:7327: LB_ZFS_BUILD is expanded from...
aclocal.m4:7213: LB_PATH_ZFS is expanded from...
aclocal.m4:8178: LB_CONFIGURE is expanded from...
configure.ac:24: the top level
configure.ac:24: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
aclocal.m4:5545: LIBCFS_CONFIGURE is expanded from...
aclocal.m4:8178: LB_CONFIGURE is expanded from...
configure.ac:24: the top level

Running autogen for libsysio...
Running sh autogen.sh
Running autogen for lustre-iokit...
Running sh autogen.shRunning aclocal-1.11...
Running automake-1.11 -a -c...
Running autoconf...
Finished. Ready for ./configure ...

Running autogen for ldiskfs...
Running sh autogen.shChecking for a complete tree...
/usr/bin/automake-1.11
checking for automake-1.11 >= 1.9... found 1.11.6
checking for autoconf >= 2.57... found 2.68
Running aclocal-1.11 -I /home/alexey/lustre-master/ldiskfs/build/autoconf
Running autoheader
Running automake-1.11 -a -c -W no-portability
Running autoconf

Comment by Andreas Dilger [ 10/Nov/12 ]

It would be useful to fix these warnings, since they are distracting from any potential real problems that may appear. I don't see these on my local automake-1.11.1 version, and it seems strange to have significant behaviour differences in a minor update.

Looking more closely, the warnings are generated by autoconf-2.68, while I run autoconf-2.65 locally. So that is no reason to prevent the use of automake-1.12, but it would be nice to fix those autoconf warnings in a separate patch to avoid confusion for everyone.

Comment by Andreas Dilger [ 10/Nov/12 ]

Patch for automake-1.12 is at http://review.whamcloud.com/4479

Comment by Andreas Dilger [ 30/Nov/12 ]

The build cleanups in LU-1199 remove the "maximum" automake and autoconf version checks, and only have minimum versions.

Generated at Sat Feb 10 01:23:58 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.