unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55611: 29.0.50; nativecomp "make check" leaves temporary files
@ 2022-05-24 12:27 Lars Ingebrigtsen
  2022-05-24 15:04 ` Lars Ingebrigtsen
  2022-05-24 15:24 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-24 12:27 UTC (permalink / raw)
  To: 55611; +Cc: Andrea Corallo


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






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#55611: 29.0.50; nativecomp "make check" leaves temporary files
  2022-05-24 12:27 bug#55611: 29.0.50; nativecomp "make check" leaves temporary files Lars Ingebrigtsen
@ 2022-05-24 15:04 ` Lars Ingebrigtsen
  2022-05-24 15:24 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-24 15:04 UTC (permalink / raw)
  To: 55611; +Cc: Andrea Corallo

Lars Ingebrigtsen <larsi@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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#55611: 29.0.50; nativecomp "make check" leaves temporary files
  2022-05-24 12:27 bug#55611: 29.0.50; nativecomp "make check" leaves temporary files Lars Ingebrigtsen
  2022-05-24 15:04 ` Lars Ingebrigtsen
@ 2022-05-24 15:24 ` Lars Ingebrigtsen
  2022-05-24 15:37   ` Lars Ingebrigtsen
  1 sibling, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-24 15:24 UTC (permalink / raw)
  To: 55611; +Cc: Andrea Corallo

Lars Ingebrigtsen <larsi@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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#55611: 29.0.50; nativecomp "make check" leaves temporary files
  2022-05-24 15:24 ` Lars Ingebrigtsen
@ 2022-05-24 15:37   ` Lars Ingebrigtsen
  2022-05-26 12:47     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-24 15:37 UTC (permalink / raw)
  To: 55611; +Cc: Andrea Corallo

Lars Ingebrigtsen <larsi@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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#55611: 29.0.50; nativecomp "make check" leaves temporary files
  2022-05-24 15:37   ` Lars Ingebrigtsen
@ 2022-05-26 12:47     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-26 12:47 UTC (permalink / raw)
  To: 55611; +Cc: Andrea Corallo

Lars Ingebrigtsen <larsi@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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-26 12:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-24 12:27 bug#55611: 29.0.50; nativecomp "make check" leaves temporary files Lars Ingebrigtsen
2022-05-24 15:04 ` Lars Ingebrigtsen
2022-05-24 15:24 ` Lars Ingebrigtsen
2022-05-24 15:37   ` Lars Ingebrigtsen
2022-05-26 12:47     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).