Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752579 - dev-lang/moarvm: migrate to lua eclasses
Summary: dev-lang/moarvm: migrate to lua eclasses
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-03 15:35 UTC by Marek Szuba (RETIRED)
Modified: 2020-12-08 11:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba (RETIRED) archtester gentoo-dev 2020-11-03 15:35:52 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-08 11:44:48 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=073da3ef0994acd8d6e76e7aa5dfacd09d0d6dc8

commit 073da3ef0994acd8d6e76e7aa5dfacd09d0d6dc8
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-12-08 11:42:38 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-12-08 11:44:40 +0000

    dev-lang/moarvm-9999: remove unused dev-lang/lua dependency
    
    See the preceding commit for a detailed explanation.
    
    Bug: https://bugs.gentoo.org/752579
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 dev-lang/moarvm/moarvm-9999.ebuild | 1 -
 1 file changed, 1 deletion(-)

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

commit e30dd3dfa0288649b8b5f5784c95ede6e35ce7e6
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-12-08 11:30:23 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-12-08 11:44:37 +0000

    dev-lang/moarvm-2020.11: remove unused dev-lang/lua dependency
    
    At least the more recent versions of MoarVM do *not* depend on Lua -
    neither the binary nor the shared library link against liblua.so,
    moarvm-2020.11 builds and installs fine on a system with no
    dev-lang/lua present, and having examined the source code Lua scripts
    only appear in two places:
     - in the test suite of 3rdparty/dyncall - irrelevant to use because our
       MoarVM ebuilds are test-restricted for unrelated reasons, and in any
       case that would be a *build-time* rather than a *run-time* dependency;
     - in 3rdparty/dynasm - which however are only used at build time to
       generate C code for the JIT compiler, and even then the build scripts
       use the bundled minilua (a stripped-down Lua5.1 implementation used
       to bootstrap LuaJIT, of which DynASM is a part) rather than any
       system Lua interpreter.
    
    Bug: https://bugs.gentoo.org/752579
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 dev-lang/moarvm/moarvm-2020.11.ebuild | 1 -
 1 file changed, 1 deletion(-)
Comment 2 Marek Szuba (RETIRED) archtester gentoo-dev 2020-12-08 11:46:18 UTC
No Lua dependency in recent versions => no migration to lua eclasses necessary.