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#48060: "make check" leaves temporary files after native-comp merge Date: Tue, 27 Apr 2021 16:53:33 +0000 Message-ID: References: Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21721"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48060@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 27 18:54:14 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 1lbQyU-0005Mt-LL for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 18:54:14 +0200 Original-Received: from localhost ([::1]:59482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbQyT-0002oK-N0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 12:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbQyI-0002nP-JQ for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 12:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39211) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbQyH-0000GB-UL for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 12:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbQyH-00084w-Qu for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 12:54: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: Tue, 27 Apr 2021 16:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48060 X-GNU-PR-Package: emacs Original-Received: via spool by 48060-submit@debbugs.gnu.org id=B48060.161954241931023 (code B ref 48060); Tue, 27 Apr 2021 16:54:01 +0000 Original-Received: (at 48060) by debbugs.gnu.org; 27 Apr 2021 16:53:39 +0000 Original-Received: from localhost ([127.0.0.1]:50757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbQxu-00084J-L0 for submit@debbugs.gnu.org; Tue, 27 Apr 2021 12:53:38 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:50954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbQxq-000847-Rt for 48060@debbugs.gnu.org; Tue, 27 Apr 2021 12:53:37 -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 13RGrX3O017093 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 27 Apr 2021 16:53:33 GMT In-Reply-To: (Stefan Kangas's message of "Tue, 27 Apr 2021 09:27:21 -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:205033 Archived-At: Stefan Kangas writes: > After some iterations of running of "make -j8 bootstrap && make -j8 > check", my ~/src/emacs is filled with a lot of temporary directories: > > drwx------ 2 skangas skangas 4.0K 2021-04-27 03:50 emacs-testsuite-0B1= nPY > drwx------ 2 skangas skangas 4.0K 2021-04-26 12:01 emacs-testsuite-0Ei= 8cf > drwx------ 2 skangas skangas 4.0K 2021-04-27 03:50 emacs-testsuite-0G4= 0w3 > drwx------ 2 skangas skangas 4.0K 2021-04-27 02:59 emacs-testsuite-0Gc= jNo > drwx------ 2 skangas skangas 4.0K 2021-04-27 02:43 emacs-testsuite-0Gw= mf7 > drwx------ 2 skangas skangas 4.0K 2021-04-26 20:24 emacs-testsuite-0HY= LcF > drwx------ 2 skangas skangas 4.0K 2021-04-27 03:49 emacs-testsuite-0Iy= 0yX > drwx------ 2 skangas skangas 4.0K 2021-04-26 12:01 emacs-testsuite-0Jp= gU6 > > I actually have 2922 of these directories. > > The content of one of these directories is: > > emacs-testsuite-xdgMCK > =E2=94=94=E2=94=80=E2=94=80 28.0.50-d25e21f7 > =E2=94=94=E2=94=80=E2=94=80 subr--trampoline-63616c6c2d70726f636573= 73_call_process_0.eln > > 1 directory, 1 file > > Others are empty: > > emacs-testsuite-1HQfjD > > 0 directories, 0 files > > Every time I run "make -j8 check", I get another 584 of these directories. > > Could we do something to ensure these directories are always deleted? I guess the correct way to do it would be in the Makefile when tests are done, am I correct? The other option would be to have Emacs to clean-up this directory before exiting, but in case of a crash it wouldn't work. The last option would be to convince `make-temp-file' we call at startup.el:553 to create the directory in "/tmp/" or equivalent (not sure that's possible). Andrea