GNU bug report logs - #76874
31.0.50; (assq 'emacs package--builtin-versions) breaks by cond-star

Previous Next

Package: emacs;

Reported by: ote kuu <znmxodq1 <at> gmail.com>

Date: Sat, 8 Mar 2025 23:08:02 UTC

Severity: normal

Merged with 76802, 76861, 76871, 76921

Found in version 31.0.50

Fixed in version 31.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: Tassilo Horn <thorn <at> fastmail.fm>, Stefan Kangas <stefankangas <at> gmail.com>
Cc: 76802 <at> debbugs.gnu.org
Subject: Re: bug#76802: 31.0.50; Error when installing/activating packages due
 to emacs-version mismatch
Date: Sun, 9 Mar 2025 05:24:21 -0300
[Message part 1 (text/plain, inline)]
merge 76802 76861 76871 76874
quit


Tassilo Horn <thorn <at> fastmail.fm> writes:

> Tassilo Horn <thorn <at> fastmail.fm> writes:
>
>>> You wouldn't happen to have a convenient recipe starting from emacs
>>> -Q, do you?  :-)
>>
>> I do.
>>
>> - emacs -Q
>> - M-x list-packages RET
>> - mark ef-themes version 1.9.0 from gnu for (i)nstall
>> - e(x)ecute
>>
>> Debugger entered--Lisp error: (error "This package requires Emacs
>> version 27.1")
>>   signal(error ("This package requires Emacs version 27.1"))
>>   error("This package requires Emacs version %s" "27.1")
>>   package-compute-transaction((#s(package-desc :name ef-themes
>> :version (1 9 0) :summary "Colorful and legible themes" :reqs
>> ((emacs (27 1))) :kind tar :archive "gnu" :dir nil $
>
> I've debugged a bit further and the issue is that
>
>   (package-installed-p 'emacs '(27 1))
>
> still returns t (as it should) in c116dad608a but returns nil starting
> with 5dd8b7e7525.  Well, and the reason for that is that
> package-builtins on master contains
>
>   (emacs . [(1 0) nil "the extensible text editor"])
>
> instead of
>
>   (emacs . [(31 0 50) nil "the extensible text editor"])
>

I didn't notice this report yesterday, so I reported a duplicate.

Re-attaching a patch with my reply and merging all the duplicates I've
found.

[0001-Fix-Package-name-for-cond-star.patch (text/x-patch, attachment)]

This bug report was last modified 71 days ago.

Previous Next


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