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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5720 in the body.
You can then email your comments to 5720 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5720; Package emacs. (Mon, 15 Mar 2010 04:41:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tetsurou Okazaki <okazaki <at> be.to>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 15 Mar 2010 04:41:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 1 (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)]

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Thu, 18 Mar 2010 05:20:03 GMT) Full text and rfc822 format available.

Notification sent to Tetsurou Okazaki <okazaki <at> be.to>:
bug acknowledged by developer. (Thu, 18 Mar 2010 05:20:03 GMT) Full text and rfc822 format available.

Message #10 received at 5720-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 15 Apr 2010 11:24:03 GMT) Full text and rfc822 format available.

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.