Build fails in the configure stage with: subprojects/lyaml-6.2.8/meson.build:42:22: ERROR: Unknown variable "lua". Reproducible: Always Will attach build log and dedicated meson subproject log.
Created attachment 914820 [details] Meson log
Created attachment 914821 [details] Full build log
Created attachment 914822 [details] emerge --info
Presumably, this happens with: LUA_SINGLE_TARGET="lua5-1 -luajit" as: https://github.com/naev/naev/blob/28b5a7abcb5ae7a7b23c70a6ccea704c30e73ec6/subprojects/packagefiles/lyaml/meson.build#L38-L46 bails out always if luajit is disabled.
Yes, I was testing with luajit and forgot to try 5-1 again. Given upstream has fallback code for bundled luajit, odds are the lua51 path is not tested much.
(In reply to Ionen Wolkens from comment #5) > Yes, I was testing with luajit and forgot to try 5-1 again. > > Given upstream has fallback code for bundled luajit, odds are the lua51 path > is not tested much. It'd be an easy fix but tempted to just force luajit by default rather than handle this, this is a hardly tested path and lua5-1 is dead (luajit is still supported).
(In reply to Ionen Wolkens from comment #6) > (In reply to Ionen Wolkens from comment #5) > > Yes, I was testing with luajit and forgot to try 5-1 again. > > > > Given upstream has fallback code for bundled luajit, odds are the lua51 path > > is not tested much. > It'd be an easy fix but tempted to just force luajit by default rather than > handle this, this is a hardly tested path and lua5-1 is dead (luajit is > still supported). That sounds very reasonable to me. Personally, I have luajit installed anyways vor various other deps, the main reason naev tried to use lua5-1 is due to it being the LUA_SINGLE_TARGET base profile default.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5eb679d5cf045fca91bb3552d3647fd0f30f17e commit f5eb679d5cf045fca91bb3552d3647fd0f30f17e Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2024-12-24 15:43:36 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2024-12-24 15:45:50 +0000 games-strategy/naev: force luajit for >=0.12 Also lets us drop the selection workaround. Closes: https://bugs.gentoo.org/946881 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> games-strategy/naev/naev-0.12.0.ebuild | 8 +++----- profiles/base/package.use.force | 5 +++++ 2 files changed, 8 insertions(+), 5 deletions(-)
*** Bug 946979 has been marked as a duplicate of this bug. ***