FTBFS with new ffmpeg in jaunty

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

Bug Description

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

Hi,

This package fails to build from source in jaunty:

In file included from dec_lavc.c:29:
dec_lavc.h:26:28: error: ffmpeg/avcodec.h: No such file or directory
dec_lavc.h:27:29: error: ffmpeg/avformat.h: No such file or directory
In file included from dec_lavc.c:29:
dec_lavc.h:38: error: expected specifier-qualifier-list before
'AVFormatContext'
dec_lavc.c: In function 'decode_lavc':
dec_lavc.c:46: error: 'AVPacket' undeclared (first use in this function)
dec_lavc.c:46: error: (Each undeclared identifier is reported only once
dec_lavc.c:46: error: for each function it appears in.)
dec_lavc.c:46: error: expected ';' before 'packet'
dec_lavc.c:47: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first
use in this function)
dec_lavc.c:51: warning: implicit declaration of function 'av_read_frame'
dec_lavc.c:51: error: 'lavc_pdata_t' has no member named 'avFormatCtx'
dec_lavc.c:51: error: 'packet' undeclared (first use in this function)
dec_lavc.c:54: error: 'lavc_pdata_t' has no member named 'audioStream'
dec_lavc.c:56: warning: implicit declaration of function
'avcodec_decode_audio2'
dec_lavc.c:56: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:65: warning: implicit declaration of function
'av_free_packet'
dec_lavc.c:48: warning: unused variable 'fsamples'
dec_lavc.c:47: warning: unused variable 'samples'
dec_lavc.c: In function 'lavc_decoder_open':
dec_lavc.c:113: warning: implicit declaration of function
'av_open_input_file'
dec_lavc.c:113: error: 'lavc_pdata_t' has no member named 'avFormatCtx'
dec_lavc.c:116: warning: implicit declaration of function
'av_find_stream_info'
dec_lavc.c:116: error: 'lavc_pdata_t' has no member named 'avFormatCtx'
dec_lavc.c:124: error: 'lavc_pdata_t' has no member named 'audioStream'
dec_lavc.c:125: error: 'lavc_pdata_t' has no member named 'avFormatCtx'
dec_lavc.c:126: error: 'lavc_pdata_t' has no member named 'avFormatCtx'
dec_lavc.c:126: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this
function)
dec_lavc.c:127: error: 'lavc_pdata_t' has no member named 'audioStream'
dec_lavc.c:131: error: 'lavc_pdata_t' has no member named 'audioStream'
dec_lavc.c:134: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:134: error: 'lavc_pdata_t' has no member named 'avFormatCtx'
dec_lavc.c:134: error: 'lavc_pdata_t' has no member named 'audioStream'
dec_lavc.c:136: error: 'lavc_pdata_t' has no member named 'time_base'
dec_lavc.c:136: error: 'lavc_pdata_t' has no member named 'avFormatCtx'
dec_lavc.c:136: error: 'lavc_pdata_t' has no member named 'audioStream'
dec_lavc.c:138: error: 'lavc_pdata_t' has no member named 'avCodec'
dec_lavc.c:138: warning: implicit declaration of function
'avcodec_find_decoder'
dec_lavc.c:138: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:139: error: 'lavc_pdata_t' has no member named 'avCodec'
dec_lavc.c:142: warning: implicit declaration of function 'avcodec_open'
dec_lavc.c:142: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:142: error: 'lavc_pdata_t' has no member named 'avCodec'
dec_lavc.c:145: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:145: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:148: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:152: error: 'lavc_pdata_t' has no member named 'is_eos'
dec_lavc.c:153: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:153: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first
use in this function)
dec_lavc.c:155: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:156: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:157: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:158: error: 'lavc_pdata_t' has no member named 'avFormatCtx'
dec_lavc.c:159: error: 'lavc_pdata_t' has no member named 'avFormatCtx'
dec_lavc.c:160: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:166: error: 'lavc_pdata_t' has no member named 'avFormatCtx'
dec_lavc.c:166: error: 'lavc_pdata_t' has no member named 'avCodec'
dec_lavc.c: In function 'lavc_decoder_close':
dec_lavc.c:180: warning: implicit declaration of function
'avcodec_close'
dec_lavc.c:180: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:181: warning: implicit declaration of function
'av_close_input_file'
dec_lavc.c:181: error: 'lavc_pdata_t' has no member named 'avFormatCtx'
dec_lavc.c: In function 'lavc_decoder_read':
dec_lavc.c:195: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:195: error: 'lavc_pdata_t' has no member named 'is_eos'
dec_lavc.c:197: error: 'lavc_pdata_t' has no member named 'is_eos'
dec_lavc.c:200: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c:205: error: 'lavc_pdata_t' has no member named 'avCodecCtx'
dec_lavc.c: In function 'lavc_decoder_seek':
dec_lavc.c:220: error: 'lavc_pdata_t' has no member named 'time_base'
dec_lavc.c:220: error: 'lavc_pdata_t' has no member named 'time_base'
dec_lavc.c:221: error: 'AVSEEK_FLAG_BACKWARD' undeclared (first use in
this function)
dec_lavc.c:223: warning: implicit declaration of function
'av_seek_frame'
dec_lavc.c:223: error: 'lavc_pdata_t' has no member named 'avFormatCtx'
dec_lavc.c:223: error: 'lavc_pdata_t' has no member named 'audioStream'
make[4]: *** [dec_lavc.o] Error 1
make[4]: Leaving directory
`/tmp/buildd/aqualung-0.9~beta9.1/src/decoder'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/aqualung-0.9~beta9.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/aqualung-0.9~beta9.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/aqualung-0.9~beta9.1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package

FYI, this should be fixed upstream (r1037).

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

Related branches

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

This bug was fixed in the package aqualung - 0.9~beta9.1-1ubuntu1

---------------
aqualung (0.9~beta9.1-1ubuntu1) jaunty; urgency=low

  * debian/patches:
    - 001-Fix_ffmpeg_headers.dpatch: correct ffmpeg headers
      location to fix FTBFS with recent ffmpeg snapshots (LP: #311002)
    - 00list: enable this patch.

 -- Lionel Le Folgoc <email address hidden> Sun, 28 Dec 2008 12:45:22 +0100

Changed in aqualung:
status: In Progress → 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.