unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Arash Esbati <arash@gnu.org>
To: emacs-devel@gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>
Subject: Re: master ef6059cb83: Make comp--native-compile delete the temp file it creates
Date: Fri, 27 May 2022 15:00:18 +0200	[thread overview]
Message-ID: <865ylrp1ul.fsf@gnu.org> (raw)
In-Reply-To: <20220526124735.2E1B1C01683@vcs2.savannah.gnu.org> (Lars Ingebrigtsen's message of "Thu, 26 May 2022 08:47:35 -0400 (EDT)")

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



       reply	other threads:[~2022-05-27 13:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <165356925488.620.3333948362894019085@vcs2.savannah.gnu.org>
     [not found] ` <20220526124735.2E1B1C01683@vcs2.savannah.gnu.org>
2022-05-27 13:00   ` Arash Esbati [this message]
2022-05-28 10:32     ` master ef6059cb83: Make comp--native-compile delete the temp file it creates Lars Ingebrigtsen
2022-05-28 11:26       ` Arash Esbati

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=865ylrp1ul.fsf@gnu.org \
    --to=arash@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).