Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493646 - dev-lang/lua-5.1.5 hardcodes /usr/lib/ search paths in source
Summary: dev-lang/lua-5.1.5 hardcodes /usr/lib/ search paths in source
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matti Bickel (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-12-08 11:38 UTC by Aleksey Kunitskiy
Modified: 2014-03-28 05:38 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 Aleksey Kunitskiy 2013-12-08 11:38:09 UTC
dev-lang/lua-5.1 has incomplete library path for libraries on x32 ABI profile. As a result, for example, lgi (dev-lua/lgi) module can't be found in the system (lua searches /usr/lib by default) but lgi actually resides in /usr/libx32

I was able to fix problem temporary by editing lua-5.1-module_paths.patch:

+#define LUA_CDIR2	LUA_ROOT2 "libx32/lua/5.1/"

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2014-03-28 05:34:56 UTC
there's a sed statement that tries to fix it, but fails because the luaconf.h is "lib/..." and not "/lib/...".
Comment 2 SpanKY gentoo-dev 2014-03-28 05:38:40 UTC
should be all set now in the tree; thanks for the report!

Commit message: Fix libdir setting in luaconf.h
http://sources.gentoo.org/dev-lang/lua/lua-5.1.5-r1.ebuild?rev=1.1