[MacPorts] #57107: protobuf3-cpp version 3.6.1 conflicts with opencv @3.4.1_2+contrib+python27

MacPorts noreply at macports.org
Wed Feb 6 16:30:04 UTC 2019


#57107: protobuf3-cpp version 3.6.1 conflicts with opencv @3.4.1_2+contrib+python27
-----------------------------------+----------------------
  Reporter:  jtressle              |      Owner:  stromnov
      Type:  defect                |     Status:  assigned
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.5.3
Resolution:                        |   Keywords:
      Port:  protobuf3-cpp opencv  |
-----------------------------------+----------------------

Comment (by g-raffy):

 While this gets fixed, I managed to get around this bug by replacing
 `-DBUILD_PROTOBUF=NO` with `-DBUILD_PROTOBUF=YES` in
 `/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/opencv/Portfile`,
 then rebuilding opencv :
 {{{#!bash
 sudo port clean opencv
 sudo port install opencv +contrib+java+python27+python36+qt5
 }}}

 Before doing so, make sure protobuf3-cpp is installed so that you have the
 command `protoc` to generate the headers compatible with your protobuf
 library version:
 {{{#!bash
 sudo port install protobuf3-cpp
 }}}

 Hope this helps

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


More information about the macports-tickets mailing list