bugGNUstep - Bugs: bug #25163, resource-set.make not removing on...

Group
 
 

bug #25163: resource-set.make not removing on uninstall xxx_RESOURCE_DIRS directories created on install

Submitter:  Riccardo Mottola <rmottola>
Submitted:  Tue 23 Dec 2008 09:50:27 PM UTC
   
 
Category:  Makefiles Severity:  2 - Minor
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 29 Jan 2009 12:24:10 AM UTC, comment #4: 

I reviewed gnustep-make's uninstallation code and it should
be uninstalling much more carefully now.

In particular, Resources and Languages are definitely automatically
removed now when gnustep-base is uninstalled.

Thanks

Nicola Pero <nico>
Group Member
Tue 06 Jan 2009 10:19:52 AM UTC, comment #3: 

I'll work on this after we release 2.0.8 as I don't want to hold that up

Thanks

Nicola Pero <nico>
Group Member
Tue 06 Jan 2009 09:50:27 AM UTC, comment #2: 

Can you clarify what is the problem here ?

FYI - if you install gnustep-base using

  make install

you can uninstall it using

  make uninstall

But if you install it using

  make install GNUSTEP_INSTALLATION_DOMAIN=XXX

then the correct command to uninstall is --

  make uninstall GNUSTEP_INSTALLATION_DOMAIN=XXX

(just saying because I wondered if the original reports of gnustep-base not
uninstalling correctly were not due to it being installed in one domain, then
uninstalled from another domain).

Once the GNUSTEP_INSTALLATION_DOMAIN used when installing and uninstalling
match, then as far as I can see, uninstallation works fine.  All files are removed.

We do leave some empty directories behind - but gnustep-make has never made
any attempt to remove empty directories on uninstall, so this is nothing new.

Are the empty directories the issue ?  Eg, I see the Languages/ directory being
mentioned as being left behind.  That is created using gnustep-make's
xxx_RESOURCE_DIRS so I guess we should enhance gnustep-make to remove
on uninstall directories (if empty) that were created using xxx_RESOURCE_DIRS.

I assume that's the bug reported here ?

Thanks

Nicola Pero <nico>
Group Member
Sun 04 Jan 2009 10:02:23 PM UTC, comment #1: 

For me the error is a failure to remove /usr/GNUstep/Local/Library/Libraries/gnustep-base/Versions/1.19/Resources because the directory is not empty ... checking it, I find that it still contains Languages

Richard Frith-Macdonald <CaS>
Group Member
Tue 23 Dec 2008 09:50:27 PM UTC, original submission:  

make uninstall for base doesn't work because of stale directories.

Making uninstall in Resources...
Making uninstall for resource_set base-resources...
rmdir: /usr/GNUstep/Local/Library/Libraries/gnustep-base/Versions/1.19/Resources/English.lproj: No such file or directory

<...>


Riccardo Mottola <rmottola>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nico (Posted a comment)
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by rmottola (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-01-29 nico Open/ClosedOpen Closed
    2009-01-06 nico Summarybase uninstall doesn\'t work fully resource-set.make not removing on uninstall xxx_RESOURCE_DIRS directories created on install
    2009-01-06 nico Severity3 - Normal 2 - Minor
    2009-01-04 CaS StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code