From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.devel Subject: Re: master ef6059cb83: Make comp--native-compile delete the temp file it creates Date: Fri, 27 May 2022 15:00:18 +0200 Message-ID: <865ylrp1ul.fsf@gnu.org> References: <165356925488.620.3333948362894019085@vcs2.savannah.gnu.org> <20220526124735.2E1B1C01683@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26890"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 Cc: Lars Ingebrigtsen To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 27 15:08:23 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nuZhV-0006qz-NW for ged-emacs-devel@m.gmane-mx.org; Fri, 27 May 2022 15:08:22 +0200 Original-Received: from localhost ([::1]:43120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuZhU-0000B4-Rr for ged-emacs-devel@m.gmane-mx.org; Fri, 27 May 2022 09:08:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuZa1-0003Rm-2r for emacs-devel@gnu.org; Fri, 27 May 2022 09:00:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56264) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuZa0-0004xJ-OE; Fri, 27 May 2022 09:00:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=i9d5eXILg7ACCKA+8Y3T+ZpwhDHAVRTmMuw31CF0Ej0=; b=chDp99mRvTudPeSYoUYc t5NDdQoyWLP9ko7dVD7pLq92rHzEJBb6Ju0zycc64FcS+ZoKrx6aUrH5W+B4R2FEF8MeEpyPZ3Qmg XqAUxhyr6ed/YmIZCX/D37DKmVnd1gRGpL5C5udnVLoX+9N7ETfhJinPPWiriyB7UzLPAD8REhTyP 6eJ8BGvYB7SLCxWxY95gpnhv4qYrv04N8NLjDOrIzWx5w0HHxd3JiI1JqKPqn0lpdMPYR/srrp5md xn5hp++Qhmkrd2OH7g2aDuXTho4s2efnisIsLUqjv6UuZHDlOJvMWTGMivlZ6T/cUDChTxWp+I/gl qd4nmHaRoUFnHQ==; Original-Received: from p5b326363.dip0.t-ipconnect.de ([91.50.99.99]:63543 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuZZz-0008PE-Ue; Fri, 27 May 2022 09:00:36 -0400 In-Reply-To: <20220526124735.2E1B1C01683@vcs2.savannah.gnu.org> (Lars Ingebrigtsen's message of "Thu, 26 May 2022 08:47:35 -0400 (EDT)") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290310 Archived-At: Lars Ingebrigtsen writes: > branch: master > commit ef6059cb8325dfa2467bb83b2fd2b2d376e360c2 > Author: Lars Ingebrigtsen > Commit: Lars Ingebrigtsen > > 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 () #)() 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 () #) . #f(compiled-function (gv--val) #)) 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