Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 784170 - dev-lua/*: possible to disable all lua implementations
Summary: dev-lua/*: possible to disable all lua implementations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-19 15:30 UTC by Rolf Eike Beer
Modified: 2021-04-21 20:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer archtester 2021-04-19 15:30:55 UTC
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
Comment 1 Conrad Kostecki gentoo-dev 2021-04-21 20:36:49 UTC
Thank you. The problem is, that I forgot to add REQUIRED_USE="${LUA_REQUIRED_USE}"
. Will fix it.
Comment 2 Larry the Git Cow gentoo-dev 2021-04-21 20:44:39 UTC
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(+)