[MacPorts] #25048: graphics/opencv fails on PPC architecture

MacPorts noreply at macports.org
Thu May 27 02:25:43 PDT 2010


#25048: graphics/opencv fails on PPC architecture
--------------------------------------+-------------------------------------
 Reporter:  daniel.hornung@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  High                      |   Milestone:                                       
Component:  ports                     |     Version:  1.8.2                                
 Keywords:                            |        Port:  graphics/opencv                      
--------------------------------------+-------------------------------------
 The title says it all, the actual problem output is:

 {{{
 --->  Computing dependencies for opencv
 --->  Applying patches to opencv
 Error: Target org.macports.patch returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_opencv/work/OpenCV-2.0.0"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/opencv/files/patch-G4.diff'"
 returned error 1
 Command output: can't find file to patch at input line 3
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |--- work/OpenCV-2.0.0/configure.in.orig        2010-04-05
 19:15:57.000000000 +0200
 |+++ work/OpenCV-2.0.0/configure.in     2010-04-05 19:16:31.000000000
 +0200
 --------------------------
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 1 out of 1 hunk ignored

 Error: Status 1 encountered during processing.
 }}}

 Further examination shows that the patch indeed has two path components to
 many, removing these seems to work.

 See the attached patch for the patch for a small fix.

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


More information about the macports-tickets mailing list