unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master ef6059cb83: Make comp--native-compile delete the temp file it creates
       [not found] ` <20220526124735.2E1B1C01683@vcs2.savannah.gnu.org>
@ 2022-05-27 13:00   ` Arash Esbati
  2022-05-28 10:32     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Arash Esbati @ 2022-05-27 13:00 UTC (permalink / raw)
  To: emacs-devel; +Cc: Lars Ingebrigtsen

Lars Ingebrigtsen <larsi@gnus.org> writes:

> branch: master
> commit ef6059cb8325dfa2467bb83b2fd2b2d376e360c2
> Author: Lars Ingebrigtsen <larsi@gnus.org>
> Commit: Lars Ingebrigtsen <larsi@gnus.org>
>
>     Make comp--native-compile delete the temp file it creates
>     
>     * lisp/emacs-lisp/comp.el (comp--native-compile): Delete the
>     temporary files we create (bug#55611).

After this change, I get the following error during the compilation
(which actually finishes):

--8<---------------cut here---------------start------------->8---
  ELC      international/textsec.elc

In toplevel form:
international/emoji.el:32:2: Error: Removing old name: Permission denied, z:/pathto/.emacs.d/eln-cache/29.0.50-44d24976/subr--trampoline-61626f72742d7265637572736976652d65646974_abort_recursive_edit_0.eln
  ELC      international/textsec-check.elc
make[2]: *** [Makefile:324: international/emoji.elc] Error 1
make[2]: *** Waiting for unfinished jobs....
  ELC      international/utf7.elc
--8<---------------cut here---------------end--------------->8---

When starting the finished product, I get this error:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (permission-denied "Removing old name" "Permission denied" "z:/pathto/.emacs.d/eln-cache/29.0.50-44d24976/subr--trampoline-68616e646c652d7377697463682d6672616d65_handle_switch_frame_0.eln")
  delete-file("z:/pathto/.emacs.d/eln-cache/29.0.50-44d24976/subr--trampoline-68616e646c652d7377697463682d6672616d65_handle_switch_frame_0.eln")
  #f(compiled-function () #<bytecode -0x1f3b47813f4d5a92>)()
  comp--native-compile((lambda (arg0 &optional) (let ((f #'handle-switch-frame)) (funcall f arg0))) nil "d:/arash/.emacs.d/eln-cache/29.0.50-44d24976/subr-...")
  comp-trampoline-compile(handle-switch-frame)
  comp-subr-trampoline-install(handle-switch-frame)
  advice--add-function(:after (#f(compiled-function () #<bytecode 0x3647c019df7e91>) . #f(compiled-function (gv--val) #<bytecode 0x85c60bbba7cb3c2>)) doom-modeline-focus-change nil)
--8<---------------cut here---------------end--------------->8---

The issue doesn't occur when I build 06c79dcfcb.  This is on Win10 with
Mingw64.  I issue 'git clean -fdx' before running autogen.sh.

My apologies for the long lines.

Best, Arash



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

* Re: master ef6059cb83: Make comp--native-compile delete the temp file it creates
  2022-05-27 13:00   ` master ef6059cb83: Make comp--native-compile delete the temp file it creates Arash Esbati
@ 2022-05-28 10:32     ` Lars Ingebrigtsen
  2022-05-28 11:26       ` Arash Esbati
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-28 10:32 UTC (permalink / raw)
  To: Arash Esbati; +Cc: emacs-devel

Arash Esbati <arash@gnu.org> writes:

>   comp--native-compile((lambda (arg0 &optional) (let ((f #'handle-switch-frame)) (funcall f arg0))) nil "d:/arash/.emacs.d/eln-cache/29.0.50-44d24976/subr-...")
>   comp-trampoline-compile(handle-switch-frame)
>   comp-subr-trampoline-install(handle-switch-frame)

I think this should be fixed on the trunk now, if I'm reading the logic
correctly.

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



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

* Re: master ef6059cb83: Make comp--native-compile delete the temp file it creates
  2022-05-28 10:32     ` Lars Ingebrigtsen
@ 2022-05-28 11:26       ` Arash Esbati
  0 siblings, 0 replies; 3+ messages in thread
From: Arash Esbati @ 2022-05-28 11:26 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: emacs-devel

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I think this should be fixed on the trunk now, if I'm reading the logic
> correctly.

Thanks for the fix, it works.

Best, Arash



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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <165356925488.620.3333948362894019085@vcs2.savannah.gnu.org>
     [not found] ` <20220526124735.2E1B1C01683@vcs2.savannah.gnu.org>
2022-05-27 13:00   ` master ef6059cb83: Make comp--native-compile delete the temp file it creates Arash Esbati
2022-05-28 10:32     ` Lars Ingebrigtsen
2022-05-28 11:26       ` Arash Esbati

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).