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
Message #22 received at 76802 <at> debbugs.gnu.org (full text, mbox):
Oh, sorry for accusing you, Stefan. ;-)
I guess there should be some check in package.el that one package won't override (due to a wrong name) another package?
Am So, 9. Mär 2025, um 09:24, schrieb Mauro Aranda:
> 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.
>
>
> Dateianhänge:
> * 0001-Fix-Package-name-for-cond-star.patch
This bug report was last modified 129 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.