GNU bug report logs - #5720
24.0.50; make uninstall removes some files under lib-src if $(DESTDIR)${archlibdir} is not exist

Previous Next

Package: emacs;

Reported by: Tetsurou Okazaki <okazaki <at> be.to>

Date: Mon, 15 Mar 2010 04:41:01 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: bug-gnu-emacs <at> gnu.org (GNU bug Tracking System)
To: Tetsurou Okazaki <okazaki <at> be.to>
Subject: bug#5720 closed by Glenn Morris <rgm <at> gnu.org> (Re: bug#5720:
 24.0.50; make uninstall removes some files under lib-src if
 $(DESTDIR)${archlibdir} is not exist)
Date: Thu, 18 Mar 2010 05:20:03 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#5720: 24.0.50; make uninstall removes some files under lib-src if $(DESTDIR)${archlibdir} is not exist

It has been closed by Glenn Morris <rgm <at> gnu.org>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Glenn Morris <rgm <at> gnu.org> by
replying to this email.


-- 
5720: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5720
GNU Bug Tracking System
Contact bug-gnu-emacs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 5720-done <at> debbugs.gnu.org
Subject: Re: bug#5720: 24.0.50;
	make uninstall removes some files under lib-src if
	$(DESTDIR)${archlibdir} is not exist
Date: Thu, 18 Mar 2010 01:19:00 -0400
Tetsurou Okazaki wrote:

> Please apply the attached patch to fix this.

Thank you, applied to the trunk.

You have a few small changes in Emacs now, and should probably
complete a copyright assignment if you expect to send any more. There
is a simple form to fill out - let me know if I should send it to you.

[Message part 3 (message/rfc822, inline)]
From: Tetsurou Okazaki <okazaki <at> be.to>
To: bug-gnu-emacs <at> gnu.org
Cc: okazaki <at> be.to
Subject: 24.0.50; make uninstall removes some files under lib-src if
	$(DESTDIR)${archlibdir} is not exist
Date: Mon, 15 Mar 2010 13:40:12 +0900
[Message part 4 (text/plain, inline)]
Running `make uninstall' deletes some script files under lib-src
when a corresponding $(DESTDIR)${archlibdir} is not exist, since
the uninstall rule does not check the status of `cd $(DESTDIR)${archlibdir}'.

To reproduce this condition:

  extract or check out the emacs source tree at the machine Emacs is not installed
  or
  update the source tree until `emacs-version' is updated to the one not installed yet

  then

  % ./configure
  % make uninstall


Please apply the attached patch to fix this.
It also avoids `make uninstall' stops when `cd $(DESTDIR)${archlibdir}' fails.


[emacs-uninstall-fix.diff (application/octet-stream, attachment)]

This bug report was last modified 15 years and 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.