On 02/08/2012 05:48 PM, Vinson Lee wrote: > 'make autotools' calls autoheader to generate configure. This isn't > necessary as configure is already packaged in the ltp tarball. > > This patch fixes the following build error on Ubuntu 11.10. > autoheader > aclocal.m4:16: warning: this file was generated for autoconf 2.64. > You have another version of autoconf. It may work, but is not guaranteed to. > If you have problems, you may need to regenerate the build system entirely. > To do so, use the procedure documented by the package, typically `autoreconf'. > configure.ac:2: error: m4_divert_push: cannot change diversion to `GROW' > inside m4_expand > configure.ac:2: the top level > autom4te: /usr/bin/m4 failed with exit status: 1 > autoheader: '/usr/bin/autom4te' failed with exit status: 1 > make: *** [autoheader] Error 1
Ok, looks good to me, applied: https://github.com/autotest/autotest/commit/f13d8ccf81e6e49590cc20488e3ba39257f2b2b3 Thanks! > Signed-off-by: Vinson Lee<[email protected]> > --- > client/tests/ltp/ltp.py | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/client/tests/ltp/ltp.py b/client/tests/ltp/ltp.py > index 833f3ec..8a8fdf3 100644 > --- a/client/tests/ltp/ltp.py > +++ b/client/tests/ltp/ltp.py > @@ -40,7 +40,6 @@ class ltp(test.test): > utils.system('patch -p1< ../ltp_capability.patch') > > utils.system('cp ../scan.c pan/') # saves having lex installed > - utils.make('autotools') > utils.configure('--prefix=%s' % ltpbin_dir) > utils.make('-j %d all' % utils.count_cpus()) > utils.system('yes n | make SKIP_IDCHECK=1 install') _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
