GNU bug report logs -
#76802
31.0.50; Error when installing/activating packages due to emacs-version mismatch
Previous Next
Reported by: Tassilo Horn <thorn <at> fastmail.fm>
Date: Fri, 7 Mar 2025 07:22:01 UTC
Severity: normal
Merged with 76861,
76871,
76874,
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
View this message in rfc822 format
[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 128 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.