[MacPorts] #58087: openCV +avx2 +contrib +debug +eigen +gdal +opencl +openni +python27 +qt5 +tbb +vtk upgrade/install fails to build and causing problems with upgrade of objectmarker

MacPorts noreply at macports.org
Mon Feb 18 04:37:39 UTC 2019


#58087: openCV +avx2 +contrib +debug +eigen +gdal +opencl +openni +python27 +qt5
+tbb +vtk upgrade/install fails to build and causing problems with upgrade
of objectmarker
------------------------------+----------------------
  Reporter:  TheLastLovemark  |      Owner:  stromnov
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.5.4
Resolution:                   |   Keywords:
      Port:  opencv           |
------------------------------+----------------------
Changes (by ryandesign):

 * keywords:
     opencv, build fail, upgrade fail, install fail, objectmarker, broken
     files, broken port, variants, dependencies
     =>
 * cc: stromnov (removed)
 * status:  new => assigned
 * owner:  (none) => stromnov


Comment:

 Looks like the error in the log is:

 {{{
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/opencv-3.4.3/modules/dnn/misc/caffe
 /opencv-caffe.pb.cc:4:
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_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
 :info:build #error This file was generated by an older version of protoc
 which is
 :info:build  ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_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
 :info:build #error incompatible with your Protocol Buffer headers.  Please
 :info:build  ^
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_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.
 :info:build #error regenerate this file with a newer version of protoc.
 :info:build  ^
 :info:build
 }}}

 Or, more legibly:

 "This file was generated by an older version of protoc which is
 incompatible with your Protocol Buffer headers.  Please regenerate this
 file with a newer version of protoc."

 Which is already filed as #56349.

-- 
Ticket URL: <https://trac.macports.org/ticket/58087#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list