[MacPorts] #69381: opencv4 @4.8.0_4+contrib build failure
MacPorts
noreply at macports.org
Mon May 13 19:55:30 UTC 2024
#69381: opencv4 @4.8.0_4+contrib build failure
----------------------+----------------------------
Reporter: fmw42 | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords: Ventura, arm64
Port: opencv4 |
----------------------+----------------------------
Comment (by fmw42):
A cleaning of all my ports and then installing py312-opencv4 finally
worked. **SUCCESS**
Today, I tried removing all my ports with `sudo port -fp uninstall
installed`. Then I tried installing py312-opencv4 before installing any
other ports. I got the following error messages:
{{{
Error: Requested variants "" do not match those the build was started
with: "+contrib".
Error: Please use the same variants again, or run 'port clean opencv4'
first to remove the existing partially completed build.
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv4/opencv4/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there
is a bug.
Error: Processing of port py312-opencv4 failed
}}}
So I then cleaned opencv4 with `sudo port clean opencv4` and tried again
to install py312-opencv4. This time, I got py312-opencv4 to install
without complaint. I then finished installing my other ports.
Question: Why did I get the message that opencv4 needed cleaning when I
had removed every one of my ports.
I do not understand why I could not install py39-opencv4 before. I guess
there was a conflict with one of the ports previously installed and the
previous attempts to install py39-opencv4 did not overwrite that port with
the needed version or dependencies. Perhaps the conflict was with
OpenEXR. Or perhaps py39-opencv4 was the issue.
--
Ticket URL: <https://trac.macports.org/ticket/69381#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list