[MacPorts] #28738: Hard links fail with Macports on AFS

MacPorts noreply at macports.org
Fri Mar 11 10:35:07 PST 2011


#28738: Hard links fail with Macports on AFS
-----------------------------------------------------------+----------------
 Reporter:  kev@…                                          |       Owner:  macports-tickets@…                   
     Type:  enhancement                                    |      Status:  new                                  
 Priority:  Normal                                         |   Milestone:                                       
Component:  ports                                          |     Version:  1.9.2                                
 Keywords:  afs apple file server links makefile symlinks  |        Port:                                       
-----------------------------------------------------------+----------------
 Hi, I'm installing Macports over AFS (Apple File System). One thing I've
 found while installing many of the ports is that hard links don't work on
 AFS while many ports use them to set locks (libtool), or link the regular
 executable name (python) to a specific version (python26).

 So while I've been installing these I've had to modify the Makefiles by
 hand, changing all of the ln's to "ln -s" so the port won't fail with an
 error, or hang while trying to acquire a non-existent lock.

 It might be worth detecting AFS in the Port system and then changing all
 links to symbolic in that case, considering most times there is already an
 $(LN) variable in the makefile.

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


More information about the macports-tickets mailing list