Skip to content

Instantly share code, notes, and snippets.

@lorinrivers
Created February 29, 2012 19:25
Show Gist options
  • Save lorinrivers/1943773 to your computer and use it in GitHub Desktop.
Save lorinrivers/1943773 to your computer and use it in GitHub Desktop.
ffmpeg2theora fails to install
==> Downloading http://v2v.cc/~j/ffmpeg2theora/downloads/ffmpeg2theora-0.28.tar.bz2
File already downloaded in /Users/lrivers/Library/Caches/Homebrew
/usr/bin/tar xf /Users/lrivers/Library/Caches/Homebrew/ffmpeg2theora-0.28.tar.bz2
==> scons install prefix=/usr/local/Cellar/ffmpeg2theora/0.28 mandir=PREFIX/share/man libkate=1
scons install prefix=/usr/local/Cellar/ffmpeg2theora/0.28 mandir=PREFIX/share/man libkate=1
[?1034hscons: 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) yes
Checking for C header file iconv.h... yes
Checking for C library iconv... yes
scons: done reading SConscript files.
scons: Building targets ...
gcc -o src/avinfo.o -c -DPACKAGE_VERSION=\"0.28\" -DPACKAGE_STRING=\"ffmpeg2theora-0.28\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_KATE -DHAVE_OGGKATE -DHAVE_ICONV -I. -I/usr/local/Cellar/libogg/1.3.0/include -I/usr/local/Cellar/libvorbis/1.3.2/include -I/usr/local/Cellar/theora/1.1.1/include -I/usr/local/Cellar/ffmpeg/0.10/include -I/usr/local/Cellar/libkate/0.4.1/include src/avinfo.c
src/avinfo.c: In function 'json_codec_info':
src/avinfo.c:203: warning: 'avcodec_get_pix_fmt_name' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavcodec/avcodec.h:3775)
src/avinfo.c: In function 'utf8_validate':
src/avinfo.c:361: warning: comparison is always true due to limited range of data type
src/avinfo.c: In function 'json_metadata':
src/avinfo.c:392: warning: 'AVMetadataTag' is deprecated
src/avinfo.c:393: warning: 'av_metadata_get' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:251)
gcc -o src/ffmpeg2theora.o -c -DPACKAGE_VERSION=\"0.28\" -DPACKAGE_STRING=\"ffmpeg2theora-0.28\" -DPACKAGE=\"ffmpeg2theora\" -D_FILE_OFFSET_BITS=64 -DHAVE_KATE -DHAVE_OGGKATE -DHAVE_ICONV -I. -I/usr/local/Cellar/libogg/1.3.0/include -I/usr/local/Cellar/libvorbis/1.3.2/include -I/usr/local/Cellar/theora/1.1.1/include -I/usr/local/Cellar/ffmpeg/0.10/include -I/usr/local/Cellar/libkate/0.4.1/include src/ffmpeg2theora.c
src/ffmpeg2theora.c: In function 'find_language_for_subtitle_stream':
src/ffmpeg2theora.c:507: warning: 'AVMetadataTag' is deprecated
src/ffmpeg2theora.c:507: warning: 'av_metadata_get' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:251)
src/ffmpeg2theora.c: In function 'ff2theora_output':
src/ffmpeg2theora.c:525: error: 'pp_mode_t' undeclared (first use in this function)
src/ffmpeg2theora.c:525: error: (Each undeclared identifier is reported only once
src/ffmpeg2theora.c:525: error: for each function it appears in.)
src/ffmpeg2theora.c:525: error: 'ppMode' undeclared (first use in this function)
src/ffmpeg2theora.c:526: error: 'pp_context_t' undeclared (first use in this function)
src/ffmpeg2theora.c:526: error: 'ppContext' undeclared (first use in this function)
src/ffmpeg2theora.c:597: warning: 'avcodec_open' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavcodec/avcodec.h:4154)
src/ffmpeg2theora.c:957: warning: 'avcodec_open' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavcodec/avcodec.h:4154)
src/ffmpeg2theora.c:994: warning: 'avcodec_open' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavcodec/avcodec.h:4154)
src/ffmpeg2theora.c:1427: warning: passing argument 2 of 'sws_scale' from incompatible pointer type
src/ffmpeg2theora.c:1474: warning: passing argument 2 of 'sws_scale' from incompatible pointer type
src/ffmpeg2theora.c:1533: warning: 'av_get_bits_per_sample_fmt' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavutil/samplefmt.h:83)
src/ffmpeg2theora.c:1536: warning: 'avcodec_decode_audio3' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavcodec/avcodec.h:4247)
src/ffmpeg2theora.c: In function 'copy_metadata':
src/ffmpeg2theora.c:1925: warning: 'AVMetadataTag' is deprecated
src/ffmpeg2theora.c:1926: warning: 'av_metadata_get' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:251)
src/ffmpeg2theora.c: In function 'main':
src/ffmpeg2theora.c:2817: warning: 'channel' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:356)
src/ffmpeg2theora.c:2818: warning: 'width' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:353)
src/ffmpeg2theora.c:2819: warning: 'height' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:354)
src/ffmpeg2theora.c:2820: warning: 'time_base' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:350)
src/ffmpeg2theora.c:2821: warning: 'time_base' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:350)
src/ffmpeg2theora.c:2823: warning: 'width' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:353)
src/ffmpeg2theora.c:2825: warning: 'height' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:354)
src/ffmpeg2theora.c:2828: warning: 'time_base' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:350)
src/ffmpeg2theora.c:2829: warning: 'time_base' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:350)
src/ffmpeg2theora.c:2831: warning: 'time_base' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:350)
src/ffmpeg2theora.c:2832: warning: 'time_base' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:350)
src/ffmpeg2theora.c:2835: warning: 'av_open_input_file' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:1483)
src/ffmpeg2theora.c:2836: warning: 'av_find_stream_info' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:1526)
src/ffmpeg2theora.c:2866: warning: format not a string literal and no format arguments
src/ffmpeg2theora.c:2963: warning: 'av_close_input_file' is deprecated (declared at /usr/local/Cellar/ffmpeg/0.10/include/libavformat/avformat.h:1706)
scons: *** [src/ffmpeg2theora.o] Error 1
scons: building terminated because of errors.
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/ffmpeg2theora.rb#L21
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: f7f96a830e7fb5b6346a56ca3792c7d129c21a41
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: quad-core 64-bit arrandale
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
Clang: 2.1 build 163
MacPorts or Fink? false
X11: /usr/X11
System Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Which Perl: /usr/bin/perl
Which Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.2/bin/python
Which Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/1.9.3-p125/bin/ruby
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4
CXXFLAGS: -Os -w -pipe -march=core2 -msse4
MAKEFLAGS: -j4
Error: Failed executing: scons install prefix=/usr/local/Cellar/ffmpeg2theora/0.28 mandir=PREFIX/share/man libkate=1
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment