Compilation fails with the following error: > Run-time dependency lua found: NO (tried pkgconfig and cmake) > Run-time dependency lua51 found: NO (tried pkgconfig and cmake) > Run-time dependency lua-5.1 found: NO (tried pkgconfig and cmake) > Run-time dependency lua5.1 found: NO (tried pkgconfig and cmake) > Run-time dependency lua52 found: NO (tried pkgconfig and cmake) > Run-time dependency lua-5.2 found: NO (tried pkgconfig and cmake) > Run-time dependency lua5.2 found: NO (tried pkgconfig and cmake) > > meson.build:287:4: ERROR: Problem encountered: Lua not found Which is an expected behaviour, because dev-libs/efl-1.25.1 supports dev-lang/lua up to v5.2 only, but the ebuild erroneously allows the user to enable USE flag 'lua_single_target_lua5-3' (which will never satisfies EFL's meson macros). ---- emerge -qpvO dev-libs/efl [ebuild R ] dev-libs/efl-1.25.1-r11 USE="X eet fontconfig glib harfbuzz ibus physics pulseaudio scim sound ssl svg system-lz4 systemd unwind xim -avif -bmp -connman -dds -debug -doc -drm (-efl-one) -elogind -examples -fbcon -fribidi -gif -gles2-only -gnutls -gstreamer -hyphen -ico -jpeg2k -json (-mono) -nls -opengl -pdf -pmaps -postscript -psd -raw -sdl -tga -tgv -tiff -tslib -v4l -vnc -wayland -webp -xcf -xpm -xpresent -zeroconf" LUA_SINGLE_TARGET="lua5-3* -lua5-1 -lua5-2* -luajit"
Thanks for the report. To correctly process the issue, we need additional data. Please attach the following information: * complete build log * emerge --info output Feel free to re-open the bug, when you provide these files.
Created attachment 707235 [details] build.log + emerge --info.txt I'm running into this as well so I'll provide my own logs.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa661d4f06a4172f5dd664ee994c53510660feef commit aa661d4f06a4172f5dd664ee994c53510660feef Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2021-05-12 05:54:49 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2021-05-12 05:54:49 +0000 dev-libs/efl: drop lua-5.3 support Closes: https://bugs.gentoo.org/789471 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-libs/efl/efl-1.25.1-r11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks! Two things bother me here: I'm sure I tested all available lua implementations before adding them, but I acknowledge the lua thing was a mess and lots has changed even in the efl ebuild after the initial support was added. Secondly, how have I never ran into this with my own tests even as accidentally...
(In reply to Joonas Niilola from comment #4) > Thanks! Two things bother me here: I'm sure I tested all available lua > implementations before adding them, but I acknowledge the lua thing was a > mess and lots has changed even in the efl ebuild after the initial support > was added. > > Secondly, how have I never ran into this with my own tests even as > accidentally... I'll re-open because I think there's more to this, I suspect you had multiple lua slots installed. Didn't look in depth but what bothers me is the first check: Run-time dependency lua found: NO (tried pkgconfig and cmake) There should be a lua.pc provided by the eclass based on chosen target. But here, after I `emerge lua:5.1`, and LUA_SINGLE_TARGET=lua5-3: Run-time dependency lua found: NO (tried pkgconfig and cmake) Run-time dependency lua51 found: NO (tried pkgconfig and cmake) Run-time dependency lua-5.1 found: NO (tried pkgconfig and cmake) Run-time dependency lua5.1 found: YES 5.1.5
(In reply to Ionen Wolkens from comment #5) > But here, after I `emerge lua:5.1`, and LUA_SINGLE_TARGET=lua5-3: Same applies if 5-2, essentially it's not respecting the chosen slot and using what it finds first.
That'd indeed explain my worries.
1.26.1 still doesn't support lua-5.3, https://git.enlightenment.org/core/efl.git/tree/meson.build?h=v1.26.1#n264 and lua-5.2 is removed from ::gentoo for whatever reason. Was looking to sed the 'lua_pc_name = l[0]' part based on USE flag choice, but it doesn't look like there's much for me to do here anymore. Need to keep an eye out for this automagic behaviour though.