In order for Gentoo Linux to properly support side-by-side installation of different versions of Lua (including LuaJIT), please migrate this package as to lua.eclass (for packages which should support multiple Lua implementations at the same time, i.e. most likely Lua modules) or lua-single.eclass (for packages which only have to support one Lua implementation at a time). For details, consult documentation of respective eclasses as well as already-migrated ebuilds in the tree. Please note that since slotted dev-lang/lua is currently masked, your migrated ebuilds should be masked as well. There is a section of package.mask, created in September 2020, which you can use for this purpose so that it will be easier in the future to unmask them all in one go. Thank you in advance for your effort!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c7badd7786ba4a87ea407be061329bfd7904f8b commit 6c7badd7786ba4a87ea407be061329bfd7904f8b Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-12-20 21:20:46 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-12-20 21:25:04 +0000 net-irc/weechat: migrate to lua-single.eclass Both the latest release and the live ebuild. Upstream build scripts use pkg-config to find Lua so there is no need to pass Lua version to cmake + it might support LuaJIT. On the other hand, they only fall back to unversioned module name having enumerated supported versions so some patching is still necessary. Both migrated ebuilds build, test and install fine for all supported Lua implementations. Closes: https://bugs.gentoo.org/752813 Signed-off-by: Marek Szuba <marecki@gentoo.org> .../files/weechat-3.0-cmake_lua_version.patch | 9 ++ net-irc/weechat/weechat-3.0-r100.ebuild | 170 +++++++++++++++++++++ net-irc/weechat/weechat-9999.ebuild | 11 +- profiles/package.mask | 1 + 4 files changed, 189 insertions(+), 2 deletions(-)