GNU bug report logs - #79742
`package-dir-info` in `master` looks up package descriptors recursively, which breaks existing tools

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Fri, 31 Oct 2025 19:51:02 UTC

Severity: normal

To reply to this bug, email your comments to 79742 AT debbugs.gnu.org.

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#79742; Package emacs. (Fri, 31 Oct 2025 19:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Pogonyshev <pogonyshev <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 31 Oct 2025 19:51:02 GMT) Full text and rfc822 format available.

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

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: `package-dir-info` in `master` looks up package descriptors
 recursively, which breaks existing tools
Date: Fri, 31 Oct 2025 20:50:11 +0100
[Message part 1 (text/plain, inline)]
The original commit that caused this:

    b81f937e60b Do a deep-copy when installing a package from a local
package

The second hunk touches `package-dir-info`. As I understand from Spencer
Baugh's comments, it's actually not needed to address the initial problem,
but instead it actually causes regression in real world.

This has long been discussed on Emacs-devel, starting here:
https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00332.html

Some particularly relevant emails:
* https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00656.html
(contains a test case)
* https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00657.html
* https://lists.gnu.org/archive/html/emacs-devel/2025-09/msg00122.html

It has been suggested to me that creating a bug might help to get a fix
committed sooner.

Paul
[Message part 2 (text/html, inline)]

This bug report was last modified 5 days ago.

Previous Next


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