[MacPorts] #40026: libquicktime: build fails with ffmpeg-devel

MacPorts noreply at macports.org
Mon Aug 5 21:15:34 PDT 2013


#40026: libquicktime: build fails with ffmpeg-devel
----------------------+--------------------------
 Reporter:  devans@…  |      Owner:  mww@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.2.0
 Keywords:  ffmpeg    |       Port:  libquicktime
----------------------+--------------------------
 When building libquicktime using ffmpeg-devel (effectively ffmpeg-2.0) as
 a dependency, the build fails as follows:

 {{{
 libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I../..
 -I../../include -I../../include -I/opt/local/include -I/opt/local/include
 -I/opt/local/include -DLOCALE_DIR=\"/opt/local/share/locale\" -pipe -Os
 -arch x86_64 -arch i386 -finline-functions -Wall -Winline -Wmissing-
 declarations -Wdeclaration-after-statement -fvisibility=hidden -c params.c
 -fno-common -DPIC -o .libs/params.o
 params.c:205:38: error: no member named 'luma_elim_threshold' in 'struct
 AVCodecContext'
   PARAM_INT("ff_luma_elim_threshold",luma_elim_threshold);
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
 params.c:40:10: note: expanded from macro 'PARAM_INT'
     ctx->var = *(int*)value;                         \
          ^
 params.c:206:40: error: no member named 'chroma_elim_threshold' in 'struct
 AVCodecContext'; did you mean 'frame_skip_threshold'?
   PARAM_INT("ff_chroma_elim_threshold",chroma_elim_threshold);
                                        ^~~~~~~~~~~~~~~~~~~~~
                                        frame_skip_threshold
 params.c:40:10: note: expanded from macro 'PARAM_INT'
     ctx->var = *(int*)value;                         \
          ^
 /opt/local/include/libavcodec/avcodec.h:2297:9: note:
 'frame_skip_threshold' declared here
     int frame_skip_threshold;
         ^
 params.c:244:34: error: no member named 'inter_threshold' in 'struct
 AVCodecContext'; did you mean 'me_threshold'?
   PARAM_INT("ff_inter_threshold",inter_threshold);
                                  ^~~~~~~~~~~~~~~
                                  me_threshold
 params.c:40:10: note: expanded from macro 'PARAM_INT'
     ctx->var = *(int*)value;                         \
          ^
 /opt/local/include/libavcodec/avcodec.h:1713:9: note: 'me_threshold'
 declared here
     int me_threshold;
         ^
 etc ...
 }}}

 Errors are related to deprecated API elements that are allowed in
 ffmpeg-1.2.2 but not in ffmpeg-2.0.

 Build log attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/40026>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list