[MacPorts] #62462: opencv4 upgrade fails

MacPorts noreply at macports.org
Sat Mar 20 00:53:51 UTC 2021


#62462: opencv4 upgrade fails
----------------------+----------------------
  Reporter:  dershow  |      Owner:  stromnov
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  opencv4  |
----------------------+----------------------

Comment (by mascguy):

 Based on what I'm seeing in the build log, it looks like `opencv4` is
 referencing headers provided by `opencv`. This only occurs when `opencv4`
 is built from source, AND `opencv` is already installed.

 To fix the issue, do the following:
 * Forcibly deactivate `opencv` (via `sudo port -f deactivate opencv`);
 * Upgrade `opencv4` (via `sudo port upgrade opencv4`);
 * Reactivate `opencv` (via `sudo port activate opencv`).

 Let us know if that fixes the problem.

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


More information about the macports-tickets mailing list