bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#153698: automake1.6: tries to reprocess makefiles when required


From: Alexandre Duret-Lutz
Subject: Re: Bug#153698: automake1.6: tries to reprocess makefiles when required files are not found
Date: 22 Jul 2002 20:30:56 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>> "Andrew" == Andrew Suffield <address@hidden> writes:

 Andrew> Package: automake1.6
 Andrew> Version: 1.6.2-1
 Andrew> Severity: minor

 Andrew> minor since this is caught anyway by a sanity check,
 Andrew> but here's the output from automake -a after whacking
 Andrew> the contents of autoconf/:

 Andrew> configure.ac: installing `autoconf/install-sh'
 Andrew> configure.ac: installing `autoconf/mkinstalldirs'
 Andrew> configure.ac: installing `autoconf/missing'
 Andrew> configure.ac:9: installing `autoconf/config.guess'
 Andrew> configure.ac:9: installing `autoconf/config.sub'
 Andrew> Makefile.am: installing `./INSTALL'
 Andrew> aclocal.m4:907: required file `autoconf/ltmain.sh' not found
 Andrew> main/Makefile.am: installing `autoconf/depcomp'
 Andrew> automake: processing Makefiles another time to fix them up.
 Andrew> aclocal.m4:907: required file `autoconf/ltmain.sh' not found
 Andrew> automake: processing Makefiles another time to fix them up.
 Andrew> automake: programming error: running more than two times should never 
be needed.

 Andrew> Then run it a second time and the problem is more obvious:

 Andrew> aclocal.m4:907: required file `autoconf/ltmain.sh' not found
 Andrew> automake: processing Makefiles another time to fix them up.
 Andrew> aclocal.m4:907: required file `autoconf/ltmain.sh' not found
 Andrew> automake: processing Makefiles another time to fix them up.
 Andrew> automake: programming error: running more than two times should never 
be needed.

Interesting.  It would help if you could show, not what you get,
but *how* you get it.  What does "whacking the contents of
autoconf/" means exactly?

Here is what I've typed to produce identical error
messages (modulo the line numbers).  However this is
not enough to trigger the "programming error".  
Maybe you can "improve" this?

% ls
% cat > configure.ac
AC_INIT([whocares], [1.0])
AM_INIT_AUTOMAKE
AC_CONFIG_AUX_DIR([autoconf])
AC_PROG_CC
AC_CANONICAL_HOST
AC_CONFIG_FILES([Makefile main/Makefile])
AC_OUTPUT
% touch README ChangeLog AUTHORS COPYING THANKS NEWS
% mkdir autoconf main
% echo 'SUBDIRS = main' > Makefile.am
% cat >main/Makefile.am
noinst_LTLIBRARIES = libwhocares.la
libwhocares_la_SOURCES = me.c
% echo 'AM_PROG_LIBTOOL' > acinclude.m4
% /usr/bin/aclocal-1.6
% /usr/bin/automake-1.6 --add-missing
configure.ac: installing `autoconf/install-sh'
configure.ac: installing `autoconf/mkinstalldirs'
configure.ac: installing `autoconf/missing'
configure.ac:5: installing `autoconf/config.guess'
configure.ac:5: installing `autoconf/config.sub'
Makefile.am: installing `./INSTALL'
aclocal.m4:31: required file `autoconf/ltmain.sh' not found
main/Makefile.am: installing `autoconf/depcomp'
automake-1.6: processing Makefiles another time to fix them up.
aclocal.m4:31: required file `autoconf/ltmain.sh' not found
% /usr/bin/automake-1.6 --add-missing
aclocal.m4:31: required file `autoconf/ltmain.sh' not found
%
-- 
Alexandre Duret-Lutz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]