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: Thu, 26 Jan 2023 22:03:39 +0200 Message-ID: <83o7qlcbc4.fsf@gnu.org> References: <74d13c46-5b26-9dd8-45dc-32b7fda25421@gmail.com> <833583ks9t.fsf@gnu.org> <86tu0iwx49.fsf@gmail.com> <83a629i3aj.fsf@gnu.org> <83r0vhcf9m.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10969"; mail-complaints-to="usenet@ciao.gmane.io" Cc: andrewjmoreton@gmail.com, 60996@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 26 21:04:51 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 1pL8UL-0002cI-SI for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Jan 2023 21:04:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pL8Td-0004fo-Vu; Thu, 26 Jan 2023 15:04:06 -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 1pL8Tc-0004eU-8e for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2023 15:04:04 -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 1pL8Ta-0007Ji-TF for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2023 15:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pL8Ta-0001zj-9H for bug-gnu-emacs@gnu.org; Thu, 26 Jan 2023 15:04: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: Thu, 26 Jan 2023 20:04: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.16747634407660 (code B ref 60996); Thu, 26 Jan 2023 20:04:02 +0000 Original-Received: (at 60996) by debbugs.gnu.org; 26 Jan 2023 20:04:00 +0000 Original-Received: from localhost ([127.0.0.1]:36274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pL8TY-0001zS-52 for submit@debbugs.gnu.org; Thu, 26 Jan 2023 15:04:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pL8TW-0001zE-1P for 60996@debbugs.gnu.org; Thu, 26 Jan 2023 15:03:58 -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 1pL8TP-0007Cz-Iy; Thu, 26 Jan 2023 15:03:52 -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=iAFc2k0uPy/UdDaYxgi0Glk9P1XwliOVGI/EGRGSflo=; b=fBRoGvt4nou2 tLeWhbdeLRBGhdMQmSvf7hzhYRS9Jd4ufChqtY0RipHoSePnlcpgm2qDqpfP+K6v9QY2g7fnZ2uX6 zCOzn9kkft1noXovH8t1cPI+656mK99tokqdQRAAQ9CGdbLSIof3NSccxxqvCKWp5rfzN5wRRNxZz W9HNbM5M/kmb3pyprnszKR7M1mNFJXg3qoD+g6HH8YrNYCgdhAvgxcbIt1gzaQVKCIDXyci8ZNSp6 SAuPcmjF4gWW4Sp52OGTrm0FllfnnylnvDz8sZlSgPdivwOFxC2iMtQkOtrE1yJS7ItoaQBgnbDBC 2rH9J1AnrV205kQZnR0Lww==; 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 1pL8TO-0005kH-Ck; Thu, 26 Jan 2023 15:03:51 -0500 In-Reply-To: (message from Andrea Corallo on Thu, 26 Jan 2023 19:46:25 +0000) 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:254232 Archived-At: > From: Andrea Corallo > Cc: andrewjmoreton@gmail.com, 60996@debbugs.gnu.org > Date: Thu, 26 Jan 2023 19:46:25 +0000 > > >> If (as I understand) in Windows we can't delete a mapped file we have a > >> problem more to solve. > > > > Yes. If this is what happens, then I think we will have to maintain a > > list of such trampolines, and delete them just before exiting, after > > calling dynlib_close for them. > > Mmmhh, and what if another Emacs tries to delete or overwrite the same > file? This shouldn't happen, since the *.eln files are generated with make-temp-file. > But my question is: is this mechanism _really_ necessary? > > >From my POV it's just a kludge that was, is and will be source of > problems. Was never clear to me for which specific reason this was > implemented as, at the time, I had the impression that all Debian > requirements could be handled with what we already offered. > > At the time I firmly opposed to this change, but I was told by Lars it > went into master "for discussion" (!?), indeed the review discussion > never happened... and now we are left with this present. > > Unless we have a very strong reason to keep it, I believe we should just > get rid of this mechanism, otherwise it will be source of pain for us > again and again in the future. I'll have to refresh my memory about the reasons and the actual changeset.