FTBFS with new ffmpeg in jaunty

Bug #311413 reported by Lionel Le Folgoc
4
Affects Status Importance Assigned to Milestone
zoneminder (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

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

Hi,

This package fails to build from source in jaunty:

i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include
-I/usr/include -Wall -Wno-sign-compare -DZM_FFMPEG_CVS
-DHAVE_LIBCRYPTO -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp
In file included from zm_stream.h:27,
                 from zm_event.h:36,
                 from zm_zone.h:27,
                 from zm_monitor.h:27,
                 from zmc.cpp:27:
zm_mpeg.h:29:29: error: ffmpeg/avformat.h: No such file or directory
In file included from zm_stream.h:27,
                 from zm_event.h:36,
                 from zm_zone.h:27,
                 from zm_monitor.h:27,
                 from zmc.cpp:27:
zm_mpeg.h:63: error: use of enum 'PixelFormat' without previous
declaration
zm_mpeg.h:64: error: ISO C++ forbids declaration of 'AVOutputFormat'
with no type
zm_mpeg.h:64: error: expected ';' before '*' token
zm_mpeg.h:65: error: ISO C++ forbids declaration of 'AVFormatContext'
with no type
zm_mpeg.h:65: error: expected ';' before '*' token
zm_mpeg.h:66: error: ISO C++ forbids declaration of 'AVStream' with no
type
zm_mpeg.h:66: error: expected ';' before '*' token
zm_mpeg.h:67: error: ISO C++ forbids declaration of 'AVFrame' with no
type
zm_mpeg.h:67: error: expected ';' before '*' token
zm_mpeg.h:68: error: ISO C++ forbids declaration of 'AVFrame' with no
type
zm_mpeg.h:68: error: expected ';' before '*' token
zm_mpeg.h:69: error: ISO C++ forbids declaration of 'uint8_t' with no
type
zm_mpeg.h:69: error: expected ';' before '*' token
zm_mpeg.h:85: error: 'uint8_t' has not been declared
In file included from zm_zone.h:27,
                 from zm_monitor.h:27,
                 from zmc.cpp:27:
zm_event.h:188: warning: 'typedef' was ignored in this declaration
zm_event.h:200: warning: 'typedef' was ignored in this declaration
In file included from zmc.cpp:27:
zm_monitor.h:114: warning: 'typedef' was ignored in this declaration
make[3]: *** [zmc.o] Error 1
make[3]: Leaving directory `/tmp/buildd/zoneminder-1.23.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/zoneminder-1.23.3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/zoneminder-1.23.3'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package

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

Related branches

Revision history for this message
Alessio Treglia (quadrispro) wrote :
Revision history for this message
Alessio Treglia (quadrispro) wrote :
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Uploaded, thanks for your work (I added a little explanation for the libswscale-dev b-d in the changelog).

Changed in zoneminder:
assignee: nobody → mrpouit
status: Confirmed → In Progress
assignee: mrpouit → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zoneminder - 1.23.3-3ubuntu1

---------------
zoneminder (1.23.3-3ubuntu1) jaunty; urgency=low

  * Added 08_ffmpeg_headers_location patch to fix ffmpeg headers location,
    fixes FTBFS (LP: #311413).
  * Build-Depends on libswscale-dev, so that it won't try to link against
    img_convert(), which has been removed from ffmpeg.

 -- Alessio Treglia <email address hidden> Thu, 08 Jan 2009 23:27:25 +0100

Changed in zoneminder:
status: Fix Committed → 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.