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

Bug 510846

Summary: dev-lua/lgi - add support for multiple dev-lang/lua versions (app-eselect/eselect-lua)
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: [OLD] DevelopmentAssignee: Robin Johnson <robbat2>
Severity: normal CC: dschridde+gentoobugs, mabi
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on: 752609    
Bug Blocks:    

Description Jeroen Roovers (RETIRED) gentoo-dev 2014-05-20 12:09:54 UTC
Depending on which dev-lang/lua is eselected, dev-lua/lgi installs differently:

With 5.2, it installs the relevant files into /usr/share/lua/, notably /usr/share/lua/lgi.lua .

With 5.1 selected, it installs into /usr/share/lua/5.1/, including /usr/share/lua/5.1/lgi.lua .

It should probably install both, and then (a newer version of?) lua.eselect should set a default one symlinked at /usr/share/lua/lgi.lua, maybe?
Comment 1 Julian Ospald 2014-09-25 00:46:22 UTC
The eselect module is terrible crap, please don't support it. I hope it will be removed from the tree.
Comment 2 Dennis Schridde 2015-02-22 15:07:39 UTC
Please see bug #534150 for a draft of how dev-lua/* packages could be build against multiple versions of Lua.
Comment 3 Amel Hodzic 2018-07-22 02:46:52 UTC
bug #657722 should be helpful for this
Comment 4 Conrad Kostecki gentoo-dev 2020-12-04 11:23:35 UTC
This should be fixed in future, when slotted lua will be unmasked.
robbat2 was so kind and added support for slotted lua.