[MacPorts] #56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure on 10.10.5

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure on 10.10.5

MacPorts
#56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure on 10.10.5
--------------------+------------------------
 Reporter:  ci42    |      Owner:  stromnov@…
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  opencv
--------------------+------------------------
 see the attached log file

--
Ticket URL: <https://trac.macports.org/ticket/56349>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure on 10.10.5

MacPorts
#56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure on 10.10.5
---------------------+------------------------
  Reporter:  ci42    |      Owner:  stromnov@…
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  opencv  |
---------------------+------------------------
Changes (by ci42):

 * Attachment "main.log.zip" added.


--
Ticket URL: <https://trac.macports.org/ticket/56349>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure on 10.10.5

MacPorts
In reply to this post by MacPorts
#56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure on 10.10.5
---------------------+------------------------
  Reporter:  ci42    |      Owner:  stromnov@…
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  opencv  |
---------------------+------------------------

Comment (by mainka):

 It seems that contrib variant is shipped with protobuf headers  generated
 with an incompatible version of protoc (3.5.0). The versions available in
 macports are either 3.4.0 or 3.5.1.
 {{{
 :info:build In file included from /opt/local/var/macports/build
 /_Users_ci_devel_repos_macports_macports-
 ports_graphics_opencv/opencv/work/opencv-3.4.1/modules/dnn/misc/tensorflow/attr_value.pb.cc:4:
 :info:build /opt/local/var/macports/build
 /_Users_ci_devel_repos_macports_macports-
 ports_graphics_opencv/opencv/work/opencv-3.4.1/modules/dnn/misc/tensorflow/attr_value.pb.h:12:2:
 error: This file was generated by a newer version of protoc which is
 :info:build #error This file was generated by a newer version of protoc
 which is
 :info:build  ^
 :info:build /opt/local/var/macports/build
 /_Users_ci_devel_repos_macports_macports-
 ports_graphics_opencv/opencv/work/opencv-3.4.1/modules/dnn/misc/tensorflow/attr_value.pb.h:13:2:
 error: incompatible with your Protocol Buffer headers.  Please update
 :info:build #error incompatible with your Protocol Buffer headers.  Please
 update
 :info:build  ^
 :info:build /opt/local/var/macports/build
 /_Users_ci_devel_repos_macports_macports-
 ports_graphics_opencv/opencv/work/opencv-3.4.1/modules/dnn/misc/tensorflow/attr_value.pb.h:14:2:
 error: your headers.
 :info:build #error your headers.
 }}}

 And {{{modules/dnn/misc/tensorflow/attr_value.pb.h}}} reads:

 {{{
 #if GOOGLE_PROTOBUF_VERSION < 3005000
 #error This file was generated by a newer version of protoc which is
 #error incompatible with your Protocol Buffer headers.  Please update
 #error your headers.
 #endif
 #if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
 #error This file was generated by an older version of protoc which is
 #error incompatible with your Protocol Buffer headers.  Please
 #error regenerate this file with a newer version of protoc.
 #endif
 }}}

 And
 {{{
 $ cd macports-ports/devel/protobuf3-cpp
 $ git log --pretty=oneline .
 869f8ffb42c461ecb0b1a74e28fd4eff623321a9 protobuf3-cpp: support
 OS/compiler combinations without thread local storage.
 a9a89956680347178bba50e3d3ce87052e832878 protobuf3-cpp: new upstream 3.5.1
 release.
 e970e0caf478c295967dca138ddd291e607673c0 protobuf3-cpp: Update to version
 3.4.0
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/56349#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure due to protobuf header version mismatch (was: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure on 10.10.5)

MacPorts
In reply to this post by MacPorts
#56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure due to protobuf
header version mismatch
---------------------+------------------------
  Reporter:  ci42    |      Owner:  stromnov@…
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  opencv  |
---------------------+------------------------

--
Ticket URL: <https://trac.macports.org/ticket/56349#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure due to protobuf header version mismatch

MacPorts
In reply to this post by MacPorts
#56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure due to protobuf
header version mismatch
---------------------+----------------------
  Reporter:  ci42    |      Owner:  stromnov
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  opencv  |
---------------------+----------------------
Changes (by jmroot):

 * owner:  stromnov@… => stromnov


--
Ticket URL: <https://trac.macports.org/ticket/56349#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure due to protobuf header version mismatch

MacPorts
In reply to this post by MacPorts
#56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure due to protobuf
header version mismatch
---------------------+----------------------
  Reporter:  ci42    |      Owner:  stromnov
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  opencv  |
---------------------+----------------------
Changes (by ryandesign):

 * cc: jtressle, fmw42, TheLastLovemark (added)


Comment:

 Has duplicates #56935, #57107, #57108, #58087.

 Andrew, this has been a problem for almost a year. You also have dozens of
 other open tickets about opencv.

--
Ticket URL: <https://trac.macports.org/ticket/56349#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure due to protobuf header version mismatch

MacPorts
In reply to this post by MacPorts
#56349: opencv @ 3.4.1_0+contrib+opencl+python35+tbb: build failure due to protobuf
header version mismatch
---------------------+----------------------
  Reporter:  ci42    |      Owner:  stromnov
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  opencv  |
---------------------+----------------------

Comment (by kencu):

 57107 has what looks to be an easy workaround

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