[MacPorts] #33955: openssh @5.9p1 fails to apply patches

MacPorts noreply at macports.org
Fri Apr 20 10:24:24 PDT 2012


#33955: openssh @5.9p1 fails to apply patches
--------------------------------------+-------------------------------------
 Reporter:  nonstop.server@…          |       Owner:  jwa@…           
     Type:  defect                    |      Status:  new             
 Priority:  Normal                    |   Milestone:                  
Component:  ports                     |     Version:  2.0.4           
 Keywords:                            |        Port:  openssh         
--------------------------------------+-------------------------------------

Comment(by vkuznet@…):

 I see similar problem, but patched file is different, see below. I
 manually went into this directory and use -p0 instead of -p1 and the patch
 was applied cleanly.

 {{{
 :debug:main Executing org.macports.main (openssh)
 :debug:main Skipping completed org.macports.archivefetch (openssh)
 :debug:main Skipping completed org.macports.fetch (openssh)
 :debug:main Skipping completed org.macports.checksum (openssh)
 :debug:main Skipping completed org.macports.extract (openssh)
 :debug:patch patch phase started at Fri Apr 20 13:00:37 EDT 2012
 :debug:patch Executing org.macports.patch (openssh)
 :notice:patch --->  Applying patches to openssh
 :info:patch --->  Applying
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/openssh/f
 iles/launchd.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_ports_net_openssh/openssh/work/.CC_PRINT_OPTI
 ONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.7' GI_SCANNER_DISA
 BLE_CACHE='1'
 :debug:patch Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_openssh/openssh/work/openssh-5.9p1"
 && /usr/bin/patch -p1'
 :debug:patch Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_openssh/openssh/work/openssh-5.9p1"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/ports/net/openssh/files/launchd.patch'
 :info:patch missing header for unified diff at line 3 of 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 |--- clientloop.c.orig      2011-06-22 15:31:58.000000000
 -0700
 :info:patch |+++ clientloop.c   2012-04-19 09:15:26.000000000 -0700
 :info:patch --------------------------
 :info:patch File to patch:
 :info:patch Skip this patch? [y]

 }}}

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


More information about the macports-tickets mailing list