Summary: | lua-single.eclass: LUA_SINGLE_TARGET should be set to a default value as PYTHON_SINGLE_TARGET | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pacho Ramos <pacho> |
Component: | Current packages | Assignee: | William Hubbs <williamh> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | marecki |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Pacho Ramos
2023-04-18 15:47:28 UTC
Mmm... it seems it is not like python case as I see many different packages needing a different single target :S In that case maybe each package should default to a preferred lua version using +USE syntax :/ I am pretty sure that DO set the default of LUA_SINGLE_TARGET - to the target which at least at the time of us having done it provided the greatest package coverage, i.e. lua5-1. Welcome to the Lua world, where in spite of having been EOLed upstream ages ago 5.1 simply will not die. The way targets are set is the same: profiles/base/make.defaults currently contains: PYTHON_TARGETS="python3_10" PYTHON_SINGLE_TARGET="python3_10" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" Some solution might be:
1. Set LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" in make.defaults.
2. Add appropriate per-package lua_single_target_lua5-1 and/or lua_targets_lua5-1 entries in package.use.
Currently the inverse was done, but very incompletely:
In profiles/base/package.use:
>=app-editors/vis-0.7-r1 lua_single_target_lua5-4
>=sys-cluster/ceph-17.2.0 lua_single_target_lua5-4
>=app-arch/rpm-4.17.0 lua_single_target_lua5-4
media-video/wireplumber lua_single_target_lua5-4
Instead of having ever-growing list of ..._lua5-4 entries, I suggest to have initially bigger, gradually shrinking list of ..._lua5-1 entries in package.use.
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #4) > Some solution might be: > > 1. Set LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" in make.defaults. I tried that... but then I realized many other lua-single packages need other lua versions and does not work :/ > > 2. Add appropriate per-package lua_single_target_lua5-1 and/or > lua_targets_lua5-1 entries in package.use. > > > Currently the inverse was done, but very incompletely: > In profiles/base/package.use: > > >=app-editors/vis-0.7-r1 lua_single_target_lua5-4 > >=sys-cluster/ceph-17.2.0 lua_single_target_lua5-4 > >=app-arch/rpm-4.17.0 lua_single_target_lua5-4 > media-video/wireplumber lua_single_target_lua5-4 Ah... I guess then that xournalpp was forgotten there > > Instead of having ever-growing list of ..._lua5-4 entries, I suggest to have > initially bigger, gradually shrinking list of ..._lua5-1 entries in > package.use. Yeah.. if more packages move to newer versions that would make sense :/ The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4312ac55afc6750aaf12f3462c32bdcf78a902c0 commit 4312ac55afc6750aaf12f3462c32bdcf78a902c0 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2023-04-19 12:54:39 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2023-04-19 12:54:39 +0000 profiles/base: latest xournalpp needs lua >= 5.3 Bug: https://bugs.gentoo.org/904517 Signed-off-by: Pacho Ramos <pacho@gentoo.org> profiles/base/package.use | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) |