bug-bison
[Top][All Lists]
Advanced

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

Re: Difficulty trying to build distribution from CVS sources


From: Joel E. Denny
Subject: Re: Difficulty trying to build distribution from CVS sources
Date: Sun, 20 Apr 2008 20:36:16 -0400 (EDT)

On Sat, 16 Feb 2008, Joel E. Denny wrote:

> On Mon, 21 Jan 2008, Juan Manuel Guerrero wrote:
> 
> > At a first glance all steps appeared to work except for the one to build
> > the dist target.  That target produces the following output:
> > 
> >   make: build-aux/git-version-gen: Kommando nicht gefunden   (command not 
> > found)
> >   INFO: rerunning autoconf for new version string: 
> >   cat: .prev-version: Datei oder Verzeichnis nicht gefunden  (file or 
> > directory not found)
> >   /bin/sh ./config.status --recheck
> >   running CONFIG_SHELL=/bin/sh /bin/sh ./configure   --no-create 
> > --no-recursion
> > [snip]
> >   make: build-aux/git-version-gen: Kommando nicht gefunden
> >   INFO: rerunning autoconf for new version string: 
> >   cat: .prev-version: Datei oder Verzeichnis nicht gefunden
> >   /bin/sh ./config.status --recheck
> >   running CONFIG_SHELL=/bin/sh /bin/sh ./configure   --no-create 
> > --no-recursion
> > [snip]
> > 
> > As can be seen it is a infinite loop.  After inspecting bison/build-aux/ I 
> > have
> > seen that there is no git-version-gen
> 
> Juan, sorry for the very slow response.  I see the same infinite loop you 
> do.
> 
> Paul, the problem goes away when I check out Bison from 2007-09-21 right 
> before your changes to GNUmakefile but not after.  Could you look into 
> this?  Thanks.

Paul understands this stuff much better than I do, but he seems to be 
busy, so I'm giving it a shot.  I committed the following, which fixes 
make dist.  I don't know how this will need to change after the next sync 
with coreutils.

Index: ChangeLog
===================================================================
RCS file: /sources/bison/bison/ChangeLog,v
retrieving revision 1.1779
diff -p -u -r1.1779 ChangeLog
--- ChangeLog   8 Mar 2008 20:49:56 -0000       1.1779
+++ ChangeLog   21 Apr 2008 00:18:11 -0000
@@ -1,3 +1,13 @@
+2008-04-20  Joel E. Denny  <address@hidden>
+
+       Fix make dist infinite loop reported by Juan Manuel Guerrero at
+       <http://lists.gnu.org/archive/html/bug-bison/2008-01/msg00009.html>.
+       * .cvsignore: Add .version.
+       * .version.in: New.
+       * bootstrap.conf (gnulib_modules): Add git-version-gen.
+       * configure.ac (AC_CONFIG_FILES): Add .version.
+       * build-aux/.cvsignore: Add git-version-gen.
+
 2008-03-08  Joel E. Denny  <address@hidden>
 
        * NEWS (2.3a+): Mention that -g now takes an argument.
Index: .cvsignore
===================================================================
RCS file: /sources/bison/bison/.cvsignore,v
retrieving revision 1.26
diff -p -u -r1.26 .cvsignore
--- .cvsignore  4 Feb 2007 07:19:10 -0000       1.26
+++ .cvsignore  21 Apr 2008 00:18:01 -0000
@@ -2,6 +2,7 @@
 *.flc
 *.patch *.log log patches applied
 *.prj
+.version
 ABOUT-NLS
 COPYING
 INSTALL
Index: .version.in
===================================================================
RCS file: .version.in
diff -N .version.in
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ .version.in 21 Apr 2008 00:18:01 -0000
@@ -0,0 +1 @@
address@hidden@
Index: bootstrap.conf
===================================================================
RCS file: /sources/bison/bison/bootstrap.conf,v
retrieving revision 1.10
diff -p -u -r1.10 bootstrap.conf
--- bootstrap.conf      15 Aug 2007 20:21:20 -0000      1.10
+++ bootstrap.conf      21 Apr 2008 00:18:11 -0000
@@ -18,7 +18,7 @@
 # gnulib modules used by this package.
 gnulib_modules='
        argmatch config-h c-strcase configmake
-       dirname error extensions fopen-safer
+       dirname error extensions fopen-safer git-version-gen
        getopt gettext hash inttypes javacomp-script javaexec-script malloc
        mbswidth obstack quote quotearg stdbool stpcpy strerror strtoul
        strverscmp unistd unistd-safer unlocked-io verify xalloc xalloc-die
Index: configure.ac
===================================================================
RCS file: /sources/bison/bison/configure.ac,v
retrieving revision 1.84
diff -p -u -r1.84 configure.ac
--- configure.ac        22 Dec 2007 18:35:02 -0000      1.84
+++ configure.ac        21 Apr 2008 00:18:11 -0000
@@ -142,7 +142,8 @@ AC_SUBST([O0CXXFLAGS], [`echo $CXXFLAGS 
 gt_JAVACOMP([1.3])
 gt_JAVAEXEC
 
-AC_CONFIG_FILES([Makefile
+AC_CONFIG_FILES([.version
+                Makefile
                 build-aux/Makefile
                 po/Makefile.in
                 data/Makefile
Index: build-aux/.cvsignore
===================================================================
RCS file: /sources/bison/bison/build-aux/.cvsignore,v
retrieving revision 1.5
diff -p -u -r1.5 .cvsignore
--- build-aux/.cvsignore        17 Jul 2007 03:19:37 -0000      1.5
+++ build-aux/.cvsignore        21 Apr 2008 00:18:11 -0000
@@ -5,6 +5,7 @@ config.guess
 config.rpath
 config.sub
 depcomp
+git-version-gen
 install-sh
 javacomp.sh.in
 javaexec.sh.in




reply via email to

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