dev-lua/lua-cjson-2.1.0.10 puts architecture dependent library in the wrong location: $ equery files -f obj lua-cjson|egrep '\.(so|lua)' /usr/share/lua/5.1/cjson.so /usr/share/lua/5.1/cjson/util.lua Trying to use cjson fails on amd64 with the following error: $ lua Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio > require "cjson" stdin:1: module 'cjson' not found: no field package.preload['cjson'] no file './cjson.lua' no file '/usr/share/lua/5.1/cjson.lua' no file '/usr/share/lua/5.1/cjson/init.lua' no file '/usr/lib64/lua/5.1/cjson.lua' no file '/usr/lib64/lua/5.1/cjson/init.lua' no file './cjson.so' no file '/usr/lib64/lua/5.1/cjson.so' no file '/usr/lib64/lua/5.1/loadall.so' stack traceback: [C]: in function 'require' stdin:1: in main chunk [C]: ? Correct location should be: $ equery files -f obj lua-cjson|egrep '\.(so|lua)' /usr/lib64/lua/5.1/cjson.so /usr/share/lua/5.1/cjson/util.lua
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc3742abecf4a9aaffffd206a424796fe2106793 commit bc3742abecf4a9aaffffd206a424796fe2106793 Author: Marcin Deranek <marcin.deranek@booking.com> AuthorDate: 2023-06-30 20:17:55 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2023-07-02 19:36:17 +0000 dev-lua/lua-cjson: correct library path Closes: https://bugs.gentoo.org/909417 Signed-off-by: Marcin Deranek <marcin.deranek@slonko.net> Closes: https://github.com/gentoo/gentoo/pull/31680 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> .../{lua-cjson-2.1.0.10.ebuild => lua-cjson-2.1.0.10-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)