Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706156 - dev-lang/luajit-2.1.9999 - fix interpreter path
Summary: dev-lang/luajit-2.1.9999 - fix interpreter path
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-01-23 12:36 UTC by Dmitriy Dyomin
Modified: 2020-12-07 18:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
multilib.patch (multilib.diff,482 bytes, patch)
2020-01-23 12:36 UTC, Dmitriy Dyomin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy Dyomin 2020-01-23 12:36:37 UTC
Created attachment 604056 [details, diff]
multilib.patch

right now, building dev-lang/luajit/luajit-2.1.9999.ebuild makes an interpreter search for its modules in the following paths:

;/usr/share/luajit-2.1.9999/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua

which is wrong for the 64-bit architecture (paths should contain lib64).

The proposed patch uses get_libdir() from multilib.eclass to correctly specify the search path for lua interpreter.