[MacPorts] #27591: python27 2.7.1 fails to patch

MacPorts noreply at macports.org
Wed Dec 8 12:13:03 PST 2010


#27591: python27 2.7.1 fails to patch
---------------------------------+------------------------------------------
  Reporter:  blair@…             |       Owner:  jwa@…           
      Type:  defect              |      Status:  closed          
  Priority:  Normal              |   Milestone:                  
 Component:  ports               |     Version:  1.9.2           
Resolution:  fixed               |    Keywords:                  
      Port:  python27            |  
---------------------------------+------------------------------------------

Comment(by tonior@…):

 Still not working for me, although a different error:

 {{{

 :info:patch patching file setup.py
 :info:patch Hunk #1 succeeded at 1639 (offset 143 lines).
 :info:patch Hunk #2 succeeded at 1677 (offset 146 lines).
 :info:patch Hunk #3 succeeded at 1727 (offset 148 lines).
 :info:patch --->  Applying
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python27/files
 /patch-Lib-cgi.py.diff
 :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_lang_python27/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:patch Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1"
 && /usr/bin/patch -p0'
 :info:patch patching file Lib/cgi.py
 :info:patch --->  Applying
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python27/files
 /patch-Lib-ctypes-macholib-dyld.py.diff
 :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_lang_python27/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:patch Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1"
 && /usr/bin/patch -p0'
 :info:patch patching file Lib/ctypes/macholib/dyld.py
 :debug:patch Executing proc-post-org.macports.patch-patch-0
 :info:patch ?
 :info:patch shell command "cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1
 && ed - Modules/posixmodule.c <
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python27/files/posixmodule.c.ed"
 returned error 2
 :error:patch Target org.macports.patch returned: shell command failed (see
 log for details)
 :debug:patch Backtrace: shell command failed (see log for details)
     while executing
 "$post $targetname"
 :info:patch Warning: the following items did not execute (for python27):
 org.macports.activate org.macports.patch org.macports.configure
 org.macports.build org.macports.destroot org.macports.install
 :notice:patch Log for python27 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/main.log
 }}}

 (First time posting here, my apologies if I'm posting out of order.)

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


More information about the macports-tickets mailing list