Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 752867

Summary: sys-cluster/slurm: migrate to lua eclasses
Product: Gentoo Linux Reporter: Marek Szuba <marecki>
Component: Current packagesAssignee: Alexey Shvetsov <alexxy>
Status: RESOLVED FIXED    
Severity: normal CC: cluster, zlogene
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 657722    

Description Marek Szuba archtester gentoo-dev 2020-11-03 15:37:48 UTC
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!
Comment 1 Larry the Git Cow gentoo-dev 2020-12-17 13:54:22 UTC
The bug has been closed via 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(+)