Created attachment 824563 [details] output from emerge --info =dev-lua/luajson-1.3.4-r100 luajson package currently builds against lua5-{1..3} & luajit As for many lua depending packages, it can also build with lua version 5.4 in order to avoid keeping multiple lua version installed.
Ebuild just need to be patched this way to make it build with lua version 5.4: -LUA_COMPAT=( lua5-{1..3} luajit ) +LUA_COMPAT=( lua5-{1..4} luajit )
Did you also tested lpeg with lua5.4?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e34bda53d05e86d98ce4dfa0490e0458e79d91f2 commit e34bda53d05e86d98ce4dfa0490e0458e79d91f2 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2022-10-23 20:31:43 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2022-10-23 20:33:15 +0000 dev-lua/luajson: add 1.3.4, drop 1.3.4-r100 Added lua5.4 support, dropped -r100 suffix, as I don't expect any new release in next time. Also taking ownership. Closes: https://bugs.gentoo.org/877413 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> .../{luajson-1.3.4-r100.ebuild => luajson-1.3.4.ebuild} | 6 +++--- dev-lua/luajson/metadata.xml | 11 +++++++---- 2 files changed, 10 insertions(+), 7 deletions(-)