[MacPorts] #63786: opencv4: opportunistically links to libraries, including 'tesseract'

MacPorts noreply at macports.org
Wed Sep 7 15:11:20 UTC 2022

#63786: opencv4: opportunistically links to libraries, including 'tesseract'
  Reporter:  mascguy  |      Owner:  mascguy
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.1
Resolution:  fixed    |   Keywords:
      Port:  opencv4  |

Comment (by mascguy):

 Replying to [comment:7 mascguy]:
 > I've tested with virtually all variants enabled, from 10.8 thru
 Monterey, and all looks good.
 > With one caveat: `+openni` fails for Monterey, and might have issues on
 Big Sur as well. Can you try without that variant?

 Just tested with trace mode enabled for 10.15, Big Sur, and Monterey, with
 variants: `+contrib+eigen+gdal+java+nonfree+opencl+qt5+tbb`. And only
 Monterey failed, with a similar failure to yours (for module `gapi`).

 Looks like a linking issue. But there isn't a clear error regarding
 missing symbols and such, so need to dig into it further. (And appears to
 only occur with trace mode enabled.)

 Can you also remove variants `+debug` and `+tests` - in addition to
 removing `+openni` - to pare things down a bit?

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

More information about the macports-tickets mailing list