luarocks
luarocks copied to clipboard
Running luarocks build without zip installed results in a generic error
The command
luarocks build --pack-binary-rock /usr/local/lib/luarocks/rocks-5.3/inspect/3.1.3-0/inspect-3.1.3-0.rockspec
shows me
...
Error: Failed packing /tmp/inspect-3.1.3-0.all.rock
When I try to make a src.rock
using luarocks pack
I see more informative error:
Error: Failed packing /tmp/inspect-3.1.3-0.src.rock - 'zip' program not found. Make sure zip is installed and is available in your PATH (or you may want to edit the 'variables.ZIP' value in file '/usr/local/etc/luarocks/config-5.3.lua')
Think, build command error output will be improved.
See also #920
@kulti What version of LuaRocks are you running?
It was on 3.8.0.