Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58724 closed defect (duplicate)

sudo port install opencv +contrib +nonfree +python36 Failed to build opencv: command execution failed — at Version 2

Reported by: ymunwes Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: stromnov (Andrey Stromnov)
Port: opencv

Description (last modified by kencu (Ken))

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.

Change History (3)

Changed 5 years ago by ymunwes

Attachment: main.log added

output log

comment:1 Changed 5 years ago by kencu (Ken)

Resolution: duplicate
Status: newclosed

comment:2 Changed 5 years ago by kencu (Ken)

Cc: stromnov added
Description: modified (diff)
Port: opencv added
Note: See TracTickets for help on using tickets.