builds fine with lua useflag, fails without. Very helpful snippet from log: Run-time dependency no found: NO (tried pkgconfig and cmake) plugins/lua/meson.build:4:2: ERROR: Dependency "no" not found, tried pkgconfig and cmake Reproducible: Always
Full log and emerge —-info please
I believe line 88 is being expanded to -Dwith-lua="$(usex lua false)" currently if lua useflag is not set. So with defaults that's usex lua false no yes no.
(In reply to Sam James from comment #1) > Full log and emerge —-info please I don't think that's necessary given comment #2 I posted right after you asked that :P
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f94d3acdc091db41c1c741f854e0c66bd2642b5 commit 2f94d3acdc091db41c1c741f854e0c66bd2642b5 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-12-24 23:28:07 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-12-24 23:29:52 +0000 net-irc/hexchat-2.14.3-r100: fix USE=-lua configure error Quotation marks are important, kids. Closes: https://bugs.gentoo.org/761520 Signed-off-by: Marek Szuba <marecki@gentoo.org> net-irc/hexchat/hexchat-2.14.3-r100.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This is not fixed (finally got around to testing it again)
(In reply to Michael Cook from comment #5) > This is not fixed (finally got around to testing it again) Please share the new log and all. Is this bug 761811?
(In reply to Sam James from comment #6) > (In reply to Michael Cook from comment #5) > > This is not fixed (finally got around to testing it again) > > Please share the new log and all. Is this bug 761811? Well, this one was reported first and incorrectly marked as fixed. So that bug is this one? ${ELUA} is an empty string when the lua useflag isn't set, resulting in what I explained in comment #2
Just some examples of line 88 just expanding ${ELUA} With luajit: -Dwith-lua="$(usex lua luajit false)" resulting in with-lua being defined as luajit when lua useflag is set and false otherwise. With lua5-1: -Dwith-lua="$(usex lua lua5-1 false)" resulting in with-lua being defined as lua5-1 when lua useflag is set and false otherwise. With none: -Dwith-lua="$(usex lua false)" resulting in with-lua being defined as false when lua useflag is set (this is a theoretical exercise since if lua useflag is set, ELUA will never be an empty string) and no otherwise (the no is from default options of usex)
Crap, looks like I forgot to clean up the local ebuild I made while I was double checking things. My bad, this should be fixed actually.