[luatex] [tex-live] (future) bug in mkluatexfontdb

Philipp Stephani st_philipp at yahoo.de
Fri Jan 14 22:21:36 CET 2011

Am 14.01.2011 um 21:32 schrieb Paul Vojta:

> This is not a problem with the version of luatex shipped with texlive.
> However, anyone who compiles luatex from the sources on luatex.org will
> get the error message
> .../tex/luatex/lualibs/lualibs-dir.lua:37: bad argument #1 to '(for generator)' (directory metatable expected, got nil)
> The problem is that, apparently, the "for" command, or perhaps the iterator
> provided by lfs.dir, is more finicky now about having the second argument.
> For details about iterators, see Chapter 7 of the lua documentation.
> Here is a patch that will fix the problem.  The patched file still works
> with older versions of luatex, so I see no harm in applying it now instead
> of waiting for a new version of luatex to be used in texlive.
> (I hope this is the correct place to report this -- I don't know of any
> "home site" similar to luatex.org that supports lualib-dir.lua.)

It is being developed on GitHub, where the bug has already been reported:

More information about the luatex mailing list