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

MacPorts noreply at macports.org
Mon Apr 9 07:43:43 PDT 2012


#33955: openssh @5.9p1 fails to apply patches
--------------------------------------+-------------------------------------
 Reporter:  nonstop.server@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.0.4                                
 Keywords:                            |        Port:  openssh                              
--------------------------------------+-------------------------------------
 Installing port openssh with variants +gss_api_trust_dns and +gsskex fails
 during patch phase.
 {{{
 DEBUG: patch phase started at Mon Apr  9 14:12:14 CEST 2012
 DEBUG: Executing org.macports.patch (openssh)
 --->  Applying patches to openssh
 --->  Applying
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/openssh/files/GSSAPITrustDNS.patch
 DEBUG: 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_net_openssh/openssh/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.5' GI_SCANNER_DISABLE_CACHE='1'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_openssh/openssh/work/openssh-5.9p1"
 && /usr/bin/patch -p1'
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_openssh/openssh/work/openssh-5.9p1"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/openssh/files/GSSAPITrustDNS.patch'
 missing header for unified diff at line 8 of patch
 can't find file to patch at input line 8
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |Index: readconf.c
 |===================================================================
 |RCS file: /cvs/openssh/readconf.c,v
 |retrieving revision 1.135
 |diff -u -r1.135 readconf.c
 |--- readconf.c 5 Aug 2006 02:39:40 -0000       1.135
 |+++ readconf.c 19 Aug 2006 11:59:52 -0000
 --------------------------
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 5 out of 5 hunks ignored
 missing header for unified diff at line 63 of patch
 can't find file to patch at input line 63
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |Index: readconf.h
 |===================================================================
 |RCS file: /cvs/openssh/readconf.h,v
 |retrieving revision 1.63
 |diff -u -r1.63 readconf.h
 |--- readconf.h 5 Aug 2006 02:39:40 -0000       1.63
 |+++ readconf.h 19 Aug 2006 11:59:52 -0000
 --------------------------
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 1 out of 1 hunk ignored
 missing header for unified diff at line 78 of patch
 can't find file to patch at input line 78
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |Index: ssh_config.5
 |===================================================================
 |RCS file: /cvs/openssh/ssh_config.5,v
 |retrieving revision 1.97
 |diff -u -r1.97 ssh_config.5
 |--- ssh_config.5       5 Aug 2006 01:34:51 -0000       1.97
 |+++ ssh_config.5       19 Aug 2006 11:59:53 -0000
 --------------------------
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 1 out of 1 hunk ignored
 missing header for unified diff at line 103 of patch
 can't find file to patch at input line 103
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |Index: sshconnect2.c
 |===================================================================
 |RCS file: /cvs/openssh/sshconnect2.c,v
 |retrieving revision 1.151
 |diff -u -r1.151 sshconnect2.c
 |--- sshconnect2.c      18 Aug 2006 14:33:34 -0000      1.151
 |+++ sshconnect2.c      19 Aug 2006 11:59:53 -0000
 --------------------------
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 2 out of 2 hunks ignored
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_openssh/openssh/work/openssh-5.9p1"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/openssh/files/GSSAPITrustDNS.patch'"
 returned error 1
 Error: Target org.macports.patch returned: shell command failed (see log
 for details)
 DEBUG: Backtrace: shell command failed (see log for details)
     while executing
 "command_exec patch "" "< '$patch'""
     ("default" arm line 1)
     invoked from within
 "switch -- [file extension $patch] {
             .Z -
             .gz {command_exec patch "$gzcat \"$patch\" | (" ")"}
             .bz2 {command_exec p..."
     (procedure "portpatch::patch_main" line 31)
     invoked from within
 "$procedure $targetname"
 }}}
 Version Information:
 {{{
 Mac OS Version:
 Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009;
 root:xnu-1228.15.4~1/RELEASE_I386 i386

 Xcode Version:
 Xcode 3.1.4
 Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0
 BuildVersion: 9M2809

 Macports Version:
 Version: 2.0.4
 }}}

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


More information about the macports-tickets mailing list