[MacPorts] #52697: OpenCV on Mac OS Sierra failed to build
#52697: OpenCV on Mac OS Sierra failed to build ---------------------+-------------------------------- Reporter: jooni41 | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: contrib | Version: 2.3.4 Keywords: | Port: opencv ---------------------+-------------------------------- 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/ -- Ticket URL: <https://trac.macports.org/ticket/52697> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#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 | ----------------------+---------------------- Comment (by jooni41): Log file is larger then the upper limit thats why i just added part of it -- Ticket URL: <https://trac.macports.org/ticket/52697#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | ----------------------+---------------------- Comment (by larryv): So compress it and attach the compressed version. -- Ticket URL: <https://trac.macports.org/ticket/52697#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#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 jooni41): * Attachment "main.log" added. log_file -- Ticket URL: <https://trac.macports.org/ticket/52697> MacPorts <https://www.macports.org/> Ports system for OS X
#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 jooni41): * Attachment "main.2.log" added. when I ran the command 2nd time -- Ticket URL: <https://trac.macports.org/ticket/52697> MacPorts <https://www.macports.org/> Ports system for OS X
#52697: OpenCV on Mac OS Sierra failed to build ----------------------+---------------------- Reporter: jooni41 | Owner: stromnov Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: opencv | ----------------------+---------------------- Changes (by mkae): * cc: RJVB (added) * version: 2.3.4 => Comment: RJVB came up with a patch. Will post it soonish here for review by stromnov. -- Ticket URL: <https://trac.macports.org/ticket/52697#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#52697: OpenCV on Mac OS Sierra failed to build ----------------------+---------------------- Reporter: jooni41 | Owner: stromnov Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: sierra Port: opencv | ----------------------+---------------------- Changes (by mkae): * keywords: => sierra -- Ticket URL: <https://trac.macports.org/ticket/52697#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#52697: OpenCV on Mac OS Sierra failed to build ------------------------+---------------------- Reporter: jooni41 | Owner: stromnov Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: duplicate | Keywords: sierra Port: opencv | ------------------------+---------------------- Changes (by mkae): * status: assigned => closed * resolution: => duplicate Comment: Is duplicate of #52328 -- Ticket URL: <https://trac.macports.org/ticket/52697#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts