On Sat, Oct 9, 2010 at 1:19 AM, Alexander Gladysh <[email protected]> wrote:
> $ sudo luarocks pack <something>
>
> Error: LuaRocks 2.0.3 bug (please report at
> [email protected]).
> /usr/local/share/lua/5.1//luarocks/fs/unix.lua:104: attempt to index
> local 'first' (a nil value)
> stack traceback:
>        /usr/local/share/lua/5.1//luarocks/fs/unix.lua:104: in function
> 'is_actual_binary'
>        /usr/local/share/lua/5.1//luarocks/rep.lua:134: in function 
> 'has_binaries'
>        /usr/local/share/lua/5.1//luarocks/pack.lua:140: in function
> </usr/local/share/lua/5.1//luarocks/pack.lua:83>
>        (tail call): ?
>        (tail call): ?
>        [C]: in function 'xpcall'
>        /usr/local/share/lua/5.1//luarocks/command_line.lua:143: in function
> 'run_command'
>        /usr/local/bin/luarocks:24: in main chunk
>        [C]: ?
>
> Sorry, can't show you more details. :-)

I couldn't reproduce this here, but I committed a sanity check that
avoids the crash and gives some diagnostics.

-- Hisham

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to