FTBFS with new ffmpeg in jaunty

Bug #311184 reported by Lionel Le Folgoc
2
Affects Status Importance Assigned to Milestone
mpeg4ip (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

 affects ubuntu/mpeg4ip
 status confirmed
 importance medium
 tag ftbfs ffmpegheaders
 done

Hi,

This package fails to build from source in jaunty:

 ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12
-I../../include -I../../lib/ffmpeg -I../../lib/mp4v2 -I../../lib/mp4av
-I../../lib/msg_queue -I../../lib/rtp -I../../lib/sdp -I../../lib/utils
-I../../lib -I../../lib/mpeg2ps -I../../lib/srtp -I../../player/lib
-I../../player/src -I./h261 -I/tmp/buildd/mpeg4ip-1.6dfsg/lib/ffmpeg
-D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Wno-char-subscripts
-Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2
-Wpointer-arith -Wsign-compare -fno-strict-aliasing -g -O2 -DMPEG4IP
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT audio_alsa_source.lo
-MD -MP -MF .deps/audio_alsa_source.Tpo -c audio_alsa_source.cpp -fPIC
-DPIC -o .libs/audio_alsa_source.o
In file included from audio_encoder_base.cpp:37:
audio_ffmpeg.h:28:28: error: ffmpeg/avcodec.h: No such file or directory
In file included from audio_encoder_base.cpp:37:
audio_ffmpeg.h:92: error: ISO C++ forbids declaration of 'AVCodec' with
no type
audio_ffmpeg.h:92: error: expected ';' before '*' token
audio_ffmpeg.h:93: error: ISO C++ forbids declaration of
'AVCodecContext' with no type
audio_ffmpeg.h:93: error: expected ';' before '*' token
audio_ffmpeg.h:95: error: ISO C++ forbids declaration of 'AVFrame' with
no type
audio_ffmpeg.h:95: error: expected ';' before '*' token
make[5]: *** [audio_encoder_base.lo] Error 1

--
Lionel Le Folgoc - https://launchpad.net/~mrpouit
EEBA 555E 0CDE 92BB 3AF4 4AB3 45A0 357B 5179 5910

Related branches

David Futcher (bobbo)
Changed in mpeg4ip:
assignee: nobody → bobbo
status: Confirmed → In Progress
Revision history for this message
David Futcher (bobbo) wrote :

This is going to be quite a big patch. Not only do the libs need changing, but also the members of some FFmpeg structs have changes names, which will also have to be changed a patch. IMO, we are better waiting for upstream to fix this than writing our own massive patch.

Changed in mpeg4ip:
assignee: bobbo → nobody
status: In Progress → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mpeg4ip - 1:1.6dfsg-0.2ubuntu4

---------------
mpeg4ip (1:1.6dfsg-0.2ubuntu4) jaunty; urgency=low

  * fetch 07_ffmepg-path.diff from marillat to fix building against
    the new ffmpeg package LP: #311184

 -- Reinhard Tartler <email address hidden> Thu, 19 Feb 2009 13:54:35 +0100

Changed in mpeg4ip:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.