In order for Gentoo Linux to properly support side-by-side installation of different versions of Lua (including LuaJIT), please migrate this package as to lua.eclass (for packages which should support multiple Lua implementations at the same time, i.e. most likely Lua modules) or lua-single.eclass (for packages which only have to support one Lua implementation at a time). For details, consult documentation of respective eclasses as well as already-migrated ebuilds in the tree. Please note that since slotted dev-lang/lua is currently masked, your migrated ebuilds should be masked as well. There is a section of package.mask, created in September 2020, which you can use for this purpose so that it will be easier in the future to unmask them all in one go. Thank you in advance for your effort!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=778bcc52e751edb3d000ff58fe08c73eaa2a854e commit 778bcc52e751edb3d000ff58fe08c73eaa2a854e Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-12-20 13:05:42 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-12-20 13:28:47 +0000 sci-libs/libsc: migrate to lua-single.eclass Both the latest release and the live ebuild. Compatibility as per upstream build scripts. Uses a weird home-grown way of detecting Lua which makes implicit assumptions about paths used by Lua headers, I think I've managed to figure it out though. Status: - 2.2-r100 builds and installs fine but has one test (dmatrix) failing with a non-zero exit code, which test however has got nothing to do with Lua; - 9999 fails to build on an unrelated matter (upstream version-processing macros do not like "9999" appearing as version number). Closes: https://bugs.gentoo.org/752840 Signed-off-by: Marek Szuba <marecki@gentoo.org> profiles/package.mask | 1 + .../files/libsc-2.2-autoconf_lua_version.patch | 51 +++++++++++ .../libsc-9999_20201220-autoconf_lua_version.patch | 57 ++++++++++++ sci-libs/libsc/libsc-2.2-r100.ebuild | 101 +++++++++++++++++++++ sci-libs/libsc/libsc-9999.ebuild | 24 +++-- 5 files changed, 226 insertions(+), 8 deletions(-)