From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline Date: Wed, 25 Jan 2023 23:49:04 +0000 Message-ID: <86o7qmyy33.fsf@gmail.com> References: <74d13c46-5b26-9dd8-45dc-32b7fda25421@gmail.com> <833583ks9t.fsf@gnu.org> <86wn5evv70.fsf@gmail.com> <83r0vli9gr.fsf@gnu.org> <86edrku3w6.fsf@gmail.com> <83wn5cgkgv.fsf@gnu.org> <83k01bhlek.fsf@gnu.org> <83bkmnhhll.fsf@gnu.org> <864jsfo96k.fsf@gmail.com> <838rhqhllz.fsf@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="22113"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 60996@debbugs.gnu.org Cancel-Lock: sha1:rwTgekcUtJzITa/KuqOVvzlGtGQ= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 26 00:50:12 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pKpWt-0005bS-Sc for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Jan 2023 00:50:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKpWm-0006Q3-4u; Wed, 25 Jan 2023 18:50:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKpWk-0006O0-9s for bug-gnu-emacs@gnu.org; Wed, 25 Jan 2023 18:50:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pKpWk-0008QC-0x for bug-gnu-emacs@gnu.org; Wed, 25 Jan 2023 18:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pKpWj-0001ZR-L7 for bug-gnu-emacs@gnu.org; Wed, 25 Jan 2023 18:50:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <74d13c46-5b26-9dd8-45dc-32b7fda25421@gmail.com> Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Jan 2023 23:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60996 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16746905585974 (code B ref -1); Wed, 25 Jan 2023 23:50:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Jan 2023 23:49:18 +0000 Original-Received: from localhost ([127.0.0.1]:60215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKpW1-0001YH-Ju for submit@debbugs.gnu.org; Wed, 25 Jan 2023 18:49:17 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:39378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKpVz-0001Y9-9T for submit@debbugs.gnu.org; Wed, 25 Jan 2023 18:49:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKpVy-0006Do-Ql for bug-gnu-emacs@gnu.org; Wed, 25 Jan 2023 18:49:14 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKpVx-0008IX-EU for bug-gnu-emacs@gnu.org; Wed, 25 Jan 2023 18:49:14 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pKpVt-0004Fa-Py for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2023 00:49:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.091, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254162 Archived-At: On Wed 25 Jan 2023, Eli Zaretskii wrote: >> From: Andy Moreton >> Date: Tue, 24 Jan 2023 22:32:35 +0000 >> >> On Tue 24 Jan 2023, Eli Zaretskii wrote: >> >> >> There is a direct call to delete-file in comp--native-compile, but is >> >> that the call which fails? And if so, why does it fail? Which code >> >> created the .eln file that comp--native-compile tries to delete? >> >> >From memory I think that involved compiling a trampoline, and >> comp-spill-lap calling one of the comp-spill-lap methods, which was >> probably >> (cl-defmethod comp-spill-lap-function ((form list)) >> >> I cannot reproduce this any longer as I have updated various software, >> so this bug can probably be closed (and reopened later if the problem >> becomes visible again). > > Before we close this, I suggest that you try reproducing again, after > removing the *.eln files from your eln-cache. Basically, as more and > more *.eln files are produced and deposited there, the lower the > probability of seeing any problems with native compilation, since > Emacs stops compiling stuff because it already has what it needs. I tried various combinations of cleaning the .eln cache, bootstrap from a clean tree etc, and leaving or removing trampoline .eln files from %TEMP% and did not get a reproducibe effect. > > (But if you already tried that and still failed, then OK, let's close > this issue.) I also tried running with anti-virus disabled (in case that affected filesystem activity or timing) without any change. Please close this, and we can start again if the problem reappears. AndyM