[MacPorts] #56407: Python27 @2.7.15_0: cannot compile
MacPorts
noreply at macports.org
Wed May 2 09:39:14 UTC 2018
#56407: Python27 @2.7.15_0: cannot compile
------------------------------+----------------------
Reporter: dawesc | Owner: jmroot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.3
Keywords: python27 patches | Port: python27
------------------------------+----------------------
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.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/56407>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list