autoconf-patches
[Top][All Lists]
Advanced

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

CVS checkout may not rerun autotools (was: FYI: more updated files)


From: Ralf Wildenhues
Subject: CVS checkout may not rerun autotools (was: FYI: more updated files)
Date: Mon, 10 Apr 2006 21:58:20 +0200
User-agent: Mutt/1.5.9i

Hi Paul,

* Paul Eggert wrote on Mon, Apr 10, 2006 at 08:09:47PM CEST:
> 
> Worse, I can't check out the source code from CVS and expect it to
> work, even if everything is regenerated properly in CVS.

Two failures in fact:

> Here's an example failure, from a pristine CVS checkout right now:
> 
> 506-penguin $ ./configure --prefix=/tmp/test-prefix
> checking for a BSD-compatible install... 
> /home/eggert/opt/Linux-i686/merged/bin/install -c
*snip*

> 507-penguin $ make
> Making all in bin
> make[1]: Entering directory `/home/eggert/src/gnu/autoconf/bin'
>  cd .. && /bin/sh /home/eggert/src/gnu/autoconf/config/missing --run 
> automake-1.9 --gnu  bin/Makefile

First failure: lib/freeze.mk is newer than bin/Makefile.in
(and likewise for the other Makefile.in's where it is included).
Unfortunately, my last change to freeze.mk was white-space
only, and thus the rebuild of the Makefile.in's was identical,
so cvs did not create a new version.

I can reproduce this error.  I suggest the patch below.  OK?

*snip*
> 508-penguin $ make install
> Making install in bin
*snip*
> Making install in m4sugar
> make[2]: Entering directory `/home/eggert/src/gnu/autoconf/lib/m4sugar'
> make[3]: Entering directory `/home/eggert/src/gnu/autoconf/lib/m4sugar'
> make[3]: Nothing to be done for `install-exec-am'.
> test -z "/autoconf/m4sugar" || mkdir -p -- "/autoconf/m4sugar"
> mkdir: cannot create directory `/autoconf': Permission denied

Second failure: datarootdir is apparently empty.  That's weird; it
should happen only when `configure' was created with an Autoconf version
that is too old (before January 2005).   I cannot reproduce this.
Could 

Cheers,
Ralf

        * lib/freeze.mk: Fix typo in comment.  Unlike the last, white
        space only patch to this file, this patch causes the Makefile.in
        files that include freeze.mk to be updated, and thus have a
        newer time stamp again, which in turn makes a pristine CVS
        checkout have correct time stamps.

Index: lib/freeze.mk
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/freeze.mk,v
retrieving revision 1.14
diff -u -r1.14 freeze.mk
--- lib/freeze.mk       5 Apr 2006 20:55:14 -0000       1.14
+++ lib/freeze.mk       10 Apr 2006 19:54:53 -0000
@@ -41,7 +41,7 @@
 # output but comments and empty lines.
 # If freezing produces output, something went wrong: a bad `divert',
 # or an improper paren etc.
-# It may happen that the output does not end with a end of line, hence
+# It may happen that the output does not end with an end of line, hence
 # force an end of line when reporting errors.
 .m4.m4f:
        $(MY_AUTOM4TE)                          \




reply via email to

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