Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] [OMPI svn-full] svn:open-mpi r22663
From: Ethan Mallove (ethan.mallove_at_[hidden])
Date: 2010-02-19 16:40:59


On Thu, Feb/18/2010 01:16:33PM, Jeff Squyres wrote:
> On Feb 18, 2010, at 1:12 PM, Ethan Mallove wrote:
>
> > About this change - I have been seeing the below error while trying to
> > build the trunk recently:
> >
> > $ make ...
> > cd . && /bin/bash /tmp/config-missing-bug-in-trunk/trunk/config/missing --run aclocal-1.10 -I config
> > configure.ac:939: warning: OMPI_CONFIGURE_SETUP is m4_require'd but not m4_defun'd
> > config/ompi_mca.m4:37: OMPI_MCA is expanded from...
> > configure.ac:939: the top level
> > cd . && /bin/bash /tmp/config-missing-bug-in-trunk/trunk/config/missing --run automake-1.10 --foreign
> > configure.ac:939: warning: OMPI_CONFIGURE_SETUP is m4_require'd but not m4_defun'd
> > ...
> >
> > While fixing ACLOCAL_AMFLAGS gets the build to complete successfully,
> > the real issue is: why is config/missing getting immediately invoked
> > by "make"? This wasn't happening before, and it means configure is
> > getting run twice per build now.
> >
> > Any ideas what could be causing this?
>
> No -- it should not be happening. I'd think that those extra -I's shouldn't be necessary.
>
> Check the usual suspects, such as time synchronization between NFS client and server, etc.
>
> You might also want to run "make -d" to see what rules are being invoked and why.

make -d shows the problem:

  ...
  Prerequisite `config/libtool.m4' is newer than target `aclocal.m4'.
  ...
  Must remake target `aclocal.m4'.
  ...

This occurs because autogen.sh patches aclocal.m4 before patching
libtool.m4. I don't know why we're suddenly seeing this now, but this
vile hack fixes it:

Index: autogen.sh
===================================================================
--- autogen.sh
+++ autogen.sh
@@ -594,6 +594,9 @@
         rm -f libtool.m4.rej
     fi
 
+ # Ensure libtool.m4 is very old so that make does not rebuild aclocal.m4
+ touch -t 197001010000.00 config/libtool.m4
+
     run_and_check $ompi_autoconf
 
     run_and_check $ompi_automake --foreign -a --copy --include-deps

-Ethan

>
> --
> Jeff Squyres
> jsquyres_at_[hidden]
>
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel