Opened 7 years ago

Closed 7 years ago

#41178 closed defect (fixed)

octave-image patch failure

Reported by: Schamschula (Marius Schamschula) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: octave-image

Description

While building octave image (against octave-devel on Mavericks) I get the following error:

:info:patch --->  Applying png14.patch
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-image/octave-image/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-image/octave-image/work/image-1.0.10" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-image/octave-image/work/image-1.0.10" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/math/octave-image/files/png14.patch'
:info:patch can't find file to patch at input line 3
:info:patch Perhaps you used the wrong -p or --strip option?
:info:patch The text leading up to this was:
:info:patch --------------------------
:info:patch |--- src/pngread.cc.orig	2009-06-07 20:45:04.000000000 +1000
:info:patch |+++ src/pngread.cc	2012-03-29 03:02:05.000000000 +1100
:info:patch --------------------------
:info:patch File to patch: 
:info:patch Skip this patch? [y] 
:info:patch Skipping patch.
:info:patch 2 out of 2 hunks ignored
:info:patch can't find file to patch at input line 23
:info:patch Perhaps you used the wrong -p or --strip option?
:info:patch The text leading up to this was:
:info:patch --------------------------
:info:patch |--- src/pngwrite.cc.orig	2009-06-07 20:45:04.000000000 +1000
:info:patch |+++ src/pngwrite.cc	2012-03-29 02:55:33.000000000 +1100
:info:patch --------------------------
:info:patch File to patch: 
:info:patch Skip this patch? [y] 
:info:patch Skipping patch.
:info:patch 1 out of 1 hunk ignored
:info:patch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-image/octave-image/work/image-1.0.10" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/math/octave-image/files/png14.patch'
:info:patch Exit code: 1
:error:patch org.macports.patch for port octave-image returned: command execution failed

Attachments (2)

main.log (131.3 KB) - added by Schamschula (Marius Schamschula) 7 years ago.
Portfile-octave-image.diff (903 bytes) - added by Schamschula (Marius Schamschula) 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by Schamschula (Marius Schamschula)

Attachment: main.log added

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Port: octave-image added

In the future, please fill in the Port field.

comment:2 in reply to:  1 Changed 7 years ago by Schamschula (Marius Schamschula)

Apparently octave-image 1.0.10 is rather out of date. Portfile patch for octave-image 2.0.0 is attached.

Changed 7 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-octave-image.diff added

comment:3 Changed 7 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Please do:

sudo port clean octave-image
sudo port selfupdate

and then try installing it again. Should be fixed with r114034.

Note: See TracTickets for help on using tickets.