[MacPorts] #32094: opencv will not build

MacPorts noreply at macports.org
Wed Nov 16 20:02:58 PST 2011


#32094: opencv will not build
--------------------------------+-------------------------------------------
 Reporter:  trog24@…            |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.3                                
 Keywords:                      |        Port:  opencv                               
--------------------------------+-------------------------------------------
 I started out with the same cannot be built error:
 {{{
 Error: opencv 2.3.1a cannot be built while opencv 2.2.0 is installed and
 active.
 Error: Please deactivate opencv 2.2.0 first.
 Error: Target org.macports.build returned: incompatible opencv version
 active
 Log for opencv is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_opencv/opencv/main.log
 Error: Unable to upgrade port: 1
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}
 I then deactivated opencv and continued the upgrade of outdated. Opencv
 did not update.

 I then tried sudo port install opencv and got the following error:
 {{{
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Log for opencv is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_opencv/opencv/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}
 I thought that it remnants remained from the previous attempt and did the
 following: sudo port clean opencv

 Before reattempting the install, I thought that it may be better if I
 uninstalled opencv.

 I then made another attempt at installing and got the following error:
 {{{
 --->  Computing dependencies for opencv
 --->  Fetching archive for opencv
 --->  Attempting to fetch opencv-2.3.1a_1.darwin_9.ppc.tgz from
 http://packages.macports.org/opencv
 --->  Fetching opencv
 --->  Verifying checksum(s) for opencv
 --->  Extracting opencv
 --->  Applying patches to opencv
 --->  Configuring opencv
 --->  Building opencv
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Log for opencv is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_opencv/opencv/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}
 Attached is the log file from the failure. Please note that this is the
 PowerPC version.

-- 
Ticket URL: <https://trac.macports.org/ticket/32094>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list