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=8e322bbaa36304af377d3086b11bd45287d99f6e commit 8e322bbaa36304af377d3086b11bd45287d99f6e Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2020-11-14 14:02:43 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2020-11-14 14:03:27 +0000 dev-lua/lua-bit32: migrate to lua eclass Also added myself as co-maintainer, since this is a direct dep for net-im/prosody. Closes: https://bugs.gentoo.org/752615 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> dev-lua/lua-bit32/lua-bit32-5.3.5-r100.ebuild | 55 +++++++++++++++++++++++++++ dev-lua/lua-bit32/metadata.xml | 26 +++++++------ profiles/package.mask | 1 + 3 files changed, 71 insertions(+), 11 deletions(-)
Doesn't build for me, src_compile aborts on being unable to find lua.h.
That's really strange. It did build in my chroot with lotted-lua. Could you give me the full build.log? I will have a look into it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b5eadf238bca4d1aa983578457d7d15317f1a7b commit 4b5eadf238bca4d1aa983578457d7d15317f1a7b Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2020-11-16 17:27:59 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2020-11-16 17:29:32 +0000 dev-lua/lua-bit32: use correct lua version The previous revision used wrongly the system enabled lua instead of the LUA_TARGETS. The change now uses always the correct LUA. Also updated LUA_CPATH to use for each LUA version the correct *.so file. Closes: https://bugs.gentoo.org/752615 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> dev-lua/lua-bit32/lua-bit32-5.3.5-r101.ebuild | 75 +++++++++++++++++++++++++++ 1 file changed, 75 insertions(+)