This package can not launch on KDE Plasam Wayland (but works perfectly on X11)
It gives the following error:
> gifine
/usr/bin/lua5.1: cannot open /home/hwang/.cache/yay/lua-gifine-git/pkg/lua51-gifine-git/usr/lib/luarocks/rocks-5.1/gifine/dev-1/bin/gifine: No such file or directory
It seems got some error to pack temporary files as lua final target.
Here is how the /usr/bin/gifine
file looks like on wayland:
LUAROCKS_SYSCONFDIR='/etc/luarocks' exec '/usr/bin/lua5.1' -e 'package.path="/usr/share/lua/5.1/?.lua;/home/hwang/.cache/yay/lua-gifine-git/pkg/lua51-gifine-git/usr/share/lua/5.1/?/init.lua;/home/hwang/.luarocks/share/lua/5.1/?.lua;/home/hwang/.luarocks/share/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua;"..package.path;package.cpath="/home/hwang/.cache/yay/lua-gifine-git/pkg/lua51-gifine-git/usr/lib/lua/5.1/?.so;/home/hwang/.luarocks/lib/lua/5.1/?.so;/usr/lib/lua/5.1/?.so;"..package.cpath;local k,l,_=pcall(require,"luarocks.loader") _=k and l.add_context("gifine","dev-1")' '/home/hwang/.cache/yay/lua-gifine-git/pkg/lua51-gifine-git/usr/lib/luarocks/rocks-5.1/gifine/dev-1/bin/gifine' "$@"
And this is how it looks in on x11 which is workable:
LUAROCKS_SYSCONFDIR='/etc/luarocks' exec '/usr/bin/lua5.1' -e 'package.path=";"..package.path;package.cpath=";"..package.cpath;local k,l,_=pcall(require,"luarocks.loader") _=k and l.add_context("gifine","dev-1")' '/usr/lib/luarocks/rocks-5.1/gifine/dev-1/bin/gifine' "$@"
After replacing to the above code, it works now
Pinned Comments
ragouel commented on 2020-04-13 21:16 (UTC)
lua51-lgi is outdated, use lua51-lgi-git instead.