Opened 11 years ago

Closed 11 years ago

#38194 closed defect (fixed)

opencv @2.4.3_4: uses jasper's headers but does not depend on it

Reported by: mstath@… Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: opencv

Description

OS X 10.8.2 Mountain Lion. Xcode Version 4.6 (4H127) w/ command line tools installed.

Command execution failed; no broken files found. Excerpt from log file (attached):

OpenCV-2.4.3" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port opencv returned: command execution failed
:debug:build Error code: CHILDSTATUS 79211 2

Attachments (2)

main.log (95.6 KB) - added by mstath@… 11 years ago.
main.2.log (249.0 KB) - added by mstath@… 11 years ago.
after clean install

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by mstath@…

Attachment: main.log added

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to stromnov@…
Summary: opencv @2.4.3_4 command execution failedopencv @2.4.3_4: build failure

Thanks for the ticket. In the future, please Cc relevant port maintainers.

:debug:main Skipping completed org.macports.archivefetch (opencv)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (opencv)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (opencv)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (opencv)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (opencv)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (opencv)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Sun Feb 24 17:04:22 CST 2013
:notice:build --->  Building opencv

This was not a clean build attempt. Could you please run the following, and if it fails again, attach the new main.log.

sudo port clean opencv && sudo port install opencv

Changed 11 years ago by mstath@…

Attachment: main.2.log added

after clean install

comment:2 Changed 11 years ago by mstath@…

dont know if this helps but i have two machines, a mac pro (1+ yr) and macbook pro (4+ yr), both with same OS & Xcode versions and clean installs of macports. was able to install opencv on mac pro w/o error, but this ticket is for the version on the macbook pro. let me know if some info from the successful install would be useful.

comment:3 Changed 11 years ago by jmroot (Joshua Root)

Summary: opencv @2.4.3_4: build failureopencv @2.4.3_4: uses jasper's headers but does not depend on it

Looks like it either needs to depend on jasper or disable jpeg2000 support.

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Andrew added the jasper dependency in r103419.

Note: See TracTickets for help on using tickets.