[MacPorts] #21297: port command deletes my /opt symlink

MacPorts noreply at macports.org
Thu Sep 10 19:55:23 PDT 2009


#21297: port command deletes my /opt symlink
-----------------------------+----------------------------------------------
 Reporter:  dh@…             |       Owner:  macports-tickets@…                   
     Type:  defect           |      Status:  new                                  
 Priority:  High             |   Milestone:                                       
Component:  base             |     Version:  1.8.0                                
 Keywords:                   |        Port:                                       
-----------------------------+----------------------------------------------
 My /opt is a symlink to a directory on another disk.

 After upgrading to macports 1.8.0, running port upgrade -c on any outdated
 port destroys the symlink!

 {{{
 $ ll /opt/
 total 0
 drwxr-xr-x  14 root  wheel  476 Sep 11 14:34 local/

 $ sudo port upgrade -c py26-logilab-common
 --->  Computing dependencies for py26-logilab-common
 --->  Extracting py26-logilab-common
 --->  Configuring py26-logilab-common
 --->  Building py26-logilab-common
 --->  Staging py26-logilab-common into destroot
 --->  Deactivating py26-logilab-common @0.42.0_0
 Error: Deactivating py26-logilab-common 0.42.0_0 failed: No such file or
 directory

 $ port
 -bash: /opt/local/bin/port: No such file or directory

 $ ll /opt/
 ls: /opt/: No such file or directory
 }}}

 Needless to say, 1.7 didn't exhibit this behaviour.

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


More information about the macports-tickets mailing list