From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#48079: Temporary files while building after native-comp merge Date: Sun, 02 May 2021 21:36:04 +0000 Message-ID: References: <835z06hanw.fsf@gnu.org> <83y2d2fv6c.fsf@gnu.org> <87r1ipimla.fsf@gnus.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27183"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , Eli Zaretskii , 48079@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 02 23:37:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ldJm1-0006xY-4k for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 May 2021 23:37:09 +0200 Original-Received: from localhost ([::1]:44104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldJm0-0002RT-8T for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 May 2021 17:37:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldJlu-0002RN-6p for bug-gnu-emacs@gnu.org; Sun, 02 May 2021 17:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33334) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldJlt-0006LE-Vk for bug-gnu-emacs@gnu.org; Sun, 02 May 2021 17:37:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldJlt-0003GN-Ru for bug-gnu-emacs@gnu.org; Sun, 02 May 2021 17:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 May 2021 21:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48079 X-GNU-PR-Package: emacs Original-Received: via spool by 48079-submit@debbugs.gnu.org id=B48079.161999136812527 (code B ref 48079); Sun, 02 May 2021 21:37:01 +0000 Original-Received: (at 48079) by debbugs.gnu.org; 2 May 2021 21:36:08 +0000 Original-Received: from localhost ([127.0.0.1]:44877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldJl2-0003Fz-2z for submit@debbugs.gnu.org; Sun, 02 May 2021 17:36:08 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:51239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldJl0-0003Fs-9E for 48079@debbugs.gnu.org; Sun, 02 May 2021 17:36:07 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 142La4PP009530 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sun, 2 May 2021 21:36:05 GMT In-Reply-To: (Stefan Kangas's message of "Sun, 2 May 2021 05:12:24 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205450 Archived-At: Stefan Kangas writes: > tags 48079 - patch > thanks > > Lars Ingebrigtsen writes: > >> Stefan Kangas writes: >> >>> But perhaps the fix is as simple as: >>> >>> diff --git a/.gitignore b/.gitignore >>> index fcbc9cd7f4..e27ebe36d0 100644 >>> --- a/.gitignore >>> +++ b/.gitignore >>> @@ -135,6 +135,7 @@ src/gl-stamp >>> *.dll >>> *.core >>> *.elc >>> +*.elc[0-9A-Za-z][0-9A-Za-z][0-9A-Za-z][0-9A-Za-z][0-9A-Za-z][0-9A-Za-z] >>> *.eln >>> *.o >>> *.res >> >> Sounds like a good idea to me. (But add a comment about what these >> files are.) > > Thanks. > > But now I am seeing that some of these files have not been deleted in my > tree: > > lisp/emacs-lisp/comp.elcivrXZS > lisp/window.elc9aaVMg > > This might be because I interrupted the build process at some point; I > don't know. > > These files don't get removed when I run extraclean or bootstrap. So if > we just ignore them there is a risk that these files will slowly build > up over time. > > Perhaps we should also make sure they get cleaned up when building, as > in the attached. I'm not sure is correct to do that in compile-clean, if there's really a problem IMO we should isolate it and debug, IIUC having this in compile-clean could just mask it. Andrea