[MacPorts] #55523: ffmpeg-devel @20171210 forbids re-building of opencv @3.2.0_1 on Mac OS X 10.6.8, Snow Leoprad

MacPorts noreply at macports.org
Fri Dec 15 20:44:47 UTC 2017


#55523: ffmpeg-devel @20171210 forbids re-building of opencv @3.2.0_1 on Mac OS X
10.6.8, Snow Leoprad
-------------------------+-------------------
 Reporter:  ballapete    |      Owner:
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.4.2
 Keywords:  snowleopard  |       Port:
-------------------------+-------------------
 `opencv @3.2.0_1` was installed when `ffmpeg-devel` was upgraded to
 version `@20171210`. It changed
 `/opt/local/lib/libavcodec.57.108.101.dylib` to
 `/opt/local/lib/libavcodec.58.6.103.dylib`, so some packages need to be
 rebuilt:

 {{{
 The following ports will be rebuilt:
  opencv @3.2.0+avx2+eigen+tbb
  libquicktime-devel @1.2.4
  transcode
 @1.1.7+a52dec+experimental+faac+freetype+full+imagemagick+libdv+libogg+libpostproc+libquicktime+libsdl+libtheora+libvorbis+libxml2+lzo+mjpegtools+x11+x264+xvid
 }}}

 The rebuild of opencv @3.2.0_1` fails with:

 {{{
 [ 61%] Built target opencv_shape
 In file included from
 /opt/local/var/macports/build/_Users_pete_Quellen_MacPorts_graphics_opencv/opencv/work/opencv-3.2.0/modules/videoio/src/cap_ffmpeg.cpp:47:
 /opt/local/var/macports/build/_Users_pete_Quellen_MacPorts_graphics_opencv/opencv/work/opencv-3.2.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1541:21:
 error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
         c->flags |= CODEC_FLAG_GLOBAL_HEADER;
                     ^
 /opt/local/var/macports/build/_Users_pete_Quellen_MacPorts_graphics_opencv/opencv/work/opencv-3.2.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1569:30:
 error: use of undeclared identifier 'AVFMT_RAWPICTURE'
     if (oc->oformat->flags & AVFMT_RAWPICTURE) {
                              ^
 /opt/local/var/macports/build/_Users_pete_Quellen_MacPorts_graphics_opencv/opencv/work/opencv-3.2.0/modules/videoio/src/cap_ffmpeg_impl.hpp:1743:35:
 error: use of undeclared identifier 'AVFMT_RAWPICTURE'
         if( (oc->oformat->flags & AVFMT_RAWPICTURE) == 0 )
                                   ^
 /opt/local/var/macports/build/_Users_pete_Quellen_MacPorts_graphics_opencv/opencv/work/opencv-3.2.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2039:32:
 error: use of undeclared identifier 'AVFMT_RAWPICTURE'
     if (!(oc->oformat->flags & AVFMT_RAWPICTURE)) {
                                ^
 /opt/local/var/macports/build/_Users_pete_Quellen_MacPorts_graphics_opencv/opencv/work/opencv-3.2.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2338:25:
 error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
             c->flags |= CODEC_FLAG_GLOBAL_HEADER;
                         ^
 5 errors generated.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/55523>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list