Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752588 - dev-libs/libprelude: migrate to lua eclasses
Summary: dev-libs/libprelude: 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: Thomas ANDREJAK
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slotted-lua
  Show dependency tree
 
Reported: 2020-11-03 15:35 UTC by Marek Szuba
Modified: 2020-12-07 15:57 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:35:56 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-07 13:36:10 UTC
The bug has been closed via the following commit(s):

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

commit b6197bd4cdc42e5f5b09ac963fcb7e06202a0ca6
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-12-07 13:34:38 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-12-07 13:35:36 +0000

    dev-libs/libprelude: migrate to lua eclass
    
    Closes: https://bugs.gentoo.org/752588
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/libprelude/libprelude-5.2.0-r10.ebuild | 102 ++++++++++++++++++++++++
 profiles/package.mask                           |   2 +
 2 files changed, 104 insertions(+)
Comment 2 Conrad Kostecki gentoo-dev 2020-12-07 15:16:47 UTC
Sorry, I have to reopen.

There is a problem with the installed lua module:
/usr/lib64/lua/5.2/prelude.so (depending on your choosen target)

It must not be linked against liblua, but it is the case.

# objdump -p /usr/lib64/lua/5.2/prelude.so|grep -i NEEDED
  NEEDED               liblua5.2.so.0
  NEEDED               libpreludecpp.so.12
  NEEDED               libprelude.so.28
  NEEDED               libstdc++.so.6
  NEEDED               libc.so.6
  NEEDED               libgcc_s.so.1
Comment 3 Marek Szuba archtester gentoo-dev 2020-12-07 15:57:37 UTC
Having just checked, this happens with unmigrated ebuilds as well - so let's move this to a separate issue and consider the migration (which does correctly match the selected LUA_SINGLE_TARGET with the Lua implementation to use) taken care of.