[Ffmpeg-devel] Problem building from snapshots
Diego Biurrun
diego
Thu Apr 19 16:31:52 CEST 2007
On Thu, Apr 19, 2007 at 04:11:18PM +0200, Michel Bardiaux wrote:
> Diego Biurrun wrote:
> >On Thu, Apr 19, 2007 at 03:34:42PM +0200, Michel Bardiaux wrote:
> >>If you download the 'bare sources' snapshot and do a 'make distclean',
> >>version.h is removed, and configure makes it UNKNOWN.
> >
> >Dunno what you refer to by "it", but configure does nothing to
> >version.h.
> >
> >>When the svn metadata are not present, version.sh should not be removed.
> >>by make distclean.
> >
> >version.sh is not removed by make distclean, version.h is.
> >
> >The information I gather from this confused report does not lead me to a
> >reproducible problem. It's all working fine and dandy here...
>
> Yes, definitely not one of my best shows! Once more with feeling:
>
> * download the 'bare sources' snapshot
> * make distclean
> => version.h is removed
> * configure
> * make
> => new version.h with -rUNKNOWN
Ummmmm, no ...
cerebus:/tmp/ffmpeg-export-2007-04-19$ cat version.sh
#!/bin/sh
NEW_REVISION="#define FFMPEG_VERSION \"SVN-r8757\""
OLD_REVISION=`cat version.h 2> /dev/null`
# Update version.h only on revision changes to avoid spurious rebuilds
if test "$NEW_REVISION" != "$OLD_REVISION"; then
echo "$NEW_REVISION" > version.h
fi
There is no way this script can result in rUNKNOWN. You must be using a
different snapshot.
Diego
More information about the ffmpeg-devel
mailing list