[Bug 311007] [NEW] FTBFS with new ffmpeg in jaunty

Lionel Le Folgoc mrpouit at gmail.com
Tue Dec 23 20:45:30 UTC 2008


Public bug reported:

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

Hi,

This package fails to build from source in jaunty:

ffmpeg.c:21:28: warning: ffmpeg/avcodec.h: No such file or directory
ffmpeg.c:22:29: warning: ffmpeg/avformat.h: No such file or directory
ffmpeg.c:23:25: warning: ffmpeg/avio.h: No such file or directory
ffmpeg.c:33: error: expected specifier-qualifier-list before 'AVPacket'
ffmpeg.c:45: error: expected specifier-qualifier-list before
'AVCodecContext'
ffmpeg.c: In function 'ffmpeg_input_create':
ffmpeg.c:57: warning: implicit declaration of function 'av_new_packet'
ffmpeg.c:57: error: 'struct ffmpeg_input' has no member named 'pkt'
ffmpeg.c:61: error: 'struct ffmpeg_input' has no member named
'curr_pkt_size'
ffmpeg.c:62: error: 'struct ffmpeg_input' has no member named
'curr_pkt_buf'
ffmpeg.c:62: error: 'struct ffmpeg_input' has no member named 'pkt'
ffmpeg.c: In function 'ffmpeg_input_free':
ffmpeg.c:68: warning: implicit declaration of function 'av_free_packet'
ffmpeg.c:68: error: 'struct ffmpeg_input' has no member named 'pkt'
ffmpeg.c: In function 'ffmpeg_output_create':
ffmpeg.c:75: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use
in this function)
ffmpeg.c:75: error: (Each undeclared identifier is reported only once
ffmpeg.c:75: error: for each function it appears in.)
ffmpeg.c: In function 'ffmpeg_init':
ffmpeg.c:102: warning: implicit declaration of function
'av_log_set_level'
ffmpeg.c:102: error: 'AV_LOG_QUIET' undeclared (first use in this
function)
ffmpeg.c:104:6: warning: "LIBAVFORMAT_VERSION_INT" is not defined
ffmpeg.c:105: warning: implicit declaration of function 'avcodec_init'
ffmpeg.c:106: warning: implicit declaration of function
'register_avcodec'
ffmpeg.c:106: error: 'wmav1_decoder' undeclared (first use in this
function)
ffmpeg.c:107: error: 'wmav2_decoder' undeclared (first use in this
function)
ffmpeg.c:115: warning: implicit declaration of function 'asf_init'
ffmpeg.c:122: warning: implicit declaration of function
'register_protocol'
ffmpeg.c:122: error: 'file_protocol' undeclared (first use in this
function)
ffmpeg.c: In function 'ffmpeg_open':
ffmpeg.c:136: error: 'AVCodec' undeclared (first use in this function)
ffmpeg.c:136: error: 'codec' undeclared (first use in this function)
ffmpeg.c:137: error: 'AVCodecContext' undeclared (first use in this
function)
ffmpeg.c:137: error: 'cc' undeclared (first use in this function)
ffmpeg.c:138: error: 'AVFormatContext' undeclared (first use in this
function)
ffmpeg.c:138: error: 'ic' undeclared (first use in this function)
ffmpeg.c:143: warning: implicit declaration of function
'av_open_input_file'
ffmpeg.c:150: warning: implicit declaration of function
'av_find_stream_info'
ffmpeg.c:159: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this
function)
ffmpeg.c:171: warning: implicit declaration of function
'avcodec_find_decoder'
ffmpeg.c:178: error: 'CODEC_CAP_TRUNCATED' undeclared (first use in this
function)
ffmpeg.c:179: error: 'CODEC_FLAG_TRUNCATED' undeclared (first use in
this function)
ffmpeg.c:181: warning: implicit declaration of function 'avcodec_open'
ffmpeg.c:191: warning: implicit declaration of function
'av_close_input_file'
ffmpeg.c:196: error: 'struct ffmpeg_private' has no member named
'codec_context'
ffmpeg.c:197: error: 'struct ffmpeg_private' has no member named
'input_context'
ffmpeg.c:198: error: 'struct ffmpeg_private' has no member named
'stream_index'
ffmpeg.c:199: error: 'struct ffmpeg_private' has no member named 'input'
ffmpeg.c:200: error: 'struct ffmpeg_private' has no member named 'input'
ffmpeg.c:201: warning: implicit declaration of function 'avcodec_close'
ffmpeg.c:206: error: 'struct ffmpeg_private' has no member named
'output'
ffmpeg.c: In function 'ffmpeg_close':
ffmpeg.c:217: error: 'struct ffmpeg_private' has no member named
'codec_context'
ffmpeg.c:218: error: 'struct ffmpeg_private' has no member named
'input_context'
ffmpeg.c:219: error: 'struct ffmpeg_private' has no member named 'input'
ffmpeg.c:220: error: 'struct ffmpeg_private' has no member named
'output'
ffmpeg.c: At top level:
ffmpeg.c:230: error: expected ')' before '*' token
ffmpeg.c:252:6: warning: "LIBAVCODEC_VERSION_INT" is not defined
ffmpeg.c: In function 'ffmpeg_read':
ffmpeg.c:274: error: 'struct ffmpeg_private' has no member named
'output'
ffmpeg.c:279: warning: implicit declaration of function
'ffmpeg_fill_buffer'
ffmpeg.c:279: error: 'struct ffmpeg_private' has no member named
'input_context'
ffmpeg.c:279: error: 'struct ffmpeg_private' has no member named
'codec_context'
ffmpeg.c:279: error: 'struct ffmpeg_private' has no member named 'input'
ffmpeg.c:279: error: 'struct ffmpeg_private' has no member named
'output'
ffmpeg.c: In function 'ffmpeg_seek':
ffmpeg.c:294: error: 'AVStream' undeclared (first use in this function)
ffmpeg.c:294: error: 'st' undeclared (first use in this function)
ffmpeg.c:294: error: 'struct ffmpeg_private' has no member named
'input_context'
ffmpeg.c:294: error: 'struct ffmpeg_private' has no member named
'stream_index'
ffmpeg.c:295: warning: ISO C90 forbids mixed declarations and code
ffmpeg.c:303:6: warning: "LIBAVFORMAT_VERSION_INT" is not defined
ffmpeg.c:310: warning: implicit declaration of function 'av_seek_frame'
ffmpeg.c:310: error: 'struct ffmpeg_private' has no member named
'input_context'
ffmpeg.c:310: error: 'struct ffmpeg_private' has no member named
'stream_index'
ffmpeg.c:315: error: 'struct ffmpeg_private' has no member named
'output'
ffmpeg.c: In function 'ffmpeg_read_comments':
ffmpeg.c:335: error: 'AVFormatContext' undeclared (first use in this
function)
ffmpeg.c:335: error: 'ic' undeclared (first use in this function)
ffmpeg.c:335: error: 'struct ffmpeg_private' has no member named
'input_context'
ffmpeg.c:336: warning: ISO C90 forbids mixed declarations and code
ffmpeg.c: In function 'ffmpeg_duration':
ffmpeg.c:361: error: 'struct ffmpeg_private' has no member named
'input_context'
ffmpeg.c:362: warning: control reaches end of non-void function
make[1]: *** [ffmpeg.lo] Error 1
make[1]: Leaving directory `/tmp/buildd/cmus-2.2.0'
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

** Affects: cmus (Ubuntu)
     Importance: Medium
         Status: Confirmed


** Tags: ffmpegheaders ftbfs

-- 
FTBFS with new ffmpeg in jaunty
https://bugs.launchpad.net/bugs/311007
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list