# Problems with LuaTeX 1.08 even on a very simple document

I just installed luatex 1.08 released yesterday (the installation is a manual process and replaces the original luatex v1.07 that ships with Texlive 2018) on my on GNU/Linux x86_64 machine and re-generated all formats using fmtutil-sys.

However, this new binary is not able to compile even a simple document such as:

\documentclass{article}

\begin{document}

hello world!

\end{document}


The contents of the log file is shown below:

This is LuaTeX, Version 1.08.0 (TeX Live 2019/dev)  (format=lualatex 2018.9.1)  1 SEP 2018 13:29
restricted system commands enabled.
**main.tex
(./main.tex
LaTeX2e <2018-04-01> patch level 5
Lua module: luaotfload-main 2017/01/29 2.80001 OpenType layout system.
Lua module: lualibs 2017-02-01 2.5 ConTeXt Lua standard libraries.
Lua module: lualibs-extended 2017-02-01 2.5 ConTeXt Lua libraries -- extended co
llection.(using write cache: /home/kg314/.texlive2018/texmf-var/luatex-cache/gen
home/kg314/.texlive2018/texmf-var/luatex-cache/generic)
luaotfload | conf : Root cache directory is /home/kg314/.texlive2018/texmf-var/l
uatex-cache/generic/names.
lua:217: table index is nil
stack traceback:
[C]: in function 'require'
it_main'
'
[\directlua]:1: in main chunk.
<everyjob> ...ring \\def\string \\encodingdefault{OT1}')end }
\let \f@encoding \encoding...
l.1
%! TEX program = lualatex
? x

Here is how much of LuaTeX's memory you used:
7 strings out of 494329
100000,89155 words of node,token memory allocated 241 words of node memory still in use:
1 dir, 34 glue_spec nodes
avail lists: 2:12,3:1,4:1
4328 multiletter control sequences out of 65536+600000
14 fonts using 591799 bytes
5i,0n,1p,37b,15s stack positions out of 5000i,500n,10000p,200000b,100000s

warning  (pdf backend): no pages of output.

PDF statistics: 0 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 131072)
1 words of extra memory for PDF output out of 10000 (max. 100000000)


What is going wrong here?

The fontloader provided by the luaotfload package (loaded by default in LuaLaTeX) is not compatible with current LuaTeX versions. A newer fontloader fixing this problem can be found at this GitHub repo in the dev-2.9 branch.

Just download this project and add the texmf directory to your TEXMFHOME, then LuaLaTeX works again.

A step by step guide for Linux:

1. Open a terminal window and go to a directory where you want to save luaotfload. I will assume you choose your home directory /home/kg314, otherwise you have to change the path in Step 4.
2. Run git clone -b dev-2.9 --depth=1 https://github.com/u-fischer/luaotfload
3. Open your texmf.cnf file with your favorite editor, you can find it most likely in /usr/local/texlive/2018/texmf.cnf. You might need root rights (sudo) do edit this file.
4. Add a line TEXMFHOME = /home/kg314/luaotfload/texmf/:
5. Save the file and close everything.
• Yes. This works! Is this issue documented anywhere? Sep 1, 2018 at 12:56
• As a side note, I tested this on a 250 page thesis document, everything seems to work fine with about 30% speedup! This is great! Sep 1, 2018 at 13:11
• You don"t have to modify the system-wide texmf.cnf, see Is there a way to create Tex Live or LaTeX virtual environment?. Sep 2, 2018 at 8:02
• The answer is no longer valid: the files have been removed from the lua-font-pond. The new files are now in the development branch in github.com/u-fischer/luaotfload/tree/dev-2.9. Sep 20, 2018 at 21:03
• @UlrikeFischer I changed the answer to point to the new repo. Sep 20, 2018 at 21:14