[MacPorts] #33386: Can't install port due to missing tclIndex file

MacPorts noreply at macports.org
Wed Apr 11 10:05:17 PDT 2012


#33386: Can't install port due to missing tclIndex file
-------------------------------+--------------------------------------------
  Reporter:  tony19@…          |       Owner:  macports-tickets@…                   
      Type:  defect            |      Status:  reopened                             
  Priority:  Normal            |   Milestone:                                       
 Component:  ports             |     Version:  2.0.3                                
Resolution:                    |    Keywords:                                       
      Port:  expat             |  
-------------------------------+--------------------------------------------
Changes (by toby.fernsler@…):

  * status:  closed => reopened
  * resolution:  invalid =>


Comment:

 Replying to [comment:8 toby.fernsler@…]:
 > I had the same problem trying to install py-spyder, where tclIndex not
 being where it was expected seemed to be the problem. I couldn't find the
 xcode uninstall script (if there is one), so I just trashed xcode.app and
 I'm reinstalling it.
 Well that didn't work. Here's my error message:
 {{{
 :info:destroot running install_scripts
 :info:destroot changing mode of
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 spyder/py27-spyder/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/spyder
 to 755
 :info:destroot running install_egg_info
 :info:destroot Removing
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 spyder/py27-spyder/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/spyder-2.1.8-py2.7.egg-info
 :info:destroot Writing
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 spyder/py27-spyder/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/spyder-2.1.8-py2.7.egg-info
 :debug:destroot Executing proc-post-org.macports.destroot-destroot-0
 :debug:destroot Executing proc-post-org.macports.destroot-destroot-1
 :error:destroot Target org.macports.destroot returned: ln:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 spyder/py27-spyder/work/destroot/opt/local/bin/spyder: File exists
 :debug:destroot Backtrace: ln:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 spyder/py27-spyder/work/destroot/opt/local/bin/spyder: File exists
     while executing
 "$post $targetname"
 :info:destroot Warning: the following items did not execute (for
 py27-spyder): org.macports.activate org.macports.destroot
 org.macports.install
 :error:destroot Failed to install py27-spyder
 :debug:destroot couldn't open "/usr/lib/tclIndex": no such file or
 directory
     while executing
 "open [file join $dir tclIndex]"
 :notice:destroot Log for py27-spyder is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-spyder/py27-spyder/main.log
 }}}
 For the error where the spyder "file exists", that file is a link to
 {{{
 lrwxr-xr-x   1 root          admin   70 Apr  9 12:02 spyder ->
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/spyder
 }}}
 The link target doesn't exist. Most of the other python frameworks are in
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/, and
 linked to from /opt/local/bin/, not from

 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 spyder/py27-spyder/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/
 }}}


 which isn't where any of the other builds happened and looks suspiciously
 recursive. Since everything else builds fine, I think the paths are being
 constructed incorrectly.

-- 
Ticket URL: <https://trac.macports.org/ticket/33386#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list