Summary: | dev-lang/lua:[5.1/5.2] should run eselect lua in pkg_postinst to set valid symlinks | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | eroen <erikdenstore+gbugs> |
Component: | [OLD] Development | Assignee: | William Hubbs <williamh> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | franz.trischberger |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
eroen
2015-01-14 14:48:42 UTC
There is a big issue with the eselect of lua: It does not work ;) I currently have the following problem with awesome: * I have set lua to 5.2 via eselect * awesome fails in cmake as /usr/include/lua/lua.h is version 5.2 * I then specified -DLUA_INCLUDE_DIR (and -DLUA_LIBRARIES) in cmake args which went fine until linkage... * linkage broke because actually there still was a <lua/lua.h> header around in /usr/include (which is in the default header search path) which points to lua5.2! Many undefined references occur to lua_tonumberx, lua_rawlen, ... which are new in lua5.2, declared in lu5.2/lua.h (now /usr/include/lua.h!!!) but can't be found in liblua5.1.so. IMHO the only sane approach is to create a new lua.eclass which halps handling different lua versions, just like python eclasses do. I would help, though I never created an eclass myself... This is fixed. All slotted lua ebuilds run `eselect set --if-unset ${PN}${SLOT}` in pkg_postinst. |