GNU bug report logs - #48108
Wishlist: Command to remove redundant eln cache directories [native-comp]

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Thu, 29 Apr 2021 22:00:02 UTC

Severity: wishlist

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: larsi <at> gnus.org, 48108 <at> debbugs.gnu.org, stefankangas <at> gmail.com
Subject: bug#48108: Wishlist: Command to remove redundant eln cache directories [native-comp]
Date: Mon, 28 Nov 2022 15:38:33 +0200
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Mon, 28 Nov 2022 14:09:42 +0100
> Cc: larsi <at> gnus.org, 48108 <at> debbugs.gnu.org, stefankangas <at> gmail.com
> 
> 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?

No, to both.

> The function already deletes any *.eln file in a stale native VERSION-xxxxxxx directory, just not the ones in
> preload/

That's a bug, IMO.  The last directory in native-comp-eln-load-path should
not be emptied.  On a multi-user system, some other user could run an Emacs
that uses the files in the native-lisp/VERSION-xxxxxxx/ directory.




This bug report was last modified 2 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.