luastdlib-4p1 has a problem with mutual 'require' calls, namely that
base.lua requires list.lua, and list.lua requires base.lua; since Lua
only processes a requirement once the result is not infinite recursion
at least, but neither file will load correctly.  Thus, packages that
rely on luastdlib such as yt do not work correctly:

$ yt 'http://www.youtube.com/watch?v=i7pkyDUX5uM'
/usr/local/bin/lua: /usr/local/share/lua/5.1/base.lua:442: attempt to index 
global 'list' (a nil value)
stack traceback:
        /usr/local/share/lua/5.1/base.lua:442: in main chunk
        [C]: in function 'require'
        /usr/local/share/lua/5.1/getopt.lua:6: in main chunk
        [C]: in function 'require'
        /usr/local/bin/yt:7: in main chunk
        [C]: ?

There is a newer version of luastdlib available which on its face
fixes these problems, though the plentiful "FIXME" comments are not
exactly encouraging.

Reply via email to