On Thu, Oct 14, 2010 at 11:46 PM, Alexander Gladysh <[email protected]> wrote: > Sorry, can't show the rockspec. > > > Error: LuaRocks 2.0.3 bug (please report at > [email protected]). > /usr/local/share/lua/5.1//luarocks/build/builtin.lua:185: bad argument > #1 to 'pairs' (table expected, got nil) > stack traceback: > [C]: in function 'pairs' > /usr/local/share/lua/5.1//luarocks/build/builtin.lua:185: in function > 'run' > /usr/local/share/lua/5.1//luarocks/build.lua:180: in function > </usr/local/share/lua/5.1//luarocks/build.lua:98> > (tail call): ? > (tail call): ? > [C]: in function 'xpcall' > /usr/local/share/lua/5.1//luarocks/command_line.lua:139: in function > 'run_command' > /usr/local/bin/luarocks:24: in main chunk > [C]: ?
It's crashing because the rock is using the "builtin" build.type and it has no build.modules. You can use the build.type "none" if you don't need to build any modules. The real issue is that type checker does not know about the specific entries each build.type needs. This needs to be fixed. -- Hisham _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
