Your message dated Mon, 25 Jan 2010 23:26:46 +0100
with message-id <201001252326.52450.stefan.pot...@informatik.uni-erlangen.de>
and subject line Re: Bug#527721: marked as done (ktoon: FTBFS: ioapi.c:13:18:
error: zlib.h: No such file or directory)
has caused the Debian Bug report #559781,
regarding ktoon: FTBFS with current ffmpeg
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
559781: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559781
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
/**
--- End Message ---
--- Begin Message ---
Package: ktoon
Version: 0.8.1-4.1
Hi,
sorry, mixed up bug numbers in NMU. This one is fixed as well:
/--
ktoon (0.8.1-4.1) unstable; urgency=low
.
* Non-maintainer upload.
* Fix build failure (Closes: #527721, #462013):
+ Build-Depend on zlib1g-dev, thanks to Cyril Brulebois.
+ Add debian/patches/90-fix-ffmpeg-includes.dpatch, based on a patch from
Christoph Egger.
+ Add libswscale-dev and libavutil-dev to build-depends.
+ Add debian/patches/95-ffmpeg-libs to also link against swscale and
avutil.
+ Add debian/patches/92-fix-linking to link the ffmpeg exporter against
src/store as well.
+ Add libpng12-dev to build-depends.
* Fix plugin directory in debian/patches/31_dirs (Closes: #462013).
--/
Cheers,
Stefan.
signature.asc
Description: This is a digitally signed message part.
--- End Message ---