#27591 closed defect (fixed)
python27 2.7.1 fails to patch
Reported by: | blair (Blair Zajac) | Owned by: | jyrkiwahlstedt |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | skymoo (Adam Mercer), jendave@…, ryandesign (Ryan Carsten Schmidt), jiminaus@…, tonior@…, chiggsy@…, dechaume@…, kurtjaeke@…, gale@…, stromnov (Andrey Stromnov), m214089, christopherjnichols@… | |
Port: | python27 |
Description
Hello,
I'm seeing this error with 2.7.1:
---> Verifying checksum(s) for python27 ---> Checksumming Python-2.7.1.tar.bz2 ---> Extracting python27 ---> Extracting Python-2.7.1.tar.bz2 ---> Applying patches to python27 ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python27/files/patch-Makefile.pre.in.diff patching file Makefile.pre.in Hunk #1 FAILED at 394. Hunk #2 FAILED at 993. Hunk #3 succeeded at 1117 (offset 44 lines). 2 out of 3 hunks FAILED -- saving rejects to file Makefile.pre.in.rej 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" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python27/files/patch-Makefile.pre.in.diff'" returned error 1 Error: Target org.macports.patch returned: shell command failed Warning: the following items did not execute (for python27): org.macports.destroot org.macports.patch org.macports.configure org.macports.build Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/main.log Error: Unable to upgrade port: 1
Change History (27)
comment:1 follow-up: 2 Changed 14 years ago by skymoo (Adam Mercer)
Cc: | ram@… added |
---|
comment:6 Changed 14 years ago by blb@…
Owner: | changed from jwa to jwa@… |
---|
(Must use email addresses in assignments, Cc, etc.)
comment:13 Changed 14 years ago by stromnov (Andrey Stromnov)
Partially fixed in r74203:
1) Fixed patch-Makefile.pre.in.diff
2) Temporarily disabled broken posixmodule.c.ed
comment:18 Changed 14 years ago by chiggsy@…
Actually, I grabbed the latest git version and installed it locally successfully. FWIW.
comment:19 Changed 14 years ago by jyrkiwahlstedt
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:20 Changed 14 years ago by christopherjnichols@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Prior to it being marked 'fixed' only two out of three hunks would fail when applying the patch. Now all three fail.
comment:21 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Have you already run "sudo port clean python27"?
comment:25 Changed 14 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:26 Changed 14 years ago 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.)
comment:27 Changed 14 years ago by tonior@…
My bad... neglected to do a selfupdate before re-installing. Worked now. =)
Note: See
TracTickets for help on using
tickets.
Cc Me!