[MacPorts] #25268: Deactivate does not fully remove (some) empty directories
MacPorts
noreply at macports.org
Tue Jun 15 11:38:56 PDT 2010
#25268: Deactivate does not fully remove (some) empty directories
--------------------------------------------+-------------------------------
Reporter: michaelld@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 1.9.0
Keywords: deactivate, directory, removal | Port:
--------------------------------------------+-------------------------------
In getting Stellarium.app to install correctly (checked in in [68848]), I
did a lot of deactivating (via uninstall) and installing of that port
while the Finder window for /Applications/MacPorts/ was open. After each
uninstall I could see that Stellarium.app was still there, but no longer
had an icon or Finder info associated with it. I can verify via an X11
terminal window that the basic directory structure was not actually
removed -- just the files inside it were. The resulting top-level file
(Stellarium.app) remained and cannot be used -- there is no executable in
it, nor Info files describing it, just empty directories (or, directories
of directories). Installing a new revision over these directories worked
without issue, but after a deactivate the resulting top-level
Stellarium.app obviously doesn't work.
I then tried deactivate with LaTeXiT and the same thing happens -- so I
don't think this issue is specific to Stellarium; it seems to be a greater
issue. While doing 'deactivate' with debug printing on, I can see that
Port is, at least sometimes, checking whether or not the directory is
empty, but it seems as though not all directories are checked. I can
submit "port -d" if desired, but I'm sure whoever looks into this can do
that too.
What I'm asking for is to fix checking whether a directory is empty during
deactivate -- or, fix the list of what to deactivate & check for being
empty, if that's the issue.
--
Ticket URL: <http://trac.macports.org/ticket/25268>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list