I have LUA 5.2.4 (and now also lua-5.3.5) finally unmasked and successfully installed (and emerge @preserved-rebuild)
eselect lua list shows correct 5.2.4 as active (tried now also 5.3.5)
generated a local darktable .ebuild with Lua on (attached zip)
luarc in place (attached zip)
Finally I can neither make dt 2.6.2 (with lua-5.3.5 it does not compile even) nor git-master handle lua after all.
“darktable -d lua” brings no errors but finally there is no scrip visible…
I did so for git-master and it still the same behaviour, no error messages but also no evidence for LUA being active (e.g. hugin, which I am heading at)
I do have a dt.print in my $HOME/.config/darktable/luarc and it does nothing (by that time lua 5.2 and 5.3, see below)…
There is another phenomenon: After I switched from gentoo’s standard lua 5.1 to 5.2 (and later 5.3), I got lot of machine freeze with MCE-errors, looking like hardware error. Beforehand my machine was working like a charm.
So currently I am back on lua-5.1 and rebuild dependencies (I know, from here lua is off ) and observing whether or not my machine works stable again…
I tried it successfully some time ago by masking :0 Lua and installing slotted 5.3 instead. However that makes me to create new ebuilds in my local overlay for every new release of dt. At some point I decided that I don’t need lua that much… Lua situation in Gentoo is really a disaster…
Funtoo allows user-defined patches for ebuilds via foobashrc package while Gentoo doesn’t. You might try to install this package from funtoo overlay and use it…
Yeah, it’s a step backwards, devs have a lot things to spend their time on instead. Lua on Gentoo generally has a complicated destiny for some unknown reason…