FTBFS with new ffmpeg in jaunty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmus (Ubuntu) |
Fix Released
|
Medium
|
Lionel Le Folgoc |
Bug Description
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-
ffmpeg.c:45: error: expected specifier-
'AVCodecContext'
ffmpeg.c: In function 'ffmpeg_
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_
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_
ffmpeg.c:75: error: 'AVCODEC_
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_
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_
ffmpeg.c:150: warning: implicit declaration of function
'av_find_
ffmpeg.c:159: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this
function)
ffmpeg.c:171: warning: implicit declaration of function
'avcodec_
ffmpeg.c:178: error: 'CODEC_
function)
ffmpeg.c:179: error: 'CODEC_
this function)
ffmpeg.c:181: warning: implicit declaration of function 'avcodec_open'
ffmpeg.c:191: warning: implicit declaration of function
'av_close_
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_
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_
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_
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_
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/
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:/
EEBA 555E 0CDE 92BB 3AF4 4AB3 45A0 357B 5179 5910
Changed in cmus: | |
assignee: | nobody → mrpouit |
status: | Confirmed → In Progress |
This bug was fixed in the package cmus - 2.2.0-1ubuntu1
---------------
cmus (2.2.0-1ubuntu1) jaunty; urgency=low
* ffmpeg.c: use correct headers location to fix FTBFS with recent ffmpeg
snapshots (LP: #311007).
-- Lionel Le Folgoc <email address hidden> Fri, 26 Dec 2008 13:08:26 +0100