[MacPorts] #11759: BUG: case-sensitive port uninstall

MacPorts trac at macosforge.org
Sat Feb 16 20:11:27 PST 2008


#11759: BUG: case-sensitive port uninstall
------------------------------------+---------------------------------------
  Reporter:  yunzheng.hu at gmail.com  |       Owner:  eridius at macports.org         
      Type:  defect                 |      Status:  assigned                     
  Priority:  High                   |   Milestone:  MacPorts base bugs           
 Component:  base                   |     Version:                               
Resolution:                         |    Keywords:  port uninstall case-sensitive
------------------------------------+---------------------------------------
Comment (by raimue at macports.org):

 Added patch file with a proposed fix. I don't know if this is the right
 place to fix this, as now all accesses by [filemap list] will be case-
 insensitive. At the moment we allow to install both "MyPort" and "myport"
 at the same time without complaining, so this might really lead to
 problems. Or this should also be fixed.

 Some more comments: The problem is not the uninstall phase, but deactivate
 (that is in registry1.0/portimage.tcl).
 Deactivate tries to find the files using this command, where $name is
 exactly what you typed in on the command line.
 {{{
 set imagefiles [registry::port_registered $name]
 }}}
 With this I followed the code path until I found the compare in the
 filemap itself as the first possible location to fix this.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/11759#comment:7>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list