Opened 14 years ago

Closed 14 years ago

#25048 closed defect (fixed)

graphics/opencv fails on PPC architecture

Reported by: daniel.hornung@… Owned by: stante@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: haspatch Cc:
Port: opencv

Description

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.

Attachments (1)

patch-G4.diff.patch (620 bytes) - added by daniel.hornung@… 14 years ago.
Patch for "patch-G4.diff"

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by daniel.hornung@…

Attachment: patch-G4.diff.patch added

Patch for "patch-G4.diff"

comment:1 Changed 14 years ago by daniel.hornung@…

Cc: daniel.hornung@… added

Cc Me!

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Cc: daniel.hornung@… removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to stante@…
Port: opencv added; graphics/opencv removed
Priority: HighNormal

comment:3 Changed 14 years ago by raphael-st (Raphael Straub)

Resolution: fixed
Status: newclosed

I close this ticket because OpenCV has been updated to version 2.1.0 in r70430 (see also #24503). Here, OpenCV 2.1.0 successfully compiles on Mac OS X 10.5.8 PPC.

Please reopen this ticket if you still have problems in compiling OpenCV for PPC.

Note: See TracTickets for help on using tickets.