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

Bug 752672

Summary: dev-util/sysdig: migrate to lua eclasses
Product: Gentoo Linux Reporter: Marek Szuba <marecki>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED FIXED    
Severity: normal    
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:36:31 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-21 12:08:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9214bb519d3ef3e77027032a7ebafda6b80d4241

commit 9214bb519d3ef3e77027032a7ebafda6b80d4241
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-12-21 12:02:05 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-12-21 12:08:30 +0000

    dev-util/sysdig: migrate to lua-single.eclass
    
    We only support building sysdig against LuaJIT and while upstream build
    scripts do include a check for PUC Lua 5.1, it is only run if LuaJIT couldn't
    be found and using that implementation is not recommended:
    
    "sysdig and its chisels are designed to be used with LuaJIT in Lua
    5.1 mode.  While it is possible to use sysdig with LuaJIT in Lua
    5.2 mode or regular Lua, some chisels may not work as expected"
    
    All in all, the changes have been rather trivial.
    
    Closes: https://bugs.gentoo.org/752672
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 dev-util/sysdig/sysdig-0.27.1-r100.ebuild | 74 +++++++++++++++++++++++++++++++
 profiles/package.mask                     |  1 +
 2 files changed, 75 insertions(+)