unable to build ffmpeg2theora 0.28 on Arch Linux with ffmpeg 0.11

Bug #1008222 reported by Jaroslav Lichtblau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ffmpeg2theora
New
Undecided
Unassigned

Bug Description

What steps will reproduce the problem?
1. try to build the package with ffmpeg 0.11

What do you see instead?
==> Starting build()...
scons: Reading SConscript files ...
Checking for pkg-config... (cached) yes
Checking for ogg >= 1.1... (cached) yes
Checking for vorbis... (cached) yes
Checking for vorbisenc... (cached) yes
Checking for theoraenc >= 1.1.0... (cached) yes
Checking for ogg >= 1.1 vorbis vorbisenc theoraenc >= 1.1.0... (cached) yes
Checking for libavdevice libavformat libavcodec >= 52.30.0 libpostproc libswscale libavutil... (cached) yes
Checking for C header file libavformat/framehook.h... no
Checking for oggkate... (cached) no

        Could not find libkate. Subtitles support will be disabled.
        You can also run ./get_libkate.sh (for more information see INSTALL)
        or update PKG_CONFIG_PATH to point to libkate's source folder

Checking for C header file iconv.h... yes
Checking for C library iconv... no
scons: done reading SConscript files.
scons: Building targets ...
gcc -o src/index.o -c -DPACKAGE_VERSION=\"0.28\" -DPACKAGE_STRING=\"ffmpeg2theora-0.28\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_ICONV -I. src/index.c
gcc -o src/subtitles.o -c -DPACKAGE_VERSION=\"0.28\" -DPACKAGE_STRING=\"ffmpeg2theora-0.28\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_ICONV -I. src/subtitles.c
gcc -o src/ffmpeg2theora.o -c -DPACKAGE_VERSION=\"0.28\" -DPACKAGE_STRING=\"ffmpeg2theora-0.28\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_ICONV -I. src/ffmpeg2theora.c
src/ffmpeg2theora.c: In function 'find_language_for_subtitle_stream':
src/ffmpeg2theora.c:507:3: error: unknown type name 'AVMetadataTag'
src/ffmpeg2theora.c:507:29: warning: initialization makes pointer from integer without a cast [enabled by default]
src/ffmpeg2theora.c:508:42: error: request for member 'value' in something not a structure or union
src/ffmpeg2theora.c:511:29: error: request for member 'value' in something not a structure or union
src/ffmpeg2theora.c: In function 'ff2theora_output':
src/ffmpeg2theora.c:597:9: warning: 'avcodec_open' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
src/ffmpeg2theora.c:957:9: warning: 'avcodec_open' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
src/ffmpeg2theora.c:960:40: error: 'SAMPLE_FMT_S16' undeclared (first use in this function)
src/ffmpeg2theora.c:960:40: note: each undeclared identifier is reported only once for each function it appears in
src/ffmpeg2theora.c:1427:33: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [enabled by default]
In file included from src/ffmpeg2theora.c:33:0:
/usr/include/libswscale/swscale.h:237:5: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **'
src/ffmpeg2theora.c:1474:37: warning: passing argument 2 of 'sws_scale' from incompatible pointer type [enabled by default]
In file included from src/ffmpeg2theora.c:33:0:
/usr/include/libswscale/swscale.h:237:5: note: expected 'const uint8_t * const*' but argument is of type 'uint8_t **'
src/ffmpeg2theora.c:1533:21: warning: 'av_get_bits_per_sample_fmt' is deprecated (declared at /usr/include/libavutil/samplefmt.h:124) [-Wdeprecated-declarations]
src/ffmpeg2theora.c:1536:25: warning: 'avcodec_decode_audio3' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3658) [-Wdeprecated-declarations]
src/ffmpeg2theora.c: In function 'copy_metadata':
src/ffmpeg2theora.c:1925:5: error: unknown type name 'AVMetadataTag'
src/ffmpeg2theora.c:1926:58: error: 'AV_METADATA_IGNORE_SUFFIX' undeclared (first use in this function)
src/ffmpeg2theora.c:1929:24: error: request for member 'key' in something not a structure or union
src/ffmpeg2theora.c:1930:36: error: request for member 'key' in something not a structure or union
src/ffmpeg2theora.c:1940:57: error: request for member 'value' in something not a structure or union
src/ffmpeg2theora.c:1941:61: error: request for member 'value' in something not a structure or union
src/ffmpeg2theora.c: In function 'main':
src/ffmpeg2theora.c:2183:5: error: unknown type name 'AVFormatParameters'
src/ffmpeg2theora.c:2817:25: error: request for member 'channel' in something not a structure or union
src/ffmpeg2theora.c:2818:25: error: request for member 'width' in something not a structure or union
src/ffmpeg2theora.c:2819:25: error: request for member 'height' in something not a structure or union
src/ffmpeg2theora.c:2820:25: error: request for member 'time_base' in something not a structure or union
src/ffmpeg2theora.c:2821:25: error: request for member 'time_base' in something not a structure or union
src/ffmpeg2theora.c:2823:29: error: request for member 'width' in something not a structure or union
src/ffmpeg2theora.c:2825:29: error: request for member 'height' in something not a structure or union
src/ffmpeg2theora.c:2828:25: error: request for member 'time_base' in something not a structure or union
src/ffmpeg2theora.c:2829:25: error: request for member 'time_base' in something not a structure or union
src/ffmpeg2theora.c:2831:25: error: request for member 'time_base' in something not a structure or union
src/ffmpeg2theora.c:2832:25: error: request for member 'time_base' in something not a structure or union
src/ffmpeg2theora.c:2836:9: warning: 'av_find_stream_info' is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
src/ffmpeg2theora.c:2963:9: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
scons: *** [src/ffmpeg2theora.o] Error 1
scons: building terminated because of errors.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed

What version of the product are you using? On what operating system?
ffmpeg2theora 0.28 on Arch Linux

Please provide any additional information below.
Files used for building the package are located here:
https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/ffmpeg2theora

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.