Hi, can someone shed some light on the following warning/abort during an rpm build of dvbcut for Fedora ? :
=====
g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIB_SWSCALE=1 -DHAVE_LIB_MAD=1 -DHAVE_LIB_A52=1 -DHAVE_LIB_AO=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_AO_AO_H=1 -DHAVE_MAD_H=1 -DHAVE_STDINT_H=1 -DHAVE_A52DEC_A52_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -D__STDC_LIMIT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -D_FILE_OFFSET_BITS=64 -I/usr/include/ffmpeg/ -I/usr/include/ffmpeg//libavcodec -I/usr/include/ffmpeg//libavformat -I/usr/include/ffmpeg//libswscale -I/usr/lib/qt-3.3/include -I. -I/usr/include/ffmpeg/ -I/usr/include/ffmpeg//libavcodec -I/usr/include/ffmpeg//libavformat -I/usr/include/ffmpeg//libswscale -I/usr/lib/qt-3.3/include -I. -c -o buffer.o buffer.cpp
cd .. && make src/version.h
make[2]: Entering directory `/home/davidt/rpmbuild/BUILD/dvbcut-20090207'
make[2]: *** No rule to make target `ffmpeg.src/COPYING', needed by `src/version.h'. Stop.
make[2]: Leaving directory `/home/davidt/rpmbuild/BUILD/dvbcut-20090207'
make[1]: *** [version.h] Error 2
make[1]: Leaving directory `/home/davidt/rpmbuild/BUILD/dvbcut-20090207/src'
make: *** [all] Error 2
=====
My current build grabs the svn release, nukes the ffmpeg.src and .svn folders, before zipping it up, for the build process.

A diff of setversion.h from the last time I built it OK (r138) is included, image from meld at:
http://members.iinet.net.au/~timmsy/dvbcut/dvbcut.setversion.h-meld-88-156.png

Cheers, David Timms.
--- /home/davidt/dev/bugz/setversion.sh.88      2009-02-07 15:16:07.000000000 
+1100
+++ /home/davidt/dev/bugz/setversion.sh.156     2009-02-07 15:15:50.000000000 
+1100
@@ -1,5 +1,5 @@
 #! /bin/sh 
-# Copyright (c) 2007 Ralph Glasstetter, Michael Riepe
+# Copyright (c) 2007 - 2009 Ralph Glasstetter, Michael Riepe
 # This program is free software; see COPYING for details.
 #
 # Create a header file containing a version string, max. revision number and
@@ -11,7 +11,7 @@
 # previous calls and is scanned additionally in case of incremental calls 
 # with just a few changed (or no) files as arguments.
 
-# $Id$
+#@(#) $Id$
 
 # location of this script (specify the input/output filenames below rel. to 
this!)
 DIR=`dirname "$0"`
@@ -32,15 +32,14 @@
 else VERSION="$VERSION-release"
 fi
 
-# scan the header file if it exists
-[ -f "$HEADER_FILE" ] && set -- "$@" "$HEADER_FILE"
-
 # maybe we want to know when the project was built?
 BUILT=`TZ=UTC date '+%Y-%m-%d %H:%M:%SZ'`
 
-# extract&analyse the $Id$-keyword lines from the given source files
+# extract&analyse the Id keyword lines from the given source files
 getids() {
        sed -ne 's,^[^ ]\+ \+\$Id: \(.*\) \$.*,\1,p' "$@" < /dev/null
+       [ -f "$HEADER_FILE" ] && \
+         sed -ne 's,^#define LASTID \(.*\)$,\1,p' "$HEADER_FILE"
 }
 set -- $(getids "$@" | sort -k 2n,2 -k 3,4 -k 1,1 | tail -1)
 NAME=$1
@@ -56,7 +55,7 @@
  * Last changed source file (read on input) was:
  */
 
-/* \$Id: $NAME $REVISION $DATE $TIME $AUTHOR \$ */
+#define LASTID $NAME $REVISION $DATE $TIME $AUTHOR
 
 #ifndef _VERSION_H
 #define _VERSION_H
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to