I cannot emerge app-emacs/lua-mode-20151025 anymore due to the following error message: > lua-mode.el:103:1:Error: Symbol’s function definition is void: rx-form This happens after having upgraded my Gentoo system. In particular, I replaced app-editors/emacs-26.3-r1 with app-editors/emacs-27.0.91.
Created attachment 640180 [details] build.log
Created attachment 640182 [details] info.txt emerge --info
*** Bug 725242 has been marked as a duplicate of this bug. ***
Doesn't look like upstream is going to react to this any time soon... I think we might be due for a VCS snapshot of lua-mode.
Either that, or we could cherry-pick the Emacs 27 compatibility fix and apply it as a patch: https://github.com/immerrr/lua-mode/commit/4342dd1b7fa505a030e6a6871a3c4f053dbf6ad2 I am reluctant to make a snapshot of a commit that upstream doesn't find fit for a release.
If it's as simple as cherry-picking a single patch, by all means do go ahead. Not that you need my permission for that :-)
Unfortunately, the commit alone doesn't apply. I vote we just make our own snapshot.
(In reply to Aaron W. Swenson from comment #7) > Unfortunately, the commit alone doesn't apply. Sure it does, after resolving the conflicts. :) > I vote we just make our own snapshot. Noted. I haven't made up my mind yet.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69789e3b963c9c485a575425fbbcbf26c84298ae commit 69789e3b963c9c485a575425fbbcbf26c84298ae Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2020-09-20 08:48:20 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2020-09-20 08:48:45 +0000 app-emacs/lua-mode: Version bump to 20151025_p20200513. Last upstream release in 2015, therefore making a snapshot. Closes: https://bugs.gentoo.org/723798 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Ulrich Müller <ulm@gentoo.org> app-emacs/lua-mode/Manifest | 1 + .../lua-mode/lua-mode-20151025_p20200513.ebuild | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+)
Latest stable version of app-emacs/lua-mode does not compile against other stable package versions.
(In reply to Sergei Trofimovich from comment #10) > Latest stable version of app-emacs/lua-mode does not compile against other > stable package versions. Can you be more specific please?
*** Bug 752999 has been marked as a duplicate of this bug. ***
lua-mode-20151025 currently doesn't compile with emacs-27 (see https://bugs.gentoo.org/752999 and maybe https://bugs.gentoo.org/725242), not sure if https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69789e3b963c9c485a575425fbbcbf26c84298ae was insufficient or what. As lua-mode-20201010 seems to work I suggest marking that stable and removing lua-mode-20151025, otherwise this bug probably needs to be reopened.