#52697: OpenCV on Mac OS Sierra failed to build ----------------------+---------------------- Reporter: jooni41 | Owner: stromnov Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: opencv | ----------------------+---------------------- Changes (by larryv): * status: new => assigned * priority: High => Normal * component: contrib => ports * owner: macports-tickets@… => stromnov Old description:
I tried to install nonfree module of opencv to openCV with python bindings by: sudo port install opencv +contrib +py27 but it gives the following error Error: org.macports.build for port opencv returned: command execution failed The log file states: info:build [ 44%] Built target opencv_dnn :info:build 1 warning generated. :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build' :info:build make[1]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/
New description: I tried to install nonfree module of opencv to openCV with python bindings by: {{{ sudo port install opencv +contrib +py27 }}} but it gives the following error {{{ Error: org.macports.build for port opencv returned: command execution failed The log file states: info:build [ 44%] Built target opencv_dnn :info:build 1 warning generated. :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build' :info:build make[1]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/ }}} -- Comment: Please run `sudo port clean opencv && sudo port install opencv +contrib +python27` and attach the log file. -- Ticket URL: <https://trac.macports.org/ticket/52697#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X