From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp] Date: Mon, 28 Nov 2022 14:09:42 +0100 Message-ID: References: <83sfi3nt8g.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000c9dc0505ee8797bc" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23893"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 48108@debbugs.gnu.org, stefankangas@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 28 14:11:23 2022 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 1ozdut-00066C-DJ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Nov 2022 14:11:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozduh-0008QD-30; Mon, 28 Nov 2022 08:11:12 -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 1ozduZ-0008NZ-Ik for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 08:11:06 -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 1ozduY-0001LD-CR for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 08:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozduX-0004CZ-Py for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2022 08:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2022 13:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48108 X-GNU-PR-Package: emacs Original-Received: via spool by 48108-submit@debbugs.gnu.org id=B48108.166964102516139 (code B ref 48108); Mon, 28 Nov 2022 13:11:01 +0000 Original-Received: (at 48108) by debbugs.gnu.org; 28 Nov 2022 13:10:25 +0000 Original-Received: from localhost ([127.0.0.1]:48527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozdtx-0004CF-I6 for submit@debbugs.gnu.org; Mon, 28 Nov 2022 08:10:25 -0500 Original-Received: from mail-ed1-f44.google.com ([209.85.208.44]:37685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozdtw-0004C7-4K for 48108@debbugs.gnu.org; Mon, 28 Nov 2022 08:10:24 -0500 Original-Received: by mail-ed1-f44.google.com with SMTP id l11so15351552edb.4 for <48108@debbugs.gnu.org>; Mon, 28 Nov 2022 05:10:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=PPzqU+dAJTeNdPH7iPK8SiDQF5NLEmecNI28ZbTFgK0=; b=cbAEE2JmC9do6o8aRcxd5yWRsNx7mGiAHbJ0ffSBG9vV2PptGCMrvKaWzVS+S593wt YhfzyLQGaqiUtnn2RvPZmzVw7b/1YixR9fWoS6JkQl7FSNgOfvcB/ilkxZkAiEW1aCPC lIJaNMkfAU5lvYeoR6kDETzXWjppHLcmJWEeEP0DNcWCDbZ81mHcA+tAsBlNHWOwOuFB 3KgAvSIPb004lLYR95e1Y2PsdDLNCYlGFOYvJXEzeY7fpboh6o5QzAaMRMV+g5uD6e4N 6DUb5lj/ktoPjZiz7yMss7hfkkVmdHDSvSGXQ9Wa8Y+Uw4jZ/5tJfllMXuGyZhGuXrvy IKaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PPzqU+dAJTeNdPH7iPK8SiDQF5NLEmecNI28ZbTFgK0=; b=vT8NiQgqTHDX3LvVwSKZc0ZetM7pkPFurQUrJAeOQVgT4cMuaRDayi9EjJ2K9S5Fq7 l/rufKkGb9+qDCZRSxkhXRW9r8CPShRirKQEv2l0TC8pEHNDyjaDndxeJbCANfTJTsrJ Rum1MxHMdXR+/nBeEoGNTEr6NPTMKnMs4x2NQNL5icmx8qE15ZKW2r+HyTeZo04/tXRK iCA0z/lTKiCuhyYgHrX/F6ZaLSU5+GxzNiG6/Z7Au3/BbSjcH48Nd8YgV0ZCu2IBtNw0 1ajnFg/fSPHi4gxrsHia6jP/GBYRy9TS9cgFQMCgUgGjSgo3MKZBlPcjidtV1MZ8DL9P Nfrg== X-Gm-Message-State: ANoB5pllcXPB8NuHrtvH/Bz38pOUyA86Ij1aycmJpXrC+uv+uZCpwYGT yAv4v4LiS1ijypkaJaVWytQwBpYu8+YKl50bf/A= X-Google-Smtp-Source: AA0mqf6jZithR/jsYWiXJszxGJSZUJG8Mlxqag2B9XwKrL3yTG4FDAfP2ndRjlQx3Vi4XEy936EZQBY3HS5icZfxpp4= X-Received: by 2002:a05:6402:444c:b0:462:2e27:3bf2 with SMTP id o12-20020a056402444c00b004622e273bf2mr47400645edb.13.1669641018135; Mon, 28 Nov 2022 05:10:18 -0800 (PST) In-Reply-To: <83sfi3nt8g.fsf@gnu.org> 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:249293 Archived-At: --000000000000c9dc0505ee8797bc Content-Type: text/plain; charset="UTF-8" Some of the weird things I see are perhaps the consequence of running Emacs in place from the build tree. It is assumed that normal users have write access to native-lisp/VERSION-xxxxxxxx/, but not to native-lisp/VERSION-xxxxxxx/preloaded? The function already deletes any *.eln file in a stale native VERSION-xxxxxxx directory, just not the ones in preload/ --000000000000c9dc0505ee8797bc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Some of the weird things I see are perhaps the consequence of run= ning Emacs in place from the build tree.

It is assumed that normal u= sers have write access to native-lisp/VERSION-xxxxxxxx/, but not to native-= lisp/VERSION-xxxxxxx/preloaded?

The function already deletes any *.e= ln file in a stale native VERSION-xxxxxxx directory, just not the ones in p= reload/


--000000000000c9dc0505ee8797bc--