GNU bug report logs - #12412
24.2.50; `make distclean' does not remove .elc files

Previous Next

Package: emacs;

Reported by: Bastien <bzg <at> altern.org>

Date: Tue, 11 Sep 2012 09:10:02 UTC

Severity: minor

Tags: notabug

Found in version 24.2.50

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 12412 in the body.
You can then email your comments to 12412 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#12412; Package emacs. (Tue, 11 Sep 2012 09:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bastien <bzg <at> altern.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 11 Sep 2012 09:10:02 GMT) Full text and rfc822 format available.

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

From: Bastien <bzg <at> altern.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 11:08:14 +0200
I ran `make distclean' three times.  The first time it ran
./configure.  The second time it didn't run ./configure.  The
third time it didn't run at all because of the absence of
Makefile.

Each time the lisp/*.elc files are left untouched/undeleted.

I expected them to be deleted -- what am I doing wrong?

Thanks,

In GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-09-10 on myhost
Bzr revision: 109965 cyd <at> gnu.org-20120910032510-vrblnwlfnsb0cx3s
Windowing system distributor `The X.Org Foundation', version 11.0.11201000
Important settings:
  value of $LANG: fr_FR.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

-- 
 Bastien




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 10:27:02 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Bastien <bzg <at> altern.org>
Cc: 12412 <at> debbugs.gnu.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 12:26:04 +0200
distclean does not remove distributed files.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 12:33:02 GMT) Full text and rfc822 format available.

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

From: Bastien <bzg <at> altern.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 12412 <at> debbugs.gnu.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 14:31:30 +0200
Andreas Schwab <schwab <at> linux-m68k.org> writes:

> distclean does not remove distributed files.

It is hard to guess in the absence of `make help'.

From INSTALL:

  ...

  4. If you need to run the `configure' script more than once (e.g.,
     with some non-default options), always clean the source
     directories before running `configure' again:

		make distclean
		./configure

  ...

  To also remove the files
  that `configure' created (so you can compile Emacs for a different
  configuration), type `make distclean'.

How to remove the .elc files?

What is the difference between `make clean' and `make distclean'?

-- 
 Bastien




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 12:45:02 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Bastien <bzg <at> altern.org>
Cc: 12412 <at> debbugs.gnu.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 14:43:24 +0200
Bastien <bzg <at> altern.org> writes:

> Andreas Schwab <schwab <at> linux-m68k.org> writes:
>
>> distclean does not remove distributed files.
>
> It is hard to guess in the absence of `make help'.

* Note (standards) Standard Targets::

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 13:08:01 GMT) Full text and rfc822 format available.

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

From: Bastien <bzg <at> altern.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 12412 <at> debbugs.gnu.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 15:06:38 +0200
Andreas Schwab <schwab <at> linux-m68k.org> writes:

> Bastien <bzg <at> altern.org> writes:
>
>> Andreas Schwab <schwab <at> linux-m68k.org> writes:
>>
>>> distclean does not remove distributed files.
>>
>> It is hard to guess in the absence of `make help'.
>
> * Note (standards) Standard Targets::

So what I'm looking for is `make maintainer-clean'.

But ̀make help' would still help.

And from the info page above, I infer that the `clean'
and `distclean' targets should remove the .elc files.

-- 
 Bastien




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 13:27:02 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Bastien <bzg <at> altern.org>
Cc: 12412 <at> debbugs.gnu.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 15:25:35 +0200
Bastien <bzg <at> altern.org> writes:

> And from the info page above, I infer that the `clean'
> and `distclean' targets should remove the .elc files.

No, they are distributed.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 13:33:02 GMT) Full text and rfc822 format available.

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

From: Bastien <bzg <at> altern.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 12412 <at> debbugs.gnu.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 15:31:40 +0200
Andreas Schwab <schwab <at> linux-m68k.org> writes:

> Bastien <bzg <at> altern.org> writes:
>
>> And from the info page above, I infer that the `clean'
>> and `distclean' targets should remove the .elc files.
>
> No, they are distributed.

What do you mean by "distributed"?

I'm using the emacs-24 bzr branch.

There is no .elc files here.

After building from that branch, I expect `make distclean'
to remove the .elc files.

I also expect `make clean' to do this, actually.

What is wrong in my expectations here?

-- 
 Bastien




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 13:41:02 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Bastien <bzg <at> altern.org>
Cc: 12412 <at> debbugs.gnu.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 15:39:27 +0200
Bastien <bzg <at> altern.org> writes:

> What do you mean by "distributed"?

$ make dist

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 16:04:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Bastien <bzg <at> altern.org>
Cc: 12412 <at> debbugs.gnu.org, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 12:02:32 -0400
Bastien wrote:

> What do you mean by "distributed"?

Included in release tarfiles. These include several things that the VCS
does not; info files, configure script, elc files, etc. distclean must
not delete these things.

(I don't know why it is such fun to be so terse no-one can understand
you.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 16:21:02 GMT) Full text and rfc822 format available.

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

From: Bastien <bzg <at> altern.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 12412 <at> debbugs.gnu.org, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 18:19:51 +0200
Glenn Morris <rgm <at> gnu.org> writes:

> Bastien wrote:
>
>> What do you mean by "distributed"?
>
> Included in release tarfiles. These include several things that the VCS
> does not; info files, configure script, elc files, etc. distclean must
> not delete these things.

Okay, I do understand now.

Thanks,

> (I don't know why it is such fun to be so terse no-one can understand
> you.)

I guess this "you" is for Andreas, right?  Because this is the exact
same impression I get from Andreas messages.

I tried to ask something clearly, got extremely short answers, which
gives me the impression that I'm stupid.  Being stupid, I don't want to
bother anyone with more than short sentences, and you get this kinda
silly "conversation".

Anyway, thanks for the answer.

I continue to think having a ̀make help' would spare everyone's time 
by answering such questions in advance.

-- 
 Bastien




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Tue, 11 Sep 2012 16:25:02 GMT) Full text and rfc822 format available.

Notification sent to Bastien <bzg <at> altern.org>:
bug acknowledged by developer. (Tue, 11 Sep 2012 16:25:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 12412-done <at> debbugs.gnu.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 12:23:24 -0400
(Yes, "You" did not mean "you, Bastien" :) )

Bastien wrote:

> I continue to think having a ̀make help' would spare everyone's time 
> by answering such questions in advance.

Since there is a separate report about that I'll close this one.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 17:08:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Bastien <bzg <at> altern.org>
Cc: 12412 <at> debbugs.gnu.org, schwab <at> linux-m68k.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 20:06:02 +0300
> From: Bastien <bzg <at> altern.org>
> Date: Tue, 11 Sep 2012 15:06:38 +0200
> Cc: 12412 <at> debbugs.gnu.org
> 
> So what I'm looking for is `make maintainer-clean'.

No, I think you are looking for "make bootstrap".




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 17:14:02 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Bastien <bzg <at> altern.org>
Cc: Glenn Morris <rgm <at> gnu.org>, Andreas Schwab <schwab <at> linux-m68k.org>,
	12412 <at> debbugs.gnu.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 19:11:50 +0200
On Tue, Sep 11, 2012 at 6:19 PM, Bastien <bzg <at> altern.org> wrote:

> I guess this "you" is for Andreas, right?  Because this is the exact
> same impression I get from Andreas messages.
>
> I tried to ask something clearly, got extremely short answers, which
> gives me the impression that I'm stupid.  Being stupid, I don't want to
> bother anyone with more than short sentences, and you get this kinda
> silly "conversation".

You could file a wishlist bug report, "Andreas' output hard to
understand, please add --verbose option".

    Juanma




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 17:47:01 GMT) Full text and rfc822 format available.

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

From: Bastien <bzg <at> altern.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 12412 <at> debbugs.gnu.org, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 19:45:20 +0200
Juanma Barranquero <lekktu <at> gmail.com> writes:

> On Tue, Sep 11, 2012 at 6:19 PM, Bastien <bzg <at> altern.org> wrote:
>
>> I guess this "you" is for Andreas, right?  Because this is the exact
>> same impression I get from Andreas messages.
>>
>> I tried to ask something clearly, got extremely short answers, which
>> gives me the impression that I'm stupid.  Being stupid, I don't want to
>> bother anyone with more than short sentences, and you get this kinda
>> silly "conversation".
>
> You could file a wishlist bug report, "Andreas' output hard to
> understand, please add --verbose option".

:)

That said, trying to turn --verbose off is fun from time to time.

-- 
 Bastien




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 17:48:01 GMT) Full text and rfc822 format available.

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

From: Bastien <bzg <at> altern.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 12412 <at> debbugs.gnu.org, schwab <at> linux-m68k.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 19:47:02 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Bastien <bzg <at> altern.org>
>> Date: Tue, 11 Sep 2012 15:06:38 +0200
>> Cc: 12412 <at> debbugs.gnu.org
>> 
>> So what I'm looking for is `make maintainer-clean'.
>
> No, I think you are looking for "make bootstrap".

I'm really trying to get rid of the .elc files produced by 
compiling Emacs from a fresh bzr update (not a distribution.)

-- 
 Bastien




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 17:48:02 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Bastien <bzg <at> altern.org>
Cc: 12412 <at> debbugs.gnu.org, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 19:46:35 +0200
On Tue, Sep 11, 2012 at 7:45 PM, Bastien <bzg <at> altern.org> wrote:

> That said, trying to turn --verbose off is fun from time to time.

Yep.

    Juanma




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 18:11:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: Bastien <bzg <at> altern.org>, Andreas Schwab <schwab <at> linux-m68k.org>,
	12412 <at> debbugs.gnu.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 14:09:46 -0400
> You could file a wishlist bug report, "Andreas' output hard to
> understand, please add --verbose option".

I think this would need to be send to Andreas's bug tracker, because it's
not specific to Emacs's use of Andreas.

BTW, I think it's an appropriate moment to mention that while I do get
occasionally frustrated with some people here (Andreas's one liners and
Drew's many liners come to mind), I really do appreciate all
your contributions.


        Stefan





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 18:20:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Bastien <bzg <at> altern.org>
Cc: 12412 <at> debbugs.gnu.org, schwab <at> linux-m68k.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 21:18:01 +0300
> From: Bastien <bzg <at> altern.org>
> Cc: 12412 <at> debbugs.gnu.org,  schwab <at> linux-m68k.org
> Date: Tue, 11 Sep 2012 19:47:02 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: Bastien <bzg <at> altern.org>
> >> Date: Tue, 11 Sep 2012 15:06:38 +0200
> >> Cc: 12412 <at> debbugs.gnu.org
> >> 
> >> So what I'm looking for is `make maintainer-clean'.
> >
> > No, I think you are looking for "make bootstrap".
> 
> I'm really trying to get rid of the .elc files produced by 
> compiling Emacs from a fresh bzr update (not a distribution.)

You mean, delete them, but not re-create them?  Why would you need a
tree without *.elc files?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 18:36:01 GMT) Full text and rfc822 format available.

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

From: Bastien <bzg <at> altern.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 12412 <at> debbugs.gnu.org, schwab <at> linux-m68k.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 20:34:30 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> You mean, delete them, but not re-create them?  Why would you need a
> tree without *.elc files?

When editing a .el file from the bzr branch, I sometimes byte-compile 
it to check compilation warnings.  Since I prefer to keep the .el file
in sync with the .elc file, I delete the newly created .elc file by
hand.

So in general, I prefer to work in a directory with no .elc file.

But removing by hand is okay.

-- 
 Bastien




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 20:33:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Bastien <bzg <at> altern.org>
Cc: 12412 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, schwab <at> linux-m68k.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 16:31:55 -0400
>> No, I think you are looking for "make bootstrap".
> I'm really trying to get rid of the .elc files produced by 
> compiling Emacs from a fresh bzr update (not a distribution.)

I think you want "bootstrap-clean", then: bootstrap is basically "make
bootstrap-clean; make".


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12412; Package emacs. (Tue, 11 Sep 2012 20:40:02 GMT) Full text and rfc822 format available.

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

From: Bastien <bzg <at> altern.org>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 12412 <at> debbugs.gnu.org, schwab <at> linux-m68k.org
Subject: Re: bug#12412: 24.2.50; `make distclean' does not remove .elc files
Date: Tue, 11 Sep 2012 22:38:31 +0200
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:

>>> No, I think you are looking for "make bootstrap".
>> I'm really trying to get rid of the .elc files produced by 
>> compiling Emacs from a fresh bzr update (not a distribution.)
>
> I think you want "bootstrap-clean", then: bootstrap is basically "make
> bootstrap-clean; make".

Yes, that does it, thanks!

-- 
 Bastien




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

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

Previous Next


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