lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hello LuaRocks Team,

I am attempting to bring the FreeBSD LuaRocks port up to date and I've run into a snag with the 3.0.4 release. The unzip command is not being found by Luarocks on FreeBSD 11.1:

Error: Failed unpacking rock file: /tmp/luarocks_luarocks-rock-luasec-0.7-1-9983171/luasec-0.7-1.src.rock: 'unzip -n' program not found. Make sure unzip is installed and is available in your PATH (or you may want to edit the 'variables.UNZIP' value in file '/usr/local/etc/luarocks/config-5.3.lua')

I tried with and without modifications to the config-5.3.lua file. My output is here:

I uninstalled 3.0.4 and re-installed 3.0.1 and there was no problem installing luasec.

Do you have any suggestions or insight? Let me know if there is something more you need from me, or if you'd like this issue reported through github?

Embarrassingly, this was originally caught by someone else testing the patch, meaning I didn't even bother testing the luarocks installation feature before I put up the patch on the review board. A true face-palm moment on my part. :-/