GNU bug report logs - #59658
native-compile-prune-cache deletes *.eln files in the build's native-lisp directories

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Mon, 28 Nov 2022 14:12:02 UTC

Severity: normal

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59658 in the body.
You can then email your comments to 59658 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#59658; Package emacs. (Mon, 28 Nov 2022 14:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juanma Barranquero <lekktu <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 28 Nov 2022 14:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: native-compile-prune-cache deletes *.eln files in the build's
 native-lisp directories
Date: Mon, 28 Nov 2022 15:11:10 +0100
[Message part 1 (text/plain, inline)]
This is on Windows, and running Emacs in-place after building from trunk
(no installation).

If you have several VERSION-xxxxxxxx directories under native-lisp/ and do

M-x native-compile-prune-cache <RET>

this deletes any .eln files in the VERSION-xxxxxxxx directories of the
stale caches. Their preloaded/ subdirectories and content are not affected.

Presumably this should skip the last entry in native-comp-eln-load-path,
which is documented as being "assumed to be the system one".
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59658; Package emacs. (Mon, 28 Nov 2022 14:47:02 GMT) Full text and rfc822 format available.

Message #8 received at 59658 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 59658 <at> debbugs.gnu.org
Subject: Re: bug#59658: native-compile-prune-cache deletes *.eln files in the
 build's native-lisp directories
Date: Mon, 28 Nov 2022 16:46:32 +0200
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Mon, 28 Nov 2022 15:11:10 +0100
> 
> This is on Windows, and running Emacs in-place after building from trunk (no installation).
> 
> If you have several VERSION-xxxxxxxx directories under native-lisp/ and do 
> 
> M-x native-compile-prune-cache <RET>
> 
> this deletes any .eln files in the VERSION-xxxxxxxx directories of the stale caches. Their preloaded/
> subdirectories and content are not affected.
> 
> Presumably this should skip the last entry in native-comp-eln-load-path, which is documented as being
> "assumed to be the system one".

Yes, I think it should skip the last entry.  AFAIR, that was the intent with
this command, in which case what it does now is an oversight of sorts.




Reply sent to Juanma Barranquero <lekktu <at> gmail.com>:
You have taken responsibility. (Mon, 28 Nov 2022 16:50:02 GMT) Full text and rfc822 format available.

Notification sent to Juanma Barranquero <lekktu <at> gmail.com>:
bug acknowledged by developer. (Mon, 28 Nov 2022 16:50:02 GMT) Full text and rfc822 format available.

Message #13 received at 59658-done <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 59658-done <at> debbugs.gnu.org
Subject: Re: bug#59658: native-compile-prune-cache deletes *.eln files in the
 build's native-lisp directories
Date: Mon, 28 Nov 2022 17:49:01 +0100
[Message part 1 (text/plain, inline)]
Fixed with commit 2772ebe366 of 2022-11-28:
Do not prune native-compiled system directories (bug#59658)
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Dec 2022 12:24:08 GMT) Full text and rfc822 format available.

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

Previous Next


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