← Back to team overview

vm team mailing list archive

[Bug 513024] Re: version.txt missing from lp:vm/8.1.x

 

Ulrich Mueller writes:

> >>>>> On Thu, 28 Jan 2010, Uday S Reddy wrote:
> 
> > I understand that you are catching the possible error with the
> > version.txt file. But, for the OP, it looks like the version.txt
> > file didn't get generated. Or it got generated somewhere else. Do we
> > know why?
> 
> Hi Uday,
> 
> It's a bootstrap problem: version.txt is generated relatively late by
> a make rule. However vm-version.el is required by vm-build.el which is
> needed earlier at configure time.

Hi Ulrich, I have just done a clean build of 8.1.1-devo with a
version.txt file in place that said "VM 8.1.0-beta".  The file
remained as it is, and didn't get regenerated.

If I deleted the version.txt file and did another build, it got
generated.  But I don't think we can depend on the users to go through
this protocol every time.  

Looking at the Makefile, it doesn't show any dependencies for
version.txt.  So, if the file exists at all, then make leaves it
alone.

It seems to me that the right time to generate the version.txt file is
when ./configure is done.  Is it possible to set things up so that it
gets generated at that time?

Cheers,
Uday



Follow ups

References