[MacPorts] #40024: bob: build fails using ffmpeg-devel
#40024: bob: build fails using ffmpeg-devel ----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: bob ----------------------+--------------------------- When building bob 1.2.0 with ffmpeg-devel (effectively ffmpeg 2.0) as the active dependency, the build fails with the following error: {{{ [ 23%] Building CXX object src/core/python/CMakeFiles/bob_core_py27.dir/typeinfo.cc.o /opt/local/var/macports/build/_opt_macports_trunk_dports_science_bob/bob/work/bob-1.2.0/src/io/cxx/VideoUtilities.cc:49:9: error: unknown type name 'CodecID'; did you mean 'AVCodecID'? typedef CodecID AVCodecID; ^~~~~~~ AVCodecID /opt/local/include/libavcodec/avcodec.h:100:6: note: 'AVCodecID' declared here enum AVCodecID { ^ 1 error generated. make[2]: *** [src/io/cxx/CMakeFiles/bob_io.dir/VideoUtilities.cc.o] Error 1 }}} A number of deprecated API usages that are allowed in ffmpeg 1.2.2 are removed in ffmpeg 2.0. -- Ticket URL: <https://trac.macports.org/ticket/40024> MacPorts <http://www.macports.org/> Ports system for OS X
#40024: bob: build fails using ffmpeg-devel -----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: bob | -----------------------+--------------------------- Comment (by andre.dos.anjos@…): Thanks for the report, Dave. Please, use the following patches for the Portfile and to bob to build an ffmpeg-2.0 compliant version. As usual, the patch has already been applied and tested upstream. André -- Ticket URL: <https://trac.macports.org/ticket/40024#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40024: bob: build fails using ffmpeg-devel -----------------------+--------------------------- Reporter: devans@… | Owner: andre.anjos@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: bob | -----------------------+--------------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: Committed in r109056. Thanks, André. -- Ticket URL: <https://trac.macports.org/ticket/40024#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts