I just performed an upgrade from: - net-im/prosody-0.11.7-r2 ...to: - net-im/prosody-0.11.7-r100 ...and it appears to have done a whole Lua transition, however, when I restart prosody, I get: * Caching service dependencies ... [ ok ] * Stopping Prosody XMPP server ... [ ok ] /etc/init.d/prosody: line 22: luac: command not found * ERROR: prosody failed to start ...changing that line to luac5.1 makes it work.
I find it strange that luac is missing if using 5.1 as it should've called eselect-lua (exception if used luajit) But either way lua-single packages should still be made to call the requested version directly before we get a potential future [-native-symlinks] event.
Hi. Thank you very much for pointing this out. Tbh, I didn't saw, that the init script was calling luac. I don't see any sense in running luac manually, as there is 'prosodyctl check config', which I will use instead, when bumping init scripts.
(In reply to Ionen Wolkens from comment #1) > I find it strange that luac is missing if using 5.1 as it should've called > eselect-lua (exception if used luajit) If eselect-lua is run, this should be the case. At least it's the case here? > But either way lua-single packages should still be made to call the > requested version directly before we get a potential future > [-native-symlinks] event. It's clearly a bug, as all packages using lua-single should always run correctly, if eselect-lua has been never run.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0627ace426453e33e7c25cee06997274a002a127 commit 0627ace426453e33e7c25cee06997274a002a127 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2021-01-26 17:46:33 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2021-01-26 17:48:35 +0000 net-im/prosody: fix checkconfig on slotted lua Closes: https://bugs.gentoo.org/767202 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> net-im/prosody/files/prosody.initd-r5 | 44 +++++++++++++ net-im/prosody/prosody-0.11.7-r101.ebuild | 103 ++++++++++++++++++++++++++++++ 2 files changed, 147 insertions(+)