Package: ktoon Version: 0.8.1-4 Severity: serious Justification: FTBFS Hi,
when trying to build with the attached patch to fix #527721, one encounters new issues, since ffmpeg/*.h went away, and are now replaced by new paths. I then tried the attached patch, but given the ffmpeg API changed, it still fails to build: | make[4]: Entering directory `/srv/storage/kibi/hack/ktoon-0.8.1/src/components/export/ffmpegplugin' | g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I../../../../src/store -I../../../../src/ktoonlib -I../../../../src/dlib/dgui -I../../../../src/dlib/dcore -I-pthread -I-I/usr/include/gstreamer-0.10 -I-I/usr/include/glib-2.0 -I-I/usr/lib/glib-2.0/include -I-I/usr/include/libxml2 -I. -o ffmpegmanager.o ffmpegmanager.cpp | ffmpegmanager.cpp: In member function 'void FFMpegManager::create(const QString&, int, const QStringList&, const QSize&, int)': | ffmpegmanager.cpp:103: warning: 'AVFormatContext* av_alloc_format_context()' is deprecated (declared at /usr/include/libavformat/avformat.h:873) | ffmpegmanager.cpp:103: warning: 'AVFormatContext* av_alloc_format_context()' is deprecated (declared at /usr/include/libavformat/avformat.h:873) | ffmpegmanager.cpp:173: warning: comparison between signed and unsigned integer expressions | ffmpegmanager.cpp:181: error: cannot convert 'ByteIOContext**' to 'ByteIOContext*' for argument '1' to 'int url_fclose(ByteIOContext*)' | ffmpegmanager.cpp: In member function 'bool FFMpegManager::writeVideoFrame(const QString&, AVFormatContext*, AVStream*, int)': | ffmpegmanager.cpp:305: error: 'img_convert' was not declared in this scope | ffmpegmanager.cpp: At global scope: | ffmpegmanager.cpp:423: warning: unused parameter 'oc' | make[4]: *** [ffmpegmanager.o] Error 1 Since the (trivial) #527721 isn't sufficient to get this package built I'm opening this additional bug, so that the casual NMUer doesn't lose time trying the trivial patch. Cc'ing said bug, just to make sure. Mraw, KiBi.
--- ktoon-0.8.1/debian/changelog +++ ktoon-0.8.1/debian/changelog @@ -1,3 +1,13 @@ +ktoon (0.8.1-4.1) unstable; urgency=high + + * Non-maintainer upload. + * Fix FTBFS due to missing zlib.h by adding zlib1g-dev to + Build-Depends. It was previously indirectly pulled in. + Thanks to Peter Green for the analysis (Closes: #527721). + * Set urgency to “high” since it also affects testing. + + -- Cyril Brulebois <k...@debian.org> Mon, 07 Dec 2009 03:32:15 +0100 + ktoon (0.8.1-4) unstable; urgency=low * Depend on libgif-dev instead on libungif4-dev. Closes: #466185. --- ktoon-0.8.1/debian/control +++ ktoon-0.8.1/debian/control @@ -5,7 +5,7 @@ Build-Depends: debhelper (>= 5.0.0), dpatch, autotools-dev, libqt4-dev (>= 4.3), libaspell-dev, libaudio-dev, libgif-dev, libavcodec-dev, libavformat-dev, libglu1-mesa-dev, libming-dev, libming-util, libgstreamer0.10-dev, imagemagick, - docbook-to-man, libqt4-opengl-dev + docbook-to-man, libqt4-opengl-dev, zlib1g-dev Standards-Version: 3.7.3 Homepage: http://ktoon.toonka.com
--- a/src/components/export/ffmpegplugin/ffmpegmanager.h +++ b/src/components/export/ffmpegplugin/ffmpegmanager.h @@ -35,8 +35,8 @@ #include <QSize> #ifdef HAVE_FFMPEG -#include <ffmpeg/avcodec.h> -#include <ffmpeg/avformat.h> +#include <libavcodec/avcodec.h> +#include <libavformat/avformat.h> #endif /**