GNU bug report logs - #55611
29.0.50; nativecomp "make check" leaves temporary files

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Tue, 24 May 2022 12:29:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.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 55611 in the body.
You can then email your comments to 55611 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#55611; Package emacs. (Tue, 24 May 2022 12:29:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars Ingebrigtsen <larsi <at> gnus.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 24 May 2022 12:29:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: bug-gnu-emacs <at> gnu.org
Cc: Andrea Corallo <akrl <at> sdf.org>
Subject: 29.0.50; nativecomp "make check" leaves temporary files
Date: Tue, 24 May 2022 14:27:57 +0200
There's been several bug reports about this, and some parts have been
fixed, and some haven't, so I thought it was tidier to just start a new
bug report.

"make check" leaves a number of .eln files in /tmp:

-rwxr-xr-x  1 larsi larsi  17K May 24 14:17 freefn-636f6d702d74657374732d74636f2d66_comp_tests_tco_f_03Mlfro.eln
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 freefn-636f6d702d74657374732d7265742d747970652d737065632d66_comp_tests_ret_type_spec_f_0P3KMwW.eln
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 freefn-636f6d702d74657374732d7265742d747970652d737065632d66_comp_tests_ret_type_spec_f_0HCgau3.eln
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 freefn-636f6d702d74657374732d7265742d747970652d737065632d66_comp_tests_ret_type_spec_f_07UB8oG.eln
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 freefn-636f6d702d74657374732d7265742d747970652d737065632d66_comp_tests_ret_type_spec_f_0hxFMLB.eln
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 freefn-636f6d702d74657374732d7265742d747970652d737065632d66_comp_tests_ret_type_spec_f_0tCXbUJ.eln

[70 lines snipped...]

  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 comp-lambda-2uPyz5.eln
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 freefn-636f6d702d74657374732d66772d70726f702d312d66_comp_tests_fw_prop_1_f_0uYk3VG.eln
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 freefn-636f6d702d74657374732f6672656566756e2d66_comp_testsfreefun_f_0mrF1Df.eln
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 freefn-636f6d702d74657374732d667265652d66756e2d66_comp_tests_free_fun_f_0BjsR9Y.eln
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 comp-lambda-TrdvE6.eln
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 comp-lambda-ZcSh1m.eln
  -rw-------  1 larsi larsi    6 May 24 14:17 #emacs-test-7eiJqR-buffer#
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 comp-lambda-iKU6Yw.eln
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 comp-lambda-fWiQc3.eln
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 comp-lambda-h08oGX.eln
  -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 comp-lambda-Hia2Rq.eln

I've tried to read the code to determine just what's responsible for
deleting these files, but I haven't been successful, and why that's not
called when saying "make check".  Andrea?



In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0)
 of 2022-05-17 built on xo
Repository revision: 803041e01474f2a522170c9f388068e8460be2ae
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Debian GNU/Linux bookworm/sid


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55611; Package emacs. (Tue, 24 May 2022 15:06:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 55611 <at> debbugs.gnu.org
Cc: Andrea Corallo <akrl <at> sdf.org>
Subject: Re: bug#55611: 29.0.50; nativecomp "make check" leaves temporary files
Date: Tue, 24 May 2022 17:04:44 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>   -rw-------  1 larsi larsi    6 May 24 14:17 #emacs-test-7eiJqR-buffer#

I found the cause for (and fixed) that one -- it wasn't related to
nativecomp.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55611; Package emacs. (Tue, 24 May 2022 15:26:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 55611 <at> debbugs.gnu.org
Cc: Andrea Corallo <akrl <at> sdf.org>
Subject: Re: bug#55611: 29.0.50; nativecomp "make check" leaves temporary files
Date: Tue, 24 May 2022 17:24:57 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> "make check" leaves a number of .eln files in /tmp:
>
> -rwxr-xr-x  1 larsi larsi  17K May 24 14:17 freefn-636f6d702d74657374732d74636f2d66_comp_tests_tco_f_03Mlfro.eln

I've now fixed this in the test harness for comp-tests.el in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 55611 <at> debbugs.gnu.org and Lars Ingebrigtsen <larsi <at> gnus.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 24 May 2022 15:26:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55611; Package emacs. (Tue, 24 May 2022 15:39:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 55611 <at> debbugs.gnu.org
Cc: Andrea Corallo <akrl <at> sdf.org>
Subject: Re: bug#55611: 29.0.50; nativecomp "make check" leaves temporary files
Date: Tue, 24 May 2022 17:37:56 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I've now fixed this in the test harness for comp-tests.el in Emacs 29.

But there's still one problem left.  Eval this:

(native-compile '(lambda (x) (1+ x)))

You'll get a /tmp/comp-lambda-MQH5CY.eln file.

So should that function delete the generated spill file here, Andrea?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug No longer marked as fixed in versions 29.1 and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 24 May 2022 15:39:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55611; Package emacs. (Thu, 26 May 2022 12:49:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 55611 <at> debbugs.gnu.org
Cc: Andrea Corallo <akrl <at> sdf.org>
Subject: Re: bug#55611: 29.0.50; nativecomp "make check" leaves temporary files
Date: Thu, 26 May 2022 14:47:52 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> So should that function delete the generated spill file here, Andrea?

I've now made comp--native-compile delete those files.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 55611 <at> debbugs.gnu.org and Lars Ingebrigtsen <larsi <at> gnus.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 26 May 2022 12:49:02 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. (Fri, 24 Jun 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 278 days ago.

Previous Next


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