[MacPorts] #18315: 1.7.0 install hangs on Leopard 10.5.6

MacPorts noreply at macports.org
Sun Feb 1 12:08:40 PST 2009


#18315: 1.7.0 install hangs on Leopard 10.5.6
-------------------------------------+--------------------------------------
 Reporter:  velociraptor@…           |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  Port Bugs                            
Component:  base                     |     Version:  1.7.0                                
 Keywords:  postflight, shell error  |        Port:                                       
-------------------------------------+--------------------------------------
 Using the GUI package installer hangs @ about 2/3 of the progress bar and
 does not complete.  I was forced to use "force quit" or kill from the
 terminal.

 Looking around in the shell, /opt/local/ and the other filesystem
 components were there, but the environment additions had not been added,
 so I assumed it was a problem with the postflight script and used the
 method mentioned in the "Hot Problems" page to run it.  Postflight errored
 out and I had to manually edit the script to get it to complete.

 This is obviously related to defects #14809 and #16199, but I have found
 additional issues.

 a) shell is not recognized ("Unknown shell (sh)!") using:
 {{{
 sudo /bin/bash <path to postflight_script>/postflight <options>
 }}}

 As an aside, looking in the process table, the original postflight script
 was being called with:
 {{{
 sudo /bin/bash
 /Volumes/MacPorts-1.7.0/MacPorts-1.7.0.pkg/Contents/Resources/postflight
 /Volumes/MacPorts-1.7.0/MacPorts-1.7.0.pkg / / /
 }}}
 (that's three trailing slashes)

 b) postflight script errored out when trying to find dep_map_clean.tcl
 upgrade_sources_conf_default.tcl, due to $TCLSH and $PACKAGE_PATH
 variables not being set properly.  I hard-coded in these for the
 appropriate path to get the postflight script to run after copying the
 package to a read/write location.

 Thanks.

-- 
Ticket URL: <http://trac.macports.org/ticket/18315>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list