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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  Riccardo Mottola <rmottola>
Submitted on:  Tue 23 Dec 2008 09:50:27 PM UTC  
 
Category: MakefilesSeverity: 2 - Minor
Item Group: NoneStatus: Confirmed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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>
Project 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>
Project 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>
Project 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>
Project 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>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 29 Jan 2009 12:24:09 AM UTCnicoOpen/ClosedOpen=>Closed
    Tue 06 Jan 2009 09:50:27 AM UTCnicoSummarybase uninstall doesn\'t work fully=>resource-set.make not removing on uninstall xxx_RESOURCE_DIRS directories created on install
    Tue 06 Jan 2009 09:50:26 AM UTCnicoSeverity3 - Normal=>2 - Minor
    Sun 04 Jan 2009 10:02:23 PM UTCCaSStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1