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)
Change History (4)
Changed 14 years ago by daniel.hornung@…
Attachment: | patch-G4.diff.patch added |
---|
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: | High → Normal |
comment:3 Changed 14 years ago by raphael-st (Raphael Straub)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Patch for "patch-G4.diff"