Opened 8 years ago

Last modified 7 years ago

#52747 closed defect

port opencv returned: command execution failed — at Initial Version

Reported by: mcruggs Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: opencv

Description

I am having troubles porting opencv:

From the terminal:

$ sudo port clean opencv Password: ---> Cleaning opencv

$ sudo port install opencv ---> Computing dependencies for opencv ---> Fetching archive for opencv ---> Attempting to fetch opencv-3.1.0_3.darwin_16.x86_64.tbz2 from https://packages.macports.org/opencv ---> Attempting to fetch opencv-3.1.0_3.darwin_16.x86_64.tbz2 from http://lil.fr.packages.macports.org/opencv ---> Attempting to fetch opencv-3.1.0_3.darwin_16.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/opencv ---> Fetching distfiles for opencv ---> Verifying checksums for opencv ---> Extracting opencv ---> Applying patches to opencv ---> Configuring opencv ---> Building opencv Error: org.macports.build for port opencv returned: command execution failed Please see the log file for port opencv for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log

To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

Error: Processing of port opencv failed

From the Error Log::info:build [ 59%] Built target opencv_photo

: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/_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/opencv/work/build" && /usr/bin/make -j8 -w all VERBOSE=ON :info:build Exit code: 2 :error:build org.macports.build for port opencv returned: command execution failed :debug:build Error code: CHILDSTATUS 31593 2 :debug:build Backtrace: command execution failed

while executing

"system -nice 0 $fullcmdstring"

("eval" body line 1) invoked from within

"eval system $notty $nice \$fullcmdstring"

invoked from within

"command_exec build"

(procedure "portbuild::build_main" line 8) invoked from within

"portbuild::build_main org.macports.build"

("eval" body line 1) invoked from within

"eval $procedure $targetname" :info:build Warning: targets not executed for opencv: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port opencv for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/main.log

Thank you for your help!

Change History (0)

Note: See TracTickets for help on using tickets.