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

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

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

MacPorts
#57107: protobuf3-cpp version 3.6.1 conflicts with opencv @3.4.1_2+contrib+python27
----------------------------------+----------------------------------
 Reporter:  jtressle              |      Owner:  (none)
     Type:  defect                |     Status:  new
 Priority:  Normal                |  Milestone:  MacPorts 2.6.0
Component:  ports                 |    Version:  2.5.3
 Keywords:  protobuf3-cpp opencv  |       Port:  protobuf3-cpp opencv
----------------------------------+----------------------------------
 Latest version of Opencv with contrib and python27 no longer compiles with
 protobuf3-cpp.

 protobuf3-cpp 3.6.1 causes issues because PROTOBUF_CONSTEXPR is unknown.

 Last version of protobuf3-cpp (3.5.1) worked.

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

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

MacPorts
#57107: protobuf3-cpp version 3.6.1 conflicts with opencv @3.4.1_2+contrib+python27
-----------------------------------+----------------------------------
  Reporter:  jtressle              |      Owner:  (none)
      Type:  defect                |     Status:  new
  Priority:  Normal                |  Milestone:  MacPorts 2.6.0
 Component:  ports                 |    Version:  2.5.3
Resolution:                        |   Keywords:  protobuf3-cpp opencv
      Port:  protobuf3-cpp opencv  |
-----------------------------------+----------------------------------
Changes (by jtressle):

 * Attachment "main.log" added.

 opencv main.log

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

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

MacPorts
In reply to this post by MacPorts
#57107: protobuf3-cpp version 3.6.1 conflicts with opencv @3.4.1_2+contrib+python27
-----------------------------------+----------------------------------
  Reporter:  jtressle              |      Owner:  (none)
      Type:  defect                |     Status:  new
  Priority:  Normal                |  Milestone:  MacPorts 2.6.0
 Component:  ports                 |    Version:  2.5.3
Resolution:                        |   Keywords:  protobuf3-cpp opencv
      Port:  protobuf3-cpp opencv  |
-----------------------------------+----------------------------------

Comment (by jtressle):

 I just now was able to build and install opencv+contrib+python27 by
 downgrading protobuf3-cpp to version 3.5.1.

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

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

MacPorts
In reply to this post by MacPorts
#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  |
-----------------------------------+----------------------
Changes (by jmroot):

 * keywords:  protobuf3-cpp opencv =>
 * status:  new => assigned
 * owner:  (none) => stromnov
 * milestone:  MacPorts 2.6.0 =>


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

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

MacPorts
In reply to this post by MacPorts
#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 jtressle):

 Any update on this?  Same issue has happened on Opencv 3.4.3.

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

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

MacPorts
In reply to this post by MacPorts
#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
Reply | Threaded
Open this post in threaded view
|

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

MacPorts
In reply to this post by MacPorts
#57107: protobuf3-cpp version 3.6.1 conflicts with opencv @3.4.1_2+contrib+python27
-----------------------------------+----------------------
  Reporter:  jtressle              |      Owner:  stromnov
      Type:  defect                |     Status:  closed
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.5.3
Resolution:  duplicate             |   Keywords:
      Port:  protobuf3-cpp opencv  |
-----------------------------------+----------------------
Changes (by ryandesign):

 * status:  assigned => closed
 * resolution:   => duplicate


Comment:

 Duplicate of #56349.

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