Opened 7 years ago
Closed 7 years ago
#56407 closed defect (fixed)
Python27 @2.7.15_0 +universal: patch fails to apply
Reported by: | dawesc (Christopher Dawes) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.3 |
Keywords: | Cc: | dershow | |
Port: | python27 |
Description
The compiler returns:
MacBook-Pro-2:apache2 chrisd$ sudo port upgrade outdated ---> Computing dependencies for python27 ---> Fetching archive for python27 ---> Attempting to fetch python27-2.7.15_0+universal.darwin_17.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/python27 ---> Attempting to fetch python27-2.7.15_0+universal.darwin_17.i386-x86_64.tbz2 from https://packages.macports.org/python27 ---> Attempting to fetch python27-2.7.15_0+universal.darwin_17.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/python27 ---> Fetching distfiles for python27 ---> Verifying checksums for python27 ---> Extracting python27 ---> Applying patches to python27 Error: Failed to patch python27: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug.
I've attached the error log but excerpt is:
:notice:patch ---> Applying patches to python27 :info:patch ---> Applying patch-Makefile.pre.in.diff :debug:patch Environment: :debug:patch CC_PRINT_OPTIONS='YES' :debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/.CC_PRINT_OPTIONS' :debug:patch CPATH='/opt/local/include' :debug:patch LIBRARY_PATH='/opt/local/lib' :debug:patch MACOSX_DEPLOYMENT_TARGET='10.13' :info:patch Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.15" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/python27/files/patch-Makefile.pre.in.diff' :debug:patch system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.15" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/python27/files/patch-Makefile.pre.in.diff' :info:patch patching file Makefile.pre.in :info:patch Reversed (or previously applied) patch detected! Assume -R? [n] :info:patch Apply anyway? [n] :info:patch Skipping patch. :info:patch 3 out of 3 hunks ignored -- saving rejects to file Makefile.pre.in.rej :info:patch Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.15" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/python27/files/patch-Makefile.pre.in.diff' :info:patch Exit code: 1 :error:patch Failed to patch python27: command execution failed :debug:patch Error code: CHILDSTATUS 7153 1 :debug:patch Backtrace: command execution failed :debug:patch while executing :debug:patch "system {*}$notty {*}$nice $fullcmdstring" :debug:patch invoked from within :debug:patch "command_exec patch "" "< '$patch'"" :debug:patch (procedure "portpatch::patch_main" line 33) :debug:patch invoked from within :debug:patch "$procedure $targetname" :error:patch See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log for details.
Attachments (1)
Change History (5)
Changed 7 years ago by dawesc (Christopher Dawes)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Cc: | jmr@… removed |
---|---|
Keywords: | python27 patches removed |
comment:2 Changed 7 years ago by dershow
Cc: | dershow added |
---|
comment:3 Changed 7 years ago by jmroot (Joshua Root)
Summary: | Python27 @2.7.15_0: cannot compile → Python27 @2.7.15_0 +universal: patch fails to apply |
---|
comment:4 Changed 7 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
The full log file