Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752858 - sys-apps/likwid: migrate to lua eclasses
Summary: sys-apps/likwid: 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: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 757873
  Show dependency tree
 
Reported: 2020-11-03 15:37 UTC by Marek Szuba
Modified: 2020-12-07 12:22 UTC (History)
0 users

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:37:44 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 Marek Szuba archtester gentoo-dev 2020-12-07 11:30:13 UTC
Reassigning this issue to the non-blocking tracker because with this package requiring lua-5.3, none of its ebuilds actually work with unslotted dev-lang/lua.
Comment 2 Larry the Git Cow gentoo-dev 2020-12-07 12:22:18 UTC
The bug has been closed via the following commit(s):

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

commit c44e033f4d003ae9d8cabadcb1a0ce142910cdbe
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-12-07 12:20:22 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-12-07 12:22:09 +0000

    sys-apps/likwid-4.3.4: migrate to lua-single.eclass
    
    Supports lua5-2 and lua5-3 as per notes in the original ebuild, builds
    fine against either.
    
    Nb. on my system, even before the migration this ebuild only succeeds if
    I force MAKEOPTS='-j1' - otherwise while linking likwid executables the
    linker cannot find the package's own liblikwid.so.
    
    Adding a separate package.mask line for migrated ebuilds because there
    is still one ebuild in the tree which requires the package-wide mask.
    
    Closes: https://bugs.gentoo.org/752858
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 profiles/package.mask               |  1 +
 sys-apps/likwid/likwid-4.3.4.ebuild | 26 ++++++++++++++------------
 2 files changed, 15 insertions(+), 12 deletions(-)