[MacPorts] #25174: Python2.6 mpkg fails to install

MacPorts noreply at macports.org
Sun Mar 6 20:53:00 PST 2011


#25174: Python2.6  mpkg fails to install
---------------------------------------+------------------------------------
 Reporter:  tonymaher@…                |       Owner:  mcalhoun@…           
     Type:  defect                     |      Status:  new                  
 Priority:  Normal                     |   Milestone:                       
Component:  ports                      |     Version:  1.8.2                
 Keywords:                             |        Port:  python26             
---------------------------------------+------------------------------------

Comment(by tonymaher@…):

 Replying to [comment:13 snc@…]:
 > You might try temporarily moving your /opt folder to something else,
 installing and testing, delete the new /opt, and then restoring the old
 /opt directory.
 >
 > From the DMGs I've published this seems to be what is necessary to make
 it work. I've also not come across an instance where removing the file
 causes issues. Could we have the removal of the files done automatically
 in the [m]pkg phase?

 I got a colleague who does not have any macports installed to test the dmg
 file.
 The installation went fine but
 {{{
 cd /opt/local/bin
 ./python2.6
 python2.6: execv:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python:
 No such file or directory
 }}}

 Having a little look around
 {{{
 ls /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/
 Info.plist
 ls -lrt /opt/local/Library/Frameworks/Python.framework/Versions/2.6
 total 4144
 drwxr-xr-x   3 root  wheel      102 Mar  7 14:00 share
 -rwxr-xr-x   1 root  wheel  2117472 Mar  7 14:00 Python
 drwxr-xr-x   3 root  wheel      102 Mar  7 14:00 lib
 drwxr-xr-x   3 root  wheel      102 Mar  7 14:00 include
 lrwxr-xr-x   1 root  wheel       17 Mar  7 15:44 Headers ->
 include/python2.6
 drwxr-xr-x  15 root  wheel      510 Mar  7 15:44 bin
 drwxr-xr-x   3 root  wheel      102 Mar  7 15:44 Resources
 }}}

 On my build machine with MacPorts
 {{{
 ls -lrt
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/
 total 24
 -rwxr-xr-x  1 root  wheel  8576  7 Mar 14:00 Python*
 }}}

 So that it does not appear to be the full solution.

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


More information about the macports-tickets mailing list