[MacPorts] #72593: opencv4 fails to build on OS X 10.6.8

MacPorts noreply at macports.org
Mon Jun 9 23:20:10 UTC 2025


#72593: opencv4 fails to build on OS X 10.6.8
---------------------------+---------------------
 Reporter:  NucleaPeon     |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:  2.10.7
 Keywords:  opencv, build  |       Port:  opencv4
---------------------------+---------------------
 Unable to install opencv4 on OS X 10.6.8

 I ran the command: ``sudo port install opencv4``

 Around 80% it stopped with an error. Including the main.log here.
 I had updated macports prior to this. I also ran ``sudo port clean
 opencv4`` before attempting install again and saw the same behavior.
 I was able to install opencv3.

 Message I saw was:
 ```
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_opencv4/opencv4/work/build"
 && /usr/bin/make -j2 -w all VERBOSE=ON
 :info:build Exit code: 2
 :error:build Failed to build opencv4: command execution failed
 :debug:build Error code: CHILDSTATUS 99682 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 10)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build 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.

 I might not be seeing it, but there doesn't seem to be an obvious reason
 why it failed.
 Let me know if there's any way I can help debug and solve this issue.
 ```

-- 
Ticket URL: <https://trac.macports.org/ticket/72593>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list