Package: ffmpegthumbnailer
Version: 1.3.0-1
User: [email protected]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of ffmpegthumbnailer_1.3.0-1 on em64t by sbuild/amd64 0.53
...
> libtool: compile:  g++ -DPACKAGE_NAME=\"ffmpegthumbnailer\" 
> -DPACKAGE_TARNAME=\"ffmpegthumbnailer\" -DPACKAGE_VERSION=\"1.3.0\" 
> "-DPACKAGE_STRING=\"ffmpegthumbnailer 1.3.0\"" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE=\"ffmpegthumbnailer\" -DVERSION=\"1.3.0\" -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_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 
> -DHAVE_INTTYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_JPEGLIB_H=1 
> -DHAVE_FFMPEG_AVCODEC_H=1 -DHAVE_FFMPEG_AVFORMAT_H=1 -DHAVE_FFMPEG_AVUTIL_H=1 
> -DHAVE_FFMPEG_SWSCALE_H=1 -I. -g -O2 -c jpegwriter.cpp  -fPIC -DPIC -o 
> .libs/jpegwriter.o
> jpegwriter.cpp: In constructor 'JpegWriter::JpegWriter(const std::string&)':
> jpegwriter.cpp:44: error: 'fopen' was not declared in this scope
> jpegwriter.cpp: In destructor 'virtual JpegWriter::~JpegWriter()':
> jpegwriter.cpp:74: error: 'fclose' was not declared in this scope
> make[3]: *** [jpegwriter.lo] Error 1
> make[3]: Leaving directory 
> `/build/tbm/ffmpegthumbnailer-1.3.0/src/libffmpegthumbnailer'

--- src/libffmpegthumbnailer/jpegwriter.cpp~    2009-01-04 08:47:08.000000000 
+0000
+++ src/libffmpegthumbnailer/jpegwriter.cpp     2009-01-04 08:47:16.000000000 
+0000
@@ -16,6 +16,7 @@
 
 #include "jpegwriter.h"
 #include <stdexcept>
+#include <cstdio>
 #include <cstring>
 #include <assert.h>
 #include <algorithm>

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to