[MacPorts] #57583: opencv @3.4.3_1 : +contrib variant failed

MacPorts noreply at macports.org
Mon Nov 12 13:59:06 UTC 2018


#57583: opencv @3.4.3_1 : +contrib variant failed
----------------------+--------------------
 Reporter:  ierofant  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  opencv
----------------------+--------------------
 I tied to install it with protobuf-cpp and protobuf3-cpp (sudo port
 install opencv +contrib).

 1. protobuf3-cpp:
 {{{
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.3/modules/dnn/misc/caffe
 /opencv-caffe.pb.cc:4:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.3/modules/dnn/misc/caffe
 /opencv-caffe.pb.h:17:2: error: This file was generated by an older
 version of protoc which is
 #error This file was generated by an older version of protoc which is
  ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.3/modules/dnn/misc/caffe
 /opencv-caffe.pb.h:18:2: error: incompatible with your Protocol Buffer
 headers.  Please
 #error incompatible with your Protocol Buffer headers.  Please
  ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.3/modules/dnn/misc/caffe
 /opencv-caffe.pb.h:19:2: error: regenerate this file with a newer version
 of protoc.
 #error regenerate this file with a newer version of protoc.
  ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.3/modules/dnn/misc/caffe
 /opencv-caffe.pb.h:1097:10: error: unknown type name 'PROTOBUF_CONSTEXPR'
   static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
 }}}

 2. protobuf-cpp:
 {{{
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.3/modules/dnn/misc/caffe
 /opencv-caffe.pb.cc:4:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.3/modules/dnn/misc/caffe
 /opencv-caffe.pb.h:12:2: error: This file was generated by a newer version
 of protoc which is
 #error This file was generated by a newer version of protoc which is
  ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.3/modules/dnn/misc/caffe
 /opencv-caffe.pb.h:13:2: error: incompatible with your Protocol Buffer
 headers.  Please update
 #error incompatible with your Protocol Buffer headers.  Please update
  ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.3/modules/dnn/misc/caffe
 /opencv-caffe.pb.h:14:2: error: your headers.
 #error your headers.
  ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.3/modules/dnn/misc/caffe
 /opencv-caffe.pb.h:23:10: fatal error: 'google/protobuf/arena.h' file not
 found
 #include <google/protobuf/arena.h>
 }}}

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


More information about the macports-tickets mailing list