install python27 error message

Massimo Tallarida mtallarida at cells.es
Wed Nov 4 07:42:58 PST 2015


Dear all,

I’m trying to install the xorg-server port on a Mavericks. The installation failed because macports could not install python 2.7. I’m using macports 2.3.4. I just uninstalled and reinstalled macports and still the same message.
Thank you in advance for your help,
Massimo


The log is the following:


version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python27/work
:debug:clean changing euid/egid - current euid: 0 - current egid: 0
:debug:clean egid changed to: 501
:debug:clean euid changed to: 505
:debug:main Executing org.macports.main (python27)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (python27)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (python27)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (python27)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (python27)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Wed Nov  4 16:24:44 CET 2015
:debug:patch Executing org.macports.patch (python27)
:notice:patch --->  Applying patches to python27
:info:patch --->  Applying patch-Makefile.pre.in.diff
:debug:patch Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.10" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.10" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python27/files/patch-Makefile.pre.in.diff'
:info:patch can't find file to patch at input line 3
:info:patch Perhaps you used the wrong -p or --strip option?
:info:patch The text leading up to this was:
:info:patch --------------------------
:info:patch |--- Makefile.pre.in.orig	2013-11-11 10:06:36.000000000 +0200
:info:patch |+++ Makefile.pre.in	2013-11-11 10:08:02.000000000 +0200
:info:patch --------------------------
:info:patch File to patch: 
:info:patch Skip this patch? [y] 
:info:patch Skipping patch.
:info:patch 3 out of 3 hunks ignored
:info:patch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.10" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python27/files/patch-Makefile.pre.in.diff'
:info:patch Exit code: 1
:error:patch org.macports.patch for port python27 returned: command execution failed
:debug:patch Error code: CHILDSTATUS 63866 1
:debug:patch Backtrace: command execution failed
   while executing
"system $fullcmdstring"
   ("eval" body line 1)
   invoked from within
"eval system $notty $nice \$fullcmdstring"
   invoked from within
"command_exec patch "" "< '$patch'""
   (procedure "portpatch::patch_main" line 35)
   invoked from within
"portpatch::patch_main org.macports.patch"
   ("eval" body line 1)
   invoked from within
"eval $procedure $targetname"
:info:patch Warning: targets not executed for python27: org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:patch Failed to install python27
:debug:patch could not read "/opt/local/share/man/man1/sqlite3.1.gz": no such file or directory
   while executing
"::file type $file"
:notice:patch Please see the log file for port python27 for details:
   /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20151104/aad5d3fe/attachment.html>


More information about the macports-users mailing list