[MacPorts] #40167: port upgrade python27

MacPorts noreply at macports.org
Sun Aug 18 00:07:10 PDT 2013


#40167: port upgrade python27
----------------------------+--------------------------------------
 Reporter:  rob.edgerley@…  |      Owner:  macports-tickets@…
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.2.0
 Keywords:                  |       Port:  python27, mercurial, etc
----------------------------+--------------------------------------
 Xcode Version 4.6.3
 Mac OSX Version 10.8.4
 MacPort Version 2.2.0

 Hi all,

 After spending (waisting) quite a number of hours on this problem, I've
 finally decided to submit a ticket ..

 I'm trying to upgrade my outdated ports, specifically python27 (2.7.3.1)
 to python27 (2.7.5.1) and mercurial, but I encounter the same issue every
 time.

 After launching: sudo port upgrade python27, I get the following error
 message:

 {{{
 Error: org.macports.destroot for port python27 returned: command execution
 failed
 Please see the log file for port python27 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_distfiles.macports.org_ports_lang_python27/python27/main.log
 Error: Unable to upgrade port: 1
 }}}
 After launching again with debugging information activated: sudo port -d
 upgrade python27, I get the following error message:

 {{{
 warning and 5 errors generated.
 make[1]: *** [pythonw] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_lang_python27/python27/work/Python-2.7.5/Mac'
 make: *** [frameworkinstallapps] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_lang_python27/python27/work/Python-2.7.5'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_lang_python27/python27/work/Python-2.7.5"
 && /usr/bin/make -w frameworkinstall maninstall MAKE="/usr/bin/make
 CC=/usr/bin/clang"
 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_lang_python27/python27/work/destroot
 Exit code: 2
 Error: org.macports.destroot for port python27 returned: command execution
 failed
 DEBUG: Error code: CHILDSTATUS 84981 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec destroot"
     (procedure "portdestroot::destroot_main" line 2)
     invoked from within
 "$procedure $targetname"
 Warning: targets not executed for python27: org.macports.install
 org.macports.destroot
 Please see the log file for port python27 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_distfiles.macports.org_ports_lang_python27/python27/main.log
 DEBUG: couldn't open
 "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
 no such file or directory
     while executing
 "open [file join $dir tclIndex]"
 Error: Unable to upgrade port: 1
 }}}

 I've tried the following:

 {{{
 sudo port -d selfupdate
 sudo port clean all
 sudo port clean python27
 sudo port select --list python
 sudo port select --set python27
 sudo port --d sync
 }}}

 But alas, nothing has worked. Still the same error.

 The last message that I see in the debug window quite often is "--->
 Staging python27 into destroot", then the error message comes.

 I've checked everything I can think of, and exhausted my google search
 ideas.

 Thanks in advance for your support!

-- 
Ticket URL: <https://trac.macports.org/ticket/40167>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list