Upstream autoconf scripts automagically enable support for job-submission scripts written in Lua if configure can find Lua. The ebuild attempts to address this by soft-blocking dev-lang/lua if USE=-lua is set, which causes two problems: 1. It effectively prevents setting USE=-lua on Slurm if there are any dev-lang/lua revdeps installed, and 2. It doesn't actually work - the block on dev-lang/lua is soft so it is entirely possible for it to still be present while sys-cluster/slurm is being emerged, leading to configure picking it up anyway.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53b559b7358366581882f69cdcfbf5366475c1c6 commit 53b559b7358366581882f69cdcfbf5366475c1c6 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-12-17 13:48:15 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-12-17 13:54:14 +0000 sys-cluster/slurm: migrate to lua-single.eclass Version compatibility as per upstream build scripts. Includes fixes for Bugs: 760465 (the applied patch + 'use_enable lua' in src_configure) and 760468 (dev-libs/glib:2 in COMMON_DEPEND), both should be directly applicable to the unmigrated ebuild as well. Still vulnerable to Bug 631552. Closes: https://bugs.gentoo.org/752867 Bug: https://bugs.gentoo.org/760465 Bug: https://bugs.gentoo.org/760468 Signed-off-by: Marek Szuba <marecki@gentoo.org> profiles/package.mask | 1 + .../slurm/files/slurm-20.11.0.1_autoconf-lua.patch | 50 ++++ sys-cluster/slurm/slurm-20.11.0.1-r100.ebuild | 269 +++++++++++++++++++++ 3 files changed, 320 insertions(+)