GNU bug report logs - #13199
Cleanly rebuild once != cleanly rebuild twice

Previous Next

Package: emacs;

Reported by: Kelly Dean <kellydeanch <at> yahoo.com>

Date: Sun, 16 Dec 2012 11:54:02 UTC

Severity: minor

Tags: notabug, wontfix

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 13199 in the body.
You can then email your comments to 13199 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 bug-gnu-emacs <at> gnu.org:
bug#13199; Package emacs. (Sun, 16 Dec 2012 11:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kelly Dean <kellydeanch <at> yahoo.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 16 Dec 2012 11:54:02 GMT) Full text and rfc822 format available.

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

From: Kelly Dean <kellydeanch <at> yahoo.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Cleanly rebuild once != cleanly rebuild twice
Date: Sun, 16 Dec 2012 03:52:30 -0800 (PST)
With the Emacs 24.2 source code and GNU Make 3.81, "make clean; make" does not give the same result as "make clean; make; make clean; make". This failure is user unfriendly; it leads to confusion when you're trying to debug, if you only do "make clean; make" after editing the source code.

Steps to reproduce the bug/feature:

tar Jxf emacs-24.2.tar.xz
cd emacs-24.2
./configure  --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no
mv lisp/help-macro.el lisp/help-macro.el.old
sed -e "s/\*Help\*/\*Foo\*/g" < lisp/help-macro.el.old > lisp/help-macro.el
make clean; make; make clean; make
src/emacs -Q
C-h C-h

You get "*Foo*", as expected. But now

C-g C-x C-c
sed -e "s/\*Help\*/\*Bar\*/g" < lisp/help-macro.el.old > lisp/help-macro.el
make clean; make
src/emacs -Q
C-h C-h

You still get "*Foo*", but you should get "*Bar*". Now again do

C-g C-x C-c
make clean; make
src/emacs -Q
C-h C-h

Now you get "*Bar*" as expected.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13199; Package emacs. (Sun, 16 Dec 2012 20:07:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Kelly Dean <kellydeanch <at> yahoo.com>
Cc: 13199 <at> debbugs.gnu.org
Subject: Re: bug#13199: Cleanly rebuild once != cleanly rebuild twice
Date: Sun, 16 Dec 2012 15:04:59 -0500
Kelly Dean wrote:

> With the Emacs 24.2 source code and GNU Make 3.81, "make clean; make"
> does not give the same result as "make clean; make; make clean; make".
> This failure is user unfriendly; it leads to confusion when you're
> trying to debug, if you only do "make clean; make" after editing the
> source code.
>
> Steps to reproduce the bug/feature:
>
> tar Jxf emacs-24.2.tar.xz
> cd emacs-24.2
> ./configure  --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no
> mv lisp/help-macro.el lisp/help-macro.el.old
> sed -e "s/\*Help\*/\*Foo\*/g" < lisp/help-macro.el.old > lisp/help-macro.el
> make clean; make; make clean; make


Because the .el files are pre-compiled in a normal Emacs release, make
clean does not (and should not) delete .elc files. If you want to patch
lisp files, I advise you to use a more thorough `make maintainer-clean'
first. This is unnecessary for the vast majority of people building a
release. (I haven't actually tested your example.)




Added tag(s) notabug and wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 06 Feb 2013 19:17:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 13199 <at> debbugs.gnu.org and Kelly Dean <kellydeanch <at> yahoo.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 06 Feb 2013 19:17:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 07 Mar 2013 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 110 days ago.

Previous Next


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