From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#60996: 29.0.60; Native compile fails to remove temp file for trampoline Date: Tue, 24 Jan 2023 21:12:38 +0200 Message-ID: <83bkmnhhll.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22673"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60996@debbugs.gnu.org To: andrewjmoreton@gmail.com, akrl@sdf.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 24 20:13:24 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 1pKOjS-0005jk-R0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Jan 2023 20:13:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKOjB-00041g-5d; Tue, 24 Jan 2023 14:13:05 -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 1pKOj9-00041M-2o for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 14:13:03 -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 1pKOj8-0003xL-QG for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 14:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pKOj8-0001dy-9o for bug-gnu-emacs@gnu.org; Tue, 24 Jan 2023 14:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Jan 2023 19:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60996 X-GNU-PR-Package: emacs Original-Received: via spool by 60996-submit@debbugs.gnu.org id=B60996.16745875566287 (code B ref 60996); Tue, 24 Jan 2023 19:13:02 +0000 Original-Received: (at 60996) by debbugs.gnu.org; 24 Jan 2023 19:12:36 +0000 Original-Received: from localhost ([127.0.0.1]:57669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKOii-0001dL-4S for submit@debbugs.gnu.org; Tue, 24 Jan 2023 14:12:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKOig-0001d3-Ov for 60996@debbugs.gnu.org; Tue, 24 Jan 2023 14:12:35 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKOia-0003qL-Vl; Tue, 24 Jan 2023 14:12:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=WED5CuSGVzOk5ojICOoiYTTltDSaayqFeGLUvzHGIlQ=; b=Cf9TOKN4wuLa CVsDJGxgmFC/OpwUXBrvvhHRBZ9vT0MnW4jgFMTi44ubkkf/V3M+eMCLnZYVbFZBHgukFzr0zeU2z bm0JtpVZ0Iy7/7y+hB0wvQOnLHtV3hB6P/ntoRxEKqx37lhxeA1n0JqtnOfH74ZnNjSLUrG2IDsWF 5D+m8+ICcxh5jWM7UHtK4AiKjRQGFM7hFUcqx4J7kSbk7XSf3e1+49dBj6iAIXvim6iBc2hZ+I7rH 2NrUvFBhwIZwQCM7961563twyUrf9yMPK1uHJmw9iG54B0ArYNXAXI6amUH2a/5W4auxRb6DxSvMg UmZWjSNO7qwOALvfuNTSyg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKOia-0005Ed-8Q; Tue, 24 Jan 2023 14:12:28 -0500 In-Reply-To: <83k01bhlek.fsf@gnu.org> (message from Eli Zaretskii on Tue, 24 Jan 2023 19:50:27 +0200) 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:254069 Archived-At: > Cc: 60996@debbugs.gnu.org > Date: Tue, 24 Jan 2023 19:50:27 +0200 > From: Eli Zaretskii > > and I still don't have a clear picture regarding which code calls > delete-file and why. For example, the first backtrace above says that > comp--native-compile calls delete-file via some byte-compiled > function, not directly. But what is that byte-compiled function? can > you figure that out? > > 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? With this simple .emacs: (require 'delight nil t) I cannot reproduce these errors from delete-file, although the trampoline for advice-add in delight.el does get natively-compiled. After the compilation finishes, I see no left-over *.eln files in my system temporary directory. So there's definitely more in your case than meets the eye, and just getting Emacs to compile a trampoline is not enough to trigger the problem.