Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752615 - dev-lua/lua-bit32: migrate to lua eclasses
Summary: dev-lua/lua-bit32: migrate to lua eclasses
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Azamat H. Hackimov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slotted-lua 752930 752966
  Show dependency tree
 
Reported: 2020-11-03 15:36 UTC by Marek Szuba
Modified: 2020-11-16 17:31 UTC (History)
2 users (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 archtester gentoo-dev 2020-11-03 15:36:07 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-11-14 14:03:34 UTC
The bug has been closed via the following commit(s):

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

commit 8e322bbaa36304af377d3086b11bd45287d99f6e
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-11-14 14:02:43 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-11-14 14:03:27 +0000

    dev-lua/lua-bit32: migrate to lua eclass
    
    Also added myself as co-maintainer,
    since this is a direct dep for net-im/prosody.
    
    Closes: https://bugs.gentoo.org/752615
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-lua/lua-bit32/lua-bit32-5.3.5-r100.ebuild | 55 +++++++++++++++++++++++++++
 dev-lua/lua-bit32/metadata.xml                | 26 +++++++------
 profiles/package.mask                         |  1 +
 3 files changed, 71 insertions(+), 11 deletions(-)
Comment 2 Marek Szuba archtester gentoo-dev 2020-11-16 13:56:57 UTC
Doesn't build for me, src_compile aborts on being unable to find lua.h.
Comment 3 Conrad Kostecki gentoo-dev 2020-11-16 16:32:48 UTC
That's really strange. It did build in my chroot with lotted-lua.
Could you give me the full build.log? I will have a look into it.
Comment 4 Larry the Git Cow gentoo-dev 2020-11-16 17:31:43 UTC
The bug has been closed via the following commit(s):

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

commit 4b5eadf238bca4d1aa983578457d7d15317f1a7b
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-11-16 17:27:59 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-11-16 17:29:32 +0000

    dev-lua/lua-bit32: use correct lua version
    
    The previous revision used wrongly the system enabled lua instead of the
    LUA_TARGETS. The change now uses always the correct LUA.
    
    Also updated LUA_CPATH to use for each LUA version the correct *.so
    file.
    
    Closes: https://bugs.gentoo.org/752615
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-lua/lua-bit32/lua-bit32-5.3.5-r101.ebuild | 75 +++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)