While it seems to be correctly detected that enabling no lua implementation is invalid most of the time there are cases where it fails like this: * No Lua implementation selected for the build. Please add one * of the following values to your LUA_TARGETS * (in make.conf or package.use): * * lua5-1 lua5-2 lua5-3 lua5-4 luajit * ERROR: dev-lua/luasystem-0.2.1_p0-r102::gentoo failed (prepare phase): * No supported Lua implementation in LUA_TARGETS. I have seen this at least on the following ebuilds: USE='-lua_targets_lua5-1 -lua_targets_lua5-2 -lua_targets_lua5-3 -lua_targets_lua5-4' failed for =dev-lua/busted-htest-1.0.0-r100 USE='-lua_targets_lua5-1 -lua_targets_lua5-2 -lua_targets_lua5-3 -lua_targets_lua5-4' failed for =dev-lua/lua-argparse-0.7.1 USE='-lua_targets_lua5-1 -lua_targets_lua5-2 -lua_targets_lua5-3 -lua_targets_lua5-4' failed for =dev-lua/luasystem-0.2.1_p0-r102 USE='-lua_targets_lua5-1 -lua_targets_lua5-2 -lua_targets_lua5-3 -lua_targets_lua5-4' failed for =dev-lua/mpack-1.0.8-r100
Thank you. The problem is, that I forgot to add REQUIRED_USE="${LUA_REQUIRED_USE}" . Will fix it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fde01b70e0caf55ff8e2fee2ce024f69325c8429 commit fde01b70e0caf55ff8e2fee2ce024f69325c8429 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2021-04-21 20:43:14 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2021-04-21 20:43:14 +0000 dev-lua/mpack: add missing LUA_REQUIRED_USE Closes: https://bugs.gentoo.org/784170 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> dev-lua/mpack/mpack-1.0.8-r100.ebuild | 1 + 1 file changed, 1 insertion(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80a119b31508e83ac751a0f3bf8e6eae0aa91859 commit 80a119b31508e83ac751a0f3bf8e6eae0aa91859 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2021-04-21 20:41:47 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2021-04-21 20:41:51 +0000 dev-lua/luasystem: add missing LUA_REQUIRED_USE Bug: https://bugs.gentoo.org/784170 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> dev-lua/luasystem/luasystem-0.2.1_p0-r102.ebuild | 1 + 1 file changed, 1 insertion(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb8c1d04498ed2d50d419db79838e77954a98758 commit eb8c1d04498ed2d50d419db79838e77954a98758 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2021-04-21 20:39:30 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2021-04-21 20:39:50 +0000 dev-lua/lua-argparse: add missing LUA_REQUIRED_USE Bug: https://bugs.gentoo.org/784170 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> dev-lua/lua-argparse/lua-argparse-0.7.1.ebuild | 1 + 1 file changed, 1 insertion(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec4cc6096c166092876e803972b3c4a5eea6f48d commit ec4cc6096c166092876e803972b3c4a5eea6f48d Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2021-04-21 20:38:14 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2021-04-21 20:39:42 +0000 dev-lua/busted-htest: add missing LUA_REQUIRED_USE Bug: https://bugs.gentoo.org/784170 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> dev-lua/busted-htest/busted-htest-1.0.0-r100.ebuild | 1 + 1 file changed, 1 insertion(+)