[MacPorts] #58724: sudo port install opencv +contrib +nonfree +python36 Failed to build opencv: command execution failed

MacPorts noreply at macports.org
Mon Jul 15 19:39:39 UTC 2019


#58724: sudo port install opencv +contrib +nonfree +python36 Failed to build
opencv: command execution failed
------------------------+--------------------
  Reporter:  ymunwes    |      Owner:  (none)
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:  duplicate  |   Keywords:
      Port:  opencv     |
------------------------+--------------------
Changes (by kencu):

 * cc: stromnov (added)
 * port:   => opencv


Old description:

> i'm trying to install the opencv with python3.6 and the nonfree option
> but it fails
> this the outpu i get :
> :info:build cd
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build/modu\
> les/xphoto && /opt/local/bin/cmake -E cmake_symlink_library
> ../../lib/libopencv_xphoto.3.4.3.dylib
> ../../lib/libopencv_xphoto.3.4.dylib ../../lib/libopencv_x\
> photo.dylib
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_open\
> cv/opencv/work/build'
> :info:build [ 33%] Built target opencv_xphoto
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_open\
> cv/opencv/work/build'
> :info:build make: *** [all] Error 2
> :info:build make: 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 Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/open\
> cv/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON
> :info:build Exit code: 2
> :error:build Failed to build opencv: command execution failed
> :debug:build Error code: CHILDSTATUS 75808 2
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "system {*}$notty {*}$nice $fullcmdstring"
> :debug:build     invoked from within
> :debug:build "command_exec build"
> :debug:build     (procedure "portbuild::build_main" line 8)
> :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_release_tarballs_ports_graphics_opencv/opencv/main.log
> for d\
> etails.

New description:

 i'm trying to install the opencv with python3.6 and the nonfree option but
 it fails
 this the outpu i get :
 {{{
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/build/modu\
 les/xphoto && /opt/local/bin/cmake -E cmake_symlink_library
 ../../lib/libopencv_xphoto.3.4.3.dylib
 ../../lib/libopencv_xphoto.3.4.dylib ../../lib/libopencv_x\
 photo.dylib
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_open\
 cv/opencv/work/build'
 :info:build [ 33%] Built target opencv_xphoto
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_open\
 cv/opencv/work/build'
 :info:build make: *** [all] Error 2
 :info:build make: 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 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/open\
 cv/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON
 :info:build Exit code: 2
 :error:build Failed to build opencv: command execution failed
 :debug:build Error code: CHILDSTATUS 75808 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :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_release_tarballs_ports_graphics_opencv/opencv/main.log
 for d\
 etails.
 }}}

--

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


More information about the macports-tickets mailing list